VirtualBox

Changeset 22316 in vbox


Ignore:
Timestamp:
Aug 18, 2009 9:52:53 AM (15 years ago)
Author:
vboxsync
Message:

WP checking is not relevant for nested paging & EPT.

File:
1 edited

Legend:

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

    r22169 r22316  
    800800                    }
    801801
     802#   if PGM_WITH_PAGING(PGM_GST_TYPE, PGM_SHW_TYPE)
    802803                    /* Check to see if we need to emulate the instruction as X86_CR0_WP has been cleared. */
    803804                    if (    CPUMGetGuestCPL(pVCpu, pRegFrame) == 0
     
    819820                        AssertMsg(RT_SUCCESS(rc), ("Unexpected r/w page %RGv flag=%x rc=%Rrc\n", pvFault, (uint32_t)fPageGst, rc));
    820821                    }
    821 
     822#   endif
    822823                    /// @todo count the above case; else
    823824                    if (uErr & X86_TRAP_PF_US)
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