VirtualBox

Changeset 31066 in vbox for trunk/src/VBox/VMM/PGMGstDefs.h


Ignore:
Timestamp:
Jul 23, 2010 2:48:24 PM (14 years ago)
Author:
vboxsync
Message:

PGM: A couple of simplifications and optimizations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGMGstDefs.h

    r30889 r31066  
    8484#  define GST_IS_NX_ACTIVE(pVCpu)               (CPUMIsGuestNXEnabled(pVCpu)) /** @todo shadow this variable */
    8585#  if PGM_GST_TYPE == PGM_TYPE_PROT             /* (comment at top of PGMAllBth.h) */
    86 #   define BTH_IS_NP_ACTIVE(pVM)                HWACCMIsNestedPagingActive(pVM)
     86#   define BTH_IS_NP_ACTIVE(pVM)                (pVM->pgm.s.fNestedPaging)
    8787#  else
    8888#   define BTH_IS_NP_ACTIVE(pVM)                (false)
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