Changeset 23915 in vbox for trunk/src/VBox/VMM/PDMDevHlp.cpp
- Timestamp:
- Oct 20, 2009 5:06:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PDMDevHlp.cpp
r23011 r23915 1034 1034 1035 1035 1036 /** @copydoc PDMDEVHLPR3::pfnVMState */ 1037 static DECLCALLBACK(VMSTATE) pdmR3DevHlp_VMState(PPDMDEVINS pDevIns) 1038 { 1039 PDMDEV_ASSERT_DEVINS(pDevIns); 1040 1041 VMSTATE enmVMState = VMR3GetState(pDevIns->Internal.s.pVMR3); 1042 1043 LogFlow(("pdmR3DevHlp_VMState: caller='%s'/%d: returns %d (%s)\n", pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, 1044 enmVMState, VMR3GetStateName(enmVMState))); 1045 return enmVMState; 1046 } 1047 1048 1049 /** @copydoc PDMDEVHLPR3::pfnVMTeleportedAndNotFullyResumedYet */ 1050 static DECLCALLBACK(bool) pdmR3DevHlp_VMTeleportedAndNotFullyResumedYet(PPDMDEVINS pDevIns) 1051 { 1052 PDMDEV_ASSERT_DEVINS(pDevIns); 1053 1054 bool fRc = VMR3TeleportedAndNotFullyResumedYet(pDevIns->Internal.s.pVMR3); 1055 1056 LogFlow(("pdmR3DevHlp_VMState: caller='%s'/%d: returns %RTbool\n", pDevIns->pDevReg->szDeviceName, pDevIns->iInstance, 1057 fRc)); 1058 return fRc; 1059 } 1060 1061 1036 1062 /** @copydoc PDMDEVHLPR3::pfnAssertEMT */ 1037 1063 static DECLCALLBACK(bool) pdmR3DevHlp_AssertEMT(PPDMDEVINS pDevIns, const char *pszFile, unsigned iLine, const char *pszFunction) … … 2274 2300 2275 2301 return rc; 2276 }2277 2278 2279 /** @copydoc PDMDEVHLPR3::pfnVMState */2280 static DECLCALLBACK(VMSTATE) pdmR3DevHlp_VMState(PPDMDEVINS pDevIns)2281 {2282 PDMDEV_ASSERT_DEVINS(pDevIns);2283 2284 VMSTATE enmVMState = VMR3GetState(pDevIns->Internal.s.pVMR3);2285 2286 LogFlow(("pdmR3DevHlp_VMState: caller='%s'/%d: returns %d (%s)\n", pDevIns->pDevReg->szDeviceName, pDevIns->iInstance,2287 enmVMState, VMR3GetStateName(enmVMState)));2288 return enmVMState;2289 2302 } 2290 2303 … … 2783 2796 pdmR3DevHlp_VMSetRuntimeError, 2784 2797 pdmR3DevHlp_VMSetRuntimeErrorV, 2798 pdmR3DevHlp_VMState, 2799 pdmR3DevHlp_VMTeleportedAndNotFullyResumedYet, 2785 2800 pdmR3DevHlp_AssertEMT, 2786 2801 pdmR3DevHlp_AssertOther, … … 2796 2811 pdmR3DevHlp_PDMThreadCreate, 2797 2812 pdmR3DevHlp_PhysGCPtr2GCPhys, 2798 pdmR3DevHlp_VMState, 2813 0, 2814 0, 2815 0, 2799 2816 0, 2800 2817 0, … … 3244 3261 pdmR3DevHlp_VMSetRuntimeError, 3245 3262 pdmR3DevHlp_VMSetRuntimeErrorV, 3263 pdmR3DevHlp_VMState, 3264 pdmR3DevHlp_VMTeleportedAndNotFullyResumedYet, 3246 3265 pdmR3DevHlp_AssertEMT, 3247 3266 pdmR3DevHlp_AssertOther, … … 3257 3276 pdmR3DevHlp_PDMThreadCreate, 3258 3277 pdmR3DevHlp_PhysGCPtr2GCPhys, 3259 pdmR3DevHlp_VMState, 3278 0, 3279 0, 3280 0, 3260 3281 0, 3261 3282 0,
Note:
See TracChangeset
for help on using the changeset viewer.