VirtualBox

Changeset 17142 in vbox for trunk


Ignore:
Timestamp:
Feb 25, 2009 5:10:23 PM (16 years ago)
Author:
vboxsync
Message:

VBOX_WITH_PGMPOOL_PAGING_ONLY: fixed saved state restore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r17137 r17142  
    47884788# if  (   (   PGM_SHW_TYPE == PGM_TYPE_32BIT  \
    47894789           || PGM_SHW_TYPE == PGM_TYPE_PAE    \
    4790            || PGM_SHW_TYPE == PGM_TYPE_AMD64) \
    4791        && (   PGM_GST_TYPE != PGM_TYPE_REAL   \
    4792            && PGM_GST_TYPE != PGM_TYPE_PROT))
     4790           || PGM_SHW_TYPE == PGM_TYPE_AMD64))
    47934791
    47944792    Assert(!HWACCMIsNestedPagingActive(pVM));
    47954793
    47964794# ifndef PGM_WITHOUT_MAPPINGS
    4797     /* Remove the hypervisor mappings from the shadow page table. */
    4798     pgmMapDeactivateCR3(pVM, pVM->pgm.s.CTX_SUFF(pShwPageCR3));
     4795    if (pVM->pgm.s.CTX_SUFF(pShwPageCR3))
     4796        /* Remove the hypervisor mappings from the shadow page table. */
     4797        pgmMapDeactivateCR3(pVM, pVM->pgm.s.CTX_SUFF(pShwPageCR3));
    47994798# endif
    48004799
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