VirtualBox

Changeset 23915 in vbox for trunk/src/VBox/VMM/PDMDriver.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/PDMDriver.cpp

    r22480 r23915  
    798798
    799799
     800/** @copydoc PDMDEVHLPR3::pfnVMState */
     801static 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 */
     814static 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
    800826/** @copydoc PDMDRVHLP::pfnPDMQueueCreate */
    801827static DECLCALLBACK(int) pdmR3DrvHlp_PDMQueueCreate(PPDMDRVINS pDrvIns, RTUINT cbItem, RTUINT cItems, uint32_t cMilliesInterval,
     
    9991025            rc, *ppThread));
    10001026    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;
    10141027}
    10151028
     
    10511064    pdmR3DrvHlp_VMSetRuntimeError,
    10521065    pdmR3DrvHlp_VMSetRuntimeErrorV,
     1066    pdmR3DrvHlp_VMState,
     1067    pdmR3DrvHlp_VMTeleportedAndNotFullyResumedYet,
    10531068    pdmR3DrvHlp_PDMQueueCreate,
    10541069    pdmR3DrvHlp_TMGetVirtualFreq,
     
    10641079    pdmR3DrvHlp_USBRegisterHub,
    10651080    pdmR3DrvHlp_PDMThreadCreate,
    1066     pdmR3DrvHlp_VMState,
    10671081#ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
    10681082    pdmR3DrvHlp_PDMAsyncCompletionTemplateCreate,
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