VirtualBox

Changeset 17658 in vbox


Ignore:
Timestamp:
Mar 11, 2009 8:07:58 AM (16 years ago)
Author:
vboxsync
Message:

PGMGetHyperCR3: mac fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAll.cpp

    r17593 r17658  
    13701370VMMDECL(RTHCPHYS) PGMGetHyperCR3(PVM pVM)
    13711371{
    1372     Assert(pVM->pgm.s.CTX_SUFF(pShwPageCR3));
    1373     return pVM->pgm.s.CTX_SUFF(pShwPageCR3)->Core.Key;
     1372    PPGMPOOLPAGE pPoolPage = pVM->pgm.s.CTX_SUFF(pShwPageCR3);
     1373    AssertPtrReturn(pPoolPage, 0);
     1374    return pPoolPage->Core.Key;
    13741375}
    13751376
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