VirtualBox

Changeset 7802 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Apr 8, 2008 1:16:05 PM (17 years ago)
Author:
vboxsync
Message:

NX, r/w, u/s bits in the PDPE are valid in long mode only.

File:
1 edited

Legend:

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

    r7800 r7802  
    16371637    if (    (uErr & X86_TRAP_PF_RSVD)
    16381638        ||  !pPdpeSrc->n.u1Present
    1639 # if PGM_WITH_NX(PGM_GST_TYPE)
     1639# if PGM_GST_TYPE == PGM_TYPE_AMD64 /* NX, r/w, u/s bits in the PDPE are long mode only */
    16401640        ||  (fNoExecuteBitValid && (uErr & X86_TRAP_PF_ID) &&  pPdpeSrc->n.u1NoExecute)
    1641 # endif
    16421641        ||  (fWriteFault && !pPdpeSrc->n.u1Write && (fUserLevelFault || fWriteProtect))
    1643         ||  (fUserLevelFault && !pPdpeSrc->n.u1User) )
     1642        ||  (fUserLevelFault && !pPdpeSrc->n.u1User)
     1643# endif
     1644       )
    16441645    {
    16451646#  ifdef IN_GC
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