Changeset 45645 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Apr 19, 2013 1:46:48 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PDMDevHlp.cpp
r44902 r45645 670 670 LogFlow(("pdmR3DevHlp_TMTimeVirtGetNano: caller='%s'/%d: returns %RU64\n", pDevIns->pReg->szName, pDevIns->iInstance, u64Nano)); 671 671 return u64Nano; 672 } 673 674 675 /** @interface_method_impl{PDMDEVHLPR3,pfnGetSupDrvSession} */ 676 static DECLCALLBACK(PSUPDRVSESSION) pdmR3DevHlp_GetSupDrvSession(PPDMDEVINS pDevIns) 677 { 678 PDMDEV_ASSERT_DEVINS(pDevIns); 679 LogFlow(("pdmR3DevHlp_GetSupDrvSession: caller='%s'\n", 680 pDevIns->pReg->szName, pDevIns->iInstance)); 681 682 PSUPDRVSESSION pSession = pDevIns->Internal.s.pVMR3->pSession; 683 684 LogFlow(("pdmR3DevHlp_GetSupDrvSession: caller='%s'/%d: returns %#p\n", pDevIns->pReg->szName, pDevIns->iInstance, pSession)); 685 return pSession; 672 686 } 673 687 … … 3493 3507 pdmR3DevHlp_TMTimeVirtGetFreq, 3494 3508 pdmR3DevHlp_TMTimeVirtGetNano, 3509 pdmR3DevHlp_GetSupDrvSession, 3495 3510 PDM_DEVHLPR3_VERSION /* the end */ 3496 3511 }; … … 3607 3622 NOREF(iLeaf); NOREF(pEax); NOREF(pEbx); NOREF(pEcx); NOREF(pEdx); 3608 3623 AssertReleaseMsgFailed(("Untrusted device called trusted helper! '%s'/%d\n", pDevIns->pReg->szName, pDevIns->iInstance)); 3624 } 3625 3626 3627 /** @interface_method_impl{PDMDEVHLPR3,pfnGetSupDrvSession} */ 3628 static DECLCALLBACK(PSUPDRVSESSION) pdmR3DevHlp_Untrusted_GetSupDrvSession(PPDMDEVINS pDevIns) 3629 { 3630 PDMDEV_ASSERT_DEVINS(pDevIns); 3631 AssertReleaseMsgFailed(("Untrusted device called trusted helper! '%s'/%d\n", pDevIns->pReg->szName, pDevIns->iInstance)); 3632 return (PSUPDRVSESSION)0; 3609 3633 } 3610 3634 … … 3724 3748 pdmR3DevHlp_TMTimeVirtGetFreq, 3725 3749 pdmR3DevHlp_TMTimeVirtGetNano, 3750 pdmR3DevHlp_Untrusted_GetSupDrvSession, 3726 3751 PDM_DEVHLPR3_VERSION /* the end */ 3727 3752 };
Note:
See TracChangeset
for help on using the changeset viewer.