VirtualBox

Ignore:
Timestamp:
Mar 31, 2008 2:08:43 PM (17 years ago)
Author:
vboxsync
Message:

Clarified code

File:
1 edited

Legend:

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

    r7657 r7662  
    909909            PPGMPOOLPAGE    pShwPage = pgmPoolGetPageByHCPhys(pVM, PdeDst.u & SHW_PDE_PG_MASK);
    910910            RTGCPHYS        GCPhys   = PdeSrc.u & GST_PDE_BIG_PG_MASK;
    911 #  if PGM_SHW_TYPE != PGM_TYPE_32BIT
     911#  if    PGM_SHW_TYPE != PGM_TYPE_32BIT \
     912      && PGM_GST_TYPE == PGM_TYPE_32BIT   
     913            /* Select the right PDE as we're emulating a 4MB page with two 2 MB shadow pages */
    912914            GCPhys |= GCPtrPage & (1 << X86_PD_PAE_SHIFT);
    913915#  endif
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