VirtualBox

Changeset 23915 in vbox for trunk/include


Ignore:
Timestamp:
Oct 20, 2009 5:06:58 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53720
Message:

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

Location:
trunk/include/VBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/pdmdev.h

    r22480 r23915  
    21772177
    21782178    /**
     2179     * Gets the VM state.
     2180     *
     2181     * @returns VM state.
     2182     * @param   pDevIns             The device instance.
     2183     * @thread  Any thread (just keep in mind that it's volatile info).
     2184     */
     2185    DECLR3CALLBACKMEMBER(VMSTATE, pfnVMState, (PPDMDEVINS pDevIns));
     2186
     2187    /**
     2188     * Checks if the VM was teleported and hasn't been fully resumed yet.
     2189     *
     2190     * @returns true / false.
     2191     * @param   pDevIns             The device instance.
     2192     * @thread  Any thread.
     2193     */
     2194    DECLR3CALLBACKMEMBER(bool, pfnVMTeleportedAndNotFullyResumedYet,(PPDMDEVINS pDevIns));
     2195
     2196    /**
    21792197     * Assert that the current thread is the emulation thread.
    21802198     *
     
    23682386    DECLR3CALLBACKMEMBER(int, pfnPhysGCPtr2GCPhys, (PPDMDEVINS pDevIns, RTGCPTR GCPtr, PRTGCPHYS pGCPhys));
    23692387
    2370     /**
    2371      * Gets the VM state.
    2372      *
    2373      * @returns VM state.
    2374      * @param   pDevIns             The device instance.
    2375      * @thread  Any thread (just keep in mind that it's volatile info).
    2376      */
    2377     DECLR3CALLBACKMEMBER(VMSTATE, pfnVMState, (PPDMDEVINS pDevIns));
    2378 
    23792388    /** Space reserved for future members.
    23802389     * @{ */
     2390    DECLR3CALLBACKMEMBER(void, pfnReserved1,(void));
     2391    DECLR3CALLBACKMEMBER(void, pfnReserved2,(void));
     2392    DECLR3CALLBACKMEMBER(void, pfnReserved3,(void));
    23812393    DECLR3CALLBACKMEMBER(void, pfnReserved4,(void));
    23822394    DECLR3CALLBACKMEMBER(void, pfnReserved5,(void));
     
    36723684
    36733685/**
     3686 * @copydoc PDMDEVHLPR3::pfnVMTeleportedAndNotFullyResumedYet
     3687 */
     3688DECLINLINE(bool) PDMDevHlpVMTeleportedAndNotFullyResumedYet(PPDMDEVINS pDevIns)
     3689{
     3690    return pDevIns->pDevHlpR3->pfnVMTeleportedAndNotFullyResumedYet(pDevIns);
     3691}
     3692
     3693/**
    36743694 * @copydoc PDMDEVHLPR3::pfnA20Set
    36753695 */
  • trunk/include/VBox/pdmdrv.h

    r22480 r23915  
    501501
    502502    /**
     503     * Gets the VM state.
     504     *
     505     * @returns VM state.
     506     * @param   pDrvIns         The driver instance.
     507     * @thread  Any thread (just keep in mind that it's volatile info).
     508     */
     509    DECLR3CALLBACKMEMBER(VMSTATE, pfnVMState, (PPDMDRVINS pDrvIns));
     510
     511    /**
     512     * Checks if the VM was teleported and hasn't been fully resumed yet.
     513     *
     514     * @returns true / false.
     515     * @param   pDrvIns         The driver instance.
     516     * @thread  Any thread.
     517     */
     518    DECLR3CALLBACKMEMBER(bool, pfnVMTeleportedAndNotFullyResumedYet,(PPDMDRVINS pDrvIns));
     519
     520    /**
    503521     * Create a queue.
    504522     *
     
    698716    DECLR3CALLBACKMEMBER(int, pfnPDMThreadCreate,(PPDMDRVINS pDrvIns, PPPDMTHREAD ppThread, void *pvUser, PFNPDMTHREADDRV pfnThread,
    699717                                                  PFNPDMTHREADWAKEUPDRV pfnWakeup, size_t cbStack, RTTHREADTYPE enmType, const char *pszName));
    700 
    701     /**
    702      * Gets the VM state.
    703      *
    704      * @returns VM state.
    705      * @param   pDrvIns         The driver instance.
    706      * @thread  Any thread (just keep in mind that it's volatile info).
    707      */
    708     DECLR3CALLBACKMEMBER(VMSTATE, pfnVMState, (PPDMDRVINS pDrvIns));
    709718
    710719#ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
     
    883892
    884893/**
     894 * @copydoc PDMDRVHLP::pfnVMState
     895 */
     896DECLINLINE(VMSTATE) PDMDrvHlpVMState(PPDMDRVINS pDrvIns)
     897{
     898    return pDrvIns->pDrvHlp->pfnVMState(pDrvIns);
     899}
     900
     901/**
     902 * @copydoc PDMDRVHLP::pfnVMTeleportedAndNotFullyResumedYet
     903 */
     904DECLINLINE(bool) PDMDrvHlpVMTeleportedAndNotFullyResumedYet(PPDMDRVINS pDrvIns)
     905{
     906    return pDrvIns->pDrvHlp->pfnVMTeleportedAndNotFullyResumedYet(pDrvIns);
     907}
     908
     909/**
    885910 * @copydoc PDMDRVHLP::pfnPDMQueueCreate
    886911 */
     
    10091034}
    10101035
    1011 /**
    1012  * @copydoc PDMDRVHLP::pfnVMState
    1013  */
    1014 DECLINLINE(VMSTATE) PDMDrvHlpVMState(PPDMDRVINS pDrvIns)
    1015 {
    1016     return pDrvIns->pDrvHlp->pfnVMState(pDrvIns);
    1017 }
    1018 
    10191036#ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
    10201037/**
  • trunk/include/VBox/vmapi.h

    r23801 r23915  
    361361VMMR3DECL(VMSTATE) VMR3GetState(PVM pVM);
    362362VMMR3DECL(const char *) VMR3GetStateName(VMSTATE enmState);
     363VMMR3DECL(bool) VMR3TeleportedAndNotFullyResumedYet(PVM pVM);
    363364VMMR3DECL(int)  VMR3AtErrorRegister(PVM pVM, PFNVMATERROR pfnAtError, void *pvUser);
    364365VMMR3DECL(int)  VMR3AtErrorRegisterU(PUVM pVM, PFNVMATERROR pfnAtError, void *pvUser);
Note: See TracChangeset for help on using the changeset viewer.

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