Changeset 45276 in vbox for trunk/include/VBox/vmm
- Timestamp:
- Apr 2, 2013 8:17:11 AM (12 years ago)
- Location:
- trunk/include/VBox/vmm
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/cpum.h
r44793 r45276 485 485 DECLASM(void) CPUMGCCallV86Code(PCPUMCTXCORE pRegFrame); 486 486 487 488 /** 489 * Get the current privilege level of the guest. 490 * 491 * @returns CPL 492 * @param pVCpu The current virtual CPU. 493 * @param pRegFrame Pointer to the register frame. 494 */ 495 VMMDECL(uint32_t) CPUMRCGetGuestCPL(PVMCPU pVCpu, PCPUMCTXCORE pRegFrame); 496 497 #ifdef VBOX_WITH_RAW_RING1 498 /** 499 * Transforms the guest CPU state to raw-ring mode. 500 * 501 * This function will change the any of the cs and ss register with DPL=0 to DPL=1. 502 * 503 * @returns VBox status. (recompiler failure) 504 * @param pVCpu Pointer to the VMCPU. 505 * @param pCtxCore The context core (for trap usage). 506 * @see @ref pg_raw 507 */ 508 VMMDECL(void) CPUMRCRecheckRawState(PVMCPU pVCpu, PCPUMCTXCORE pCtxCore); 509 #endif 510 487 511 /** @} */ 488 512 #endif /* IN_RC */ -
trunk/include/VBox/vmm/em.h
r44528 r45276 133 133 #define EMIsRawRing0Enabled(pVM) (!(pVM)->fRecompileSupervisor) 134 134 135 #ifdef VBOX_WITH_RAW_RING1 136 /** 137 * Checks if raw ring-1 execute mode is enabled. 138 * 139 * @returns true if enabled. 140 * @returns false if disabled. 141 * @param pVM The VM to operate on. 142 */ 143 #define EMIsRawRing1Enabled(pVM) ((pVM)->fRawRing1Enabled) 144 #else 145 #define EMIsRawRing1Enabled(pVM) false 146 #endif 147 135 148 /** 136 149 * Checks if execution with hardware assisted virtualization is enabled. -
trunk/include/VBox/vmm/selm.h
r42427 r45276 107 107 VMMR3DECL(bool) SELMR3CheckTSS(PVM pVM); 108 108 VMMR3DECL(int) SELMR3DebugCheck(PVM pVM); 109 #ifdef VBOX_WITH_SAFE_STR 110 VMMR3DECL(bool) SELMR3CheckShadowTR(PVM pVM); 111 #endif 112 109 113 /** @def SELMR3_DEBUG_CHECK 110 114 * Invokes SELMR3DebugCheck in stricts builds. */ -
trunk/include/VBox/vmm/vm.h
r45152 r45276 843 843 /** Whether to recompile supervisor mode code or run it raw/hm. */ 844 844 bool fRecompileSupervisor; 845 /** Whether raw mode supports ring-1 code or not. */ 846 bool fRawRing1Enabled; 845 847 /** PATM enabled flag. 846 848 * This is placed here for performance reasons. */ … … 862 864 863 865 /** Alignment padding.. */ 864 uint 32_t uPadding1;866 uint8_t uPadding1[3]; 865 867 866 868 /** @name Debugging -
trunk/include/VBox/vmm/vm.mac
r45152 r45276 59 59 .fRecompileUser resb 1 60 60 .fRecompileSupervisor resb 1 61 .fRawRing1Enabled resb 1 61 62 .fPATMEnabled resb 1 62 63 .fCSAMEnabled resb 1 … … 66 67 .fUseLargePages resb 1 67 68 68 .uPadding1 res d 169 .uPadding1 resb 3 69 70 70 71 .hTraceBufRC RTRCPTR_RES 1
Note:
See TracChangeset
for help on using the changeset viewer.