VirtualBox

Changeset 22069 in vbox for trunk/src/VBox/Runtime/r0drv


Ignore:
Timestamp:
Aug 7, 2009 1:18:04 PM (15 years ago)
Author:
vboxsync
Message:

memobj-r0drv-darwin.cpp: Fixed assertion which would cause panic in IOGeneralMemoryDescriptor::getPhysicalSegment on systems with memory above 4GB.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/darwin/memobj-r0drv-darwin.cpp

    r22052 r22069  
    619619        if (pMemDesc)
    620620        {
    621             Assert(Phys == pMemDesc->getPhysicalAddress());
     621#ifdef __LP64__ /* Grumble! */
     622            Assert(Phys == pMemDesc->getPhysicalSegment(0, 0));
     623#else
     624            Assert(Phys == pMemDesc->getPhysicalSegment64(0, 0));
     625#endif
    622626
    623627            /*
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