VirtualBox

Changeset 23915 in vbox for trunk/src/VBox/VMM/PDMDevHlp.cpp


Ignore:
Timestamp:
Oct 20, 2009 5:06:58 PM (15 years ago)
Author:
vboxsync
Message:

VM,PDMDevHlp,PDMDrvHlp: VM[R3]TeleportedAndNotFullyResumedYet (horrible name).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PDMDevHlp.cpp

    r23011 r23915  
    10341034
    10351035
     1036/** @copydoc PDMDEVHLPR3::pfnVMState */
     1037static 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 */
     1050static 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
    10361062/** @copydoc PDMDEVHLPR3::pfnAssertEMT */
    10371063static DECLCALLBACK(bool) pdmR3DevHlp_AssertEMT(PPDMDEVINS pDevIns, const char *pszFile, unsigned iLine, const char *pszFunction)
     
    22742300
    22752301    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;
    22892302}
    22902303
     
    27832796    pdmR3DevHlp_VMSetRuntimeError,
    27842797    pdmR3DevHlp_VMSetRuntimeErrorV,
     2798    pdmR3DevHlp_VMState,
     2799    pdmR3DevHlp_VMTeleportedAndNotFullyResumedYet,
    27852800    pdmR3DevHlp_AssertEMT,
    27862801    pdmR3DevHlp_AssertOther,
     
    27962811    pdmR3DevHlp_PDMThreadCreate,
    27972812    pdmR3DevHlp_PhysGCPtr2GCPhys,
    2798     pdmR3DevHlp_VMState,
     2813    0,
     2814    0,
     2815    0,
    27992816    0,
    28002817    0,
     
    32443261    pdmR3DevHlp_VMSetRuntimeError,
    32453262    pdmR3DevHlp_VMSetRuntimeErrorV,
     3263    pdmR3DevHlp_VMState,
     3264    pdmR3DevHlp_VMTeleportedAndNotFullyResumedYet,
    32463265    pdmR3DevHlp_AssertEMT,
    32473266    pdmR3DevHlp_AssertOther,
     
    32573276    pdmR3DevHlp_PDMThreadCreate,
    32583277    pdmR3DevHlp_PhysGCPtr2GCPhys,
    3259     pdmR3DevHlp_VMState,
     3278    0,
     3279    0,
     3280    0,
    32603281    0,
    32613282    0,
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette