- Timestamp:
- Apr 26, 2013 1:59:29 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/hm.h
r45749 r45754 99 99 #else 100 100 # define HMIsInHwVirtCtx(a_pVCpu) (false) 101 #endif 102 103 /** 104 * Checks whether we're in the special hardware virtualization context and we 105 * cannot perform long jump without guru meditating and possibly messing up the 106 * host and/or guest state. 107 * 108 * This is after we've turned interrupts off and such. 109 * 110 * @returns true / false. 111 * @param a_pVCpu The caller's cross context virtual CPU structure. 112 * @thread EMT 113 */ 114 #ifdef IN_RING0 115 # define HMIsInHwVirtNoLongJmpCtx(a_pVCpu) (VMCPU_GET_STATE(a_pVCpu) == VMCPUSTATE_STARTED_EXEC) 116 #else 117 # define HMIsInHwVirtNoLongJmpCtx(a_pVCpu) (false) 101 118 #endif 102 119
Note:
See TracChangeset
for help on using the changeset viewer.