Changeset 23915 in vbox for trunk/src/VBox/VMM/PDMDriver.cpp
- Timestamp:
- Oct 20, 2009 5:06:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PDMDriver.cpp
r22480 r23915 798 798 799 799 800 /** @copydoc PDMDEVHLPR3::pfnVMState */ 801 static DECLCALLBACK(VMSTATE) pdmR3DrvHlp_VMState(PPDMDRVINS pDrvIns) 802 { 803 PDMDRV_ASSERT_DRVINS(pDrvIns); 804 805 VMSTATE enmVMState = VMR3GetState(pDrvIns->Internal.s.pVM); 806 807 LogFlow(("pdmR3DrvHlp_VMState: caller='%s'/%d: returns %d (%s)\n", pDrvIns->pDrvReg->szDriverName, pDrvIns->iInstance, 808 enmVMState, VMR3GetStateName(enmVMState))); 809 return enmVMState; 810 } 811 812 813 /** @copydoc PDMDEVHLPR3::pfnVMTeleportedAndNotFullyResumedYet */ 814 static DECLCALLBACK(bool) pdmR3DrvHlp_VMTeleportedAndNotFullyResumedYet(PPDMDRVINS pDrvIns) 815 { 816 PDMDRV_ASSERT_DRVINS(pDrvIns); 817 818 bool fRc = VMR3TeleportedAndNotFullyResumedYet(pDrvIns->Internal.s.pVM); 819 820 LogFlow(("pdmR3DrvHlp_VMState: caller='%s'/%d: returns %RTbool)\n", pDrvIns->pDrvReg->szDriverName, pDrvIns->iInstance, 821 fRc)); 822 return fRc; 823 } 824 825 800 826 /** @copydoc PDMDRVHLP::pfnPDMQueueCreate */ 801 827 static DECLCALLBACK(int) pdmR3DrvHlp_PDMQueueCreate(PPDMDRVINS pDrvIns, RTUINT cbItem, RTUINT cItems, uint32_t cMilliesInterval, … … 999 1025 rc, *ppThread)); 1000 1026 return rc; 1001 }1002 1003 1004 /** @copydoc PDMDEVHLPR3::pfnVMState */1005 static DECLCALLBACK(VMSTATE) pdmR3DrvHlp_VMState(PPDMDRVINS pDrvIns)1006 {1007 PDMDRV_ASSERT_DRVINS(pDrvIns);1008 1009 VMSTATE enmVMState = VMR3GetState(pDrvIns->Internal.s.pVM);1010 1011 LogFlow(("pdmR3DrvHlp_VMState: caller='%s'/%d: returns %d (%s)\n", pDrvIns->pDrvReg->szDriverName, pDrvIns->iInstance,1012 enmVMState, VMR3GetStateName(enmVMState)));1013 return enmVMState;1014 1027 } 1015 1028 … … 1051 1064 pdmR3DrvHlp_VMSetRuntimeError, 1052 1065 pdmR3DrvHlp_VMSetRuntimeErrorV, 1066 pdmR3DrvHlp_VMState, 1067 pdmR3DrvHlp_VMTeleportedAndNotFullyResumedYet, 1053 1068 pdmR3DrvHlp_PDMQueueCreate, 1054 1069 pdmR3DrvHlp_TMGetVirtualFreq, … … 1064 1079 pdmR3DrvHlp_USBRegisterHub, 1065 1080 pdmR3DrvHlp_PDMThreadCreate, 1066 pdmR3DrvHlp_VMState,1067 1081 #ifdef VBOX_WITH_PDM_ASYNC_COMPLETION 1068 1082 pdmR3DrvHlp_PDMAsyncCompletionTemplateCreate,
Note:
See TracChangeset
for help on using the changeset viewer.