VirtualBox

Changeset 525 in vbox for trunk/src


Ignore:
Timestamp:
Feb 2, 2007 12:42:38 AM (18 years ago)
Author:
vboxsync
Message:

VM_GUEST_ADDR isn't the right macro for converting the pPciBusHC into a GC pointer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PDM.cpp

    r463 r525  
    295295            pDevIns->pvInstanceDataGC = MMHyperHC2GC(pVM, pDevIns->pvInstanceDataHC);
    296296            pDevIns->Internal.s.pVMGC = pVM->pVMGC;
    297             if (pDevIns->Internal.s.pPciBusGC)
    298                 pDevIns->Internal.s.pPciBusGC = VM_GUEST_ADDR(pVM, pDevIns->Internal.s.pPciBusHC);
    299             if (pDevIns->Internal.s.pPciDeviceGC)
     297            if (pDevIns->Internal.s.pPciBusHC)
     298                pDevIns->Internal.s.pPciBusGC = MMHyperHC2GC(pVM, pDevIns->Internal.s.pPciBusHC);
     299            if (pDevIns->Internal.s.pPciDeviceHC)
    300300                pDevIns->Internal.s.pPciDeviceGC = MMHyperHC2GC(pVM, pDevIns->Internal.s.pPciDeviceHC);
    301301            if (pDevIns->pDevReg->pfnRelocate)
Note: See TracChangeset for help on using the changeset viewer.

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