VirtualBox

Changeset 12742 in vbox


Ignore:
Timestamp:
Sep 25, 2008 2:41:49 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
37065
Message:

Change the 2nd pci range of the vmm device to prefetchable. That should make the broken windows additions skip the region.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxDev.h

    r12687 r12742  
    7979
    8080/** Size of VMMDev heap region accessible by guest.
     81 *  (must be a power of two (pci range))
    8182 */
    82 #define VMMDEV_HEAP_SIZE (PAGE_SIZE)
     83#define VMMDEV_HEAP_SIZE (4*PAGE_SIZE)
    8384
    8485__END_DECLS
  • trunk/src/VBox/Devices/VMMDev/VBoxDev.cpp

    r12700 r12742  
    16071607
    16081608#ifdef VBOX_WITH_VMMDEV_HEAP
    1609     AssertReturn(iRegion <= 2 && enmType == PCI_ADDRESS_SPACE_MEM, VERR_INTERNAL_ERROR);
     1609    AssertReturn(iRegion <= 2 && enmType == PCI_ADDRESS_SPACE_MEM || enmType == PCI_ADDRESS_SPACE_MEM_PREFETCH, VERR_INTERNAL_ERROR);
    16101610#else
    16111611    AssertReturn(iRegion <= 1 && enmType == PCI_ADDRESS_SPACE_MEM, VERR_INTERNAL_ERROR);
     
    22992299        return rc;
    23002300#ifdef VBOX_WITH_VMMDEV_HEAP
    2301     rc = PDMDevHlpPCIIORegionRegister(pDevIns, 2, VMMDEV_HEAP_SIZE, PCI_ADDRESS_SPACE_MEM, vmmdevIORAMRegionMap);
     2301    rc = PDMDevHlpPCIIORegionRegister(pDevIns, 2, VMMDEV_HEAP_SIZE, PCI_ADDRESS_SPACE_MEM_PREFETCH, vmmdevIORAMRegionMap);
    23022302    if (RT_FAILURE(rc))
    23032303        return rc;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette