Changeset 19611 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- May 12, 2009 12:23:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/EMAll.cpp
r19141 r19611 85 85 * 86 86 * @returns Current status. 87 * @param pVCpu The VMCPU to operate on. 87 88 */ 88 89 VMMDECL(EMSTATE) EMGetState(PVMCPU pVCpu) … … 90 91 return pVCpu->em.s.enmState; 91 92 } 93 94 /** 95 * Sets the current execution manager status. (use only when you know what you're doing!) 96 * 97 * @param pVCpu The VMCPU to operate on. 98 */ 99 VMMDECL(void) EMSetState(PVMCPU pVCpu, EMSTATE enmNewState) 100 { 101 /* Only allowed combination: */ 102 Assert(pVCpu->em.s.enmState == EMSTATE_WAIT_SIPI && enmNewState == EMSTATE_HALTED); 103 pVCpu->em.s.enmState = enmNewState; 104 } 105 92 106 93 107 #ifndef IN_RC
Note:
See TracChangeset
for help on using the changeset viewer.