Changeset 92527 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Nov 21, 2021 2:38:43 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PDMDevHlp.cpp
r92162 r92527 4632 4632 LogFlow(("pdmR3DevHlp_GetCpuId: caller='%s'/%d: returns void - *pEax=%#x *pEbx=%#x *pEcx=%#x *pEdx=%#x\n", 4633 4633 pDevIns->pReg->szName, pDevIns->iInstance, *pEax, *pEbx, *pEcx, *pEdx)); 4634 } 4635 4636 4637 /** @interface_method_impl{PDMDEVHLPR3,pfnGetMainExecutionEngine} */ 4638 static DECLCALLBACK(uint8_t) pdmR3DevHlp_GetMainExecutionEngine(PPDMDEVINS pDevIns) 4639 { 4640 PDMDEV_ASSERT_DEVINS(pDevIns); 4641 VM_ASSERT_EMT(pDevIns->Internal.s.pVMR3); 4642 LogFlow(("pdmR3DevHlp_GetMainExecutionEngine: caller='%s'/%d:\n", pDevIns->pReg->szName, pDevIns->iInstance)); 4643 return pDevIns->Internal.s.pVMR3->bMainExecutionEngine; 4634 4644 } 4635 4645 … … 5179 5189 pdmR3DevHlp_A20Set, 5180 5190 pdmR3DevHlp_GetCpuId, 5191 pdmR3DevHlp_GetMainExecutionEngine, 5181 5192 pdmR3DevHlp_TMTimeVirtGet, 5182 5193 pdmR3DevHlp_TMTimeVirtGetFreq, … … 5575 5586 pdmR3DevHlp_A20Set, 5576 5587 pdmR3DevHlp_GetCpuId, 5588 pdmR3DevHlp_GetMainExecutionEngine, 5577 5589 pdmR3DevHlp_TMTimeVirtGet, 5578 5590 pdmR3DevHlp_TMTimeVirtGetFreq, … … 5721 5733 NOREF(iLeaf); NOREF(pEax); NOREF(pEbx); NOREF(pEcx); NOREF(pEdx); 5722 5734 AssertReleaseMsgFailed(("Untrusted device called trusted helper! '%s'/%d\n", pDevIns->pReg->szName, pDevIns->iInstance)); 5735 } 5736 5737 5738 /** @interface_method_impl{PDMDEVHLPR3,pfnGetMainExecutionEngine} */ 5739 static DECLCALLBACK(uint8_t) pdmR3DevHlp_Untrusted_GetMainExecutionEngine(PPDMDEVINS pDevIns) 5740 { 5741 PDMDEV_ASSERT_DEVINS(pDevIns); 5742 AssertReleaseMsgFailed(("Untrusted device called trusted helper! '%s'/%d\n", pDevIns->pReg->szName, pDevIns->iInstance)); 5743 return VM_EXEC_ENGINE_NOT_SET; 5723 5744 } 5724 5745 … … 6285 6306 pdmR3DevHlp_Untrusted_A20Set, 6286 6307 pdmR3DevHlp_Untrusted_GetCpuId, 6308 pdmR3DevHlp_Untrusted_GetMainExecutionEngine, 6287 6309 pdmR3DevHlp_TMTimeVirtGet, 6288 6310 pdmR3DevHlp_TMTimeVirtGetFreq,
Note:
See TracChangeset
for help on using the changeset viewer.