- Timestamp:
- May 24, 2018 7:27:55 PM (7 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/EM.cpp
r72300 r72327 754 754 755 755 /** 756 * Queries the main execution engine of the VM. 757 * 758 * @returns VBox status code 759 * @param pUVM The user mode VM handle. 760 * @param pbMainExecutionEngine Where to return the result, VM_EXEC_ENGINE_XXX. 761 */ 762 VMMR3DECL(int) EMR3QueryMainExecutionEngine(PUVM pUVM, uint8_t *pbMainExecutionEngine) 763 { 764 AssertPtrReturn(pbMainExecutionEngine, VERR_INVALID_POINTER); 765 *pbMainExecutionEngine = VM_EXEC_ENGINE_NOT_SET; 766 767 UVM_ASSERT_VALID_EXT_RETURN(pUVM, VERR_INVALID_VM_HANDLE); 768 PVM pVM = pUVM->pVM; 769 VM_ASSERT_VALID_EXT_RETURN(pVM, VERR_INVALID_VM_HANDLE); 770 771 *pbMainExecutionEngine = pVM->bMainExecutionEngine; 772 return VINF_SUCCESS; 773 } 774 775 776 /** 756 777 * Raise a fatal error. 757 778 * -
trunk/src/VBox/VMM/VMMR3/VMMR3.def
r69111 r72327 185 185 186 186 EMR3QueryExecutionPolicy 187 EMR3QueryMainExecutionEngine 187 188 EMR3SetExecutionPolicy 188 189
Note:
See TracChangeset
for help on using the changeset viewer.