VirtualBox

Changeset 16624 in vbox for trunk/src


Ignore:
Timestamp:
Feb 10, 2009 12:24:56 PM (16 years ago)
Author:
vboxsync
Message:

VBOX_WITH_PGMPOOL_PAGING_ONLY: pgmShwSyncPaePDPtr fix for pae shadow & 32 bits guest paging

File:
1 edited

Legend:

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

    r16599 r16624  
    898898            Assert(pGstPdpe);
    899899
    900             GCPdPt  = pGstPdpe->u & X86_PDPE_PG_MASK;
    901             enmKind = (CPUMGetGuestCR4(pVM) & X86_CR4_PAE) ? PGMPOOLKIND_PAE_PD_FOR_PAE_PD : PGMPOOLKIND_PAE_PD_FOR_32BIT_PD;
     900            if (CPUMGetGuestCR4(pVM) & X86_CR4_PAE)
     901            {
     902                GCPdPt  = pGstPdpe->u & X86_PDPE_PG_MASK;
     903                enmKind = PGMPOOLKIND_PAE_PD_FOR_PAE_PD;
     904            }
     905            else
     906            {
     907                GCPdPt  = CPUMGetGuestCR3(pVM);
     908                enmKind = PGMPOOLKIND_PAE_PD_FOR_32BIT_PD;
     909            }
    902910        }
    903911
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