Changeset 45485 in vbox for trunk/include/VBox/vmm
- Timestamp:
- Apr 11, 2013 2:46:04 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 84947
- Location:
- trunk/include/VBox/vmm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/cpum.h
r45291 r45485 491 491 492 492 493 /**494 * Get the current privilege level of the guest.495 *496 * @returns CPL497 * @param pVCpu The current virtual CPU.498 * @param pRegFrame Pointer to the register frame.499 */500 493 VMMDECL(uint32_t) CPUMRCGetGuestCPL(PVMCPU pVCpu, PCPUMCTXCORE pRegFrame); 501 502 494 #ifdef VBOX_WITH_RAW_RING1 503 /** 504 * Transforms the guest CPU state to raw-ring mode. 505 * 506 * This function will change the any of the cs and ss register with DPL=0 to DPL=1. 507 * 508 * @returns VBox status. (recompiler failure) 509 * @param pVCpu Pointer to the VMCPU. 510 * @param pCtxCore The context core (for trap usage). 511 * @see @ref pg_raw 512 */ 513 VMMDECL(void) CPUMRCRecheckRawState(PVMCPU pVCpu, PCPUMCTXCORE pCtxCore); 495 VMMDECL(void) CPUMRCRecheckRawState(PVMCPU pVCpu, PCPUMCTXCORE pCtxCore); 514 496 #endif 515 497 -
trunk/include/VBox/vmm/em.h
r45276 r45485 122 122 * @param pVM The VM to operate on. 123 123 */ 124 #define EMIsRawRing3Enabled(pVM) (!(pVM)->fRecompileUser)124 #define EMIsRawRing3Enabled(pVM) (!(pVM)->fRecompileUser) 125 125 126 126 /** … … 131 131 * @param pVM The VM to operate on. 132 132 */ 133 #define EMIsRawRing0Enabled(pVM) (!(pVM)->fRecompileSupervisor)133 #define EMIsRawRing0Enabled(pVM) (!(pVM)->fRecompileSupervisor) 134 134 135 135 #ifdef VBOX_WITH_RAW_RING1 … … 141 141 * @param pVM The VM to operate on. 142 142 */ 143 # define EMIsRawRing1Enabled(pVM)((pVM)->fRawRing1Enabled)143 # define EMIsRawRing1Enabled(pVM) ((pVM)->fRawRing1Enabled) 144 144 #else 145 # define EMIsRawRing1Enabled(pVM)false145 # define EMIsRawRing1Enabled(pVM) false 146 146 #endif 147 147 … … 153 153 * @param pVM The VM to operate on. 154 154 */ 155 #define EMIsHwVirtExecutionEnabled(pVM) (!(pVM)->fRecompileSupervisor && !(pVM)->fRecompileUser)155 #define EMIsHwVirtExecutionEnabled(pVM) (!(pVM)->fRecompileSupervisor && !(pVM)->fRecompileUser) 156 156 157 157 /**
Note:
See TracChangeset
for help on using the changeset viewer.