VirtualBox

Changeset 45485 in vbox for trunk/include/VBox/vmm/em.h


Ignore:
Timestamp:
Apr 11, 2013 2:46:04 PM (12 years ago)
Author:
vboxsync
Message:
  • *: Where possible, drop the #ifdef VBOX_WITH_RAW_RING1 when EMIsRawRing1Enabled is used.
  • SELM: Don't shadow TSS.esp1/ss1 unless ring-1 compression is enabled (also fixed a log statement there).
  • SELM: selmGuestToShadowDesc should not push ring-1 selectors into ring-2 unless EMIsRawRing1Enabled() holds true.
  • REM: Don't set CPU_INTERRUPT_EXTERNAL_EXIT in helper_ltr() for now.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/em.h

    r45276 r45485  
    122122 * @param   pVM         The VM to operate on.
    123123 */
    124 #define EMIsRawRing3Enabled(pVM) (!(pVM)->fRecompileUser)
     124#define EMIsRawRing3Enabled(pVM)            (!(pVM)->fRecompileUser)
    125125
    126126/**
     
    131131 * @param   pVM         The VM to operate on.
    132132 */
    133 #define EMIsRawRing0Enabled(pVM) (!(pVM)->fRecompileSupervisor)
     133#define EMIsRawRing0Enabled(pVM)            (!(pVM)->fRecompileSupervisor)
    134134
    135135#ifdef VBOX_WITH_RAW_RING1
     
    141141 * @param   pVM         The VM to operate on.
    142142 */
    143 #define EMIsRawRing1Enabled(pVM) ((pVM)->fRawRing1Enabled)
     143# define EMIsRawRing1Enabled(pVM)          ((pVM)->fRawRing1Enabled)
    144144#else
    145 #define EMIsRawRing1Enabled(pVM) false
     145# define EMIsRawRing1Enabled(pVM)          false
    146146#endif
    147147
     
    153153 * @param   pVM         The VM to operate on.
    154154 */
    155 #define EMIsHwVirtExecutionEnabled(pVM) (!(pVM)->fRecompileSupervisor && !(pVM)->fRecompileUser)
     155#define EMIsHwVirtExecutionEnabled(pVM)     (!(pVM)->fRecompileSupervisor && !(pVM)->fRecompileUser)
    156156
    157157/**
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