VirtualBox

Changeset 12743 in vbox for trunk/src/VBox/Devices/VMMDev


Ignore:
Timestamp:
Sep 25, 2008 2:52:50 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
37066
Message:

Enabled 2nd pci memory region in the VMM device again. (type prefetchable this time to work around an old additions bug)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/VMMDev/VBoxDev.cpp

    r12742 r12743  
    16061606    int rc;
    16071607
    1608 #ifdef VBOX_WITH_VMMDEV_HEAP
    16091608    AssertReturn(iRegion <= 2 && enmType == PCI_ADDRESS_SPACE_MEM || enmType == PCI_ADDRESS_SPACE_MEM_PREFETCH, VERR_INTERNAL_ERROR);
    1610 #else
    1611     AssertReturn(iRegion <= 1 && enmType == PCI_ADDRESS_SPACE_MEM, VERR_INTERNAL_ERROR);
    1612 #endif
    16131609    Assert(pThis->pVMMDevRAMR3 != NULL);
    16141610    Assert(pThis->pVMMDevHeapR3 != NULL);
     
    16341630        }
    16351631    }
    1636 #ifdef VBOX_WITH_VMMDEV_HEAP
    16371632    else
    16381633    if (iRegion == 2)
     
    16591654        }
    16601655    }
    1661 #endif
    16621656
    16631657    return rc;
     
    22982292    if (RT_FAILURE(rc))
    22992293        return rc;
    2300 #ifdef VBOX_WITH_VMMDEV_HEAP
    23012294    rc = PDMDevHlpPCIIORegionRegister(pDevIns, 2, VMMDEV_HEAP_SIZE, PCI_ADDRESS_SPACE_MEM_PREFETCH, vmmdevIORAMRegionMap);
    23022295    if (RT_FAILURE(rc))
    23032296        return rc;
    2304 #endif
    23052297
    23062298    /*
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