VirtualBox

Changeset 7768 in vbox for trunk/include/VBox/pdmdev.h


Ignore:
Timestamp:
Apr 7, 2008 1:22:40 PM (17 years ago)
Author:
vboxsync
Message:

Added a VMState dev/usb/drvhlp.

File:
1 edited

Legend:

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

    r7755 r7768  
    22282228    DECLR3CALLBACKMEMBER(int, pfnPhysGCPtr2GCPhys, (PPDMDEVINS pDevIns, RTGCPTR GCPtr, PRTGCPHYS pGCPhys));
    22292229
     2230    /**
     2231     * Gets the VM state.
     2232     *
     2233     * @returns VM state.
     2234     * @param   pDevIns         The device instance.
     2235     * @thread  Any thread (just keep in mind that it's volatile info).
     2236     */
     2237    DECLR3CALLBACKMEMBER(VMSTATE, pfnVMState, (PPDMDEVINS pDevIns));
     2238
    22302239    /** Space reserved for future members.
    22312240     * @{ */
    2232     DECLR3CALLBACKMEMBER(void, pfnReserved3,(void));
    22332241    DECLR3CALLBACKMEMBER(void, pfnReserved4,(void));
    22342242    DECLR3CALLBACKMEMBER(void, pfnReserved5,(void));
     
    26712679
    26722680/** Current PDMDEVHLP version number. */
    2673 #define PDM_DEVHLP_VERSION  0xf2050001
     2681#define PDM_DEVHLP_VERSION  0xf2050002
    26742682
    26752683
     
    33543362
    33553363/**
     3364 * @copydoc PDMDEVHLP::pfnVMState
     3365 */
     3366DECLINLINE(VMSTATE) PDMDevHlpVMState(PPDMDEVINS pDevIns)
     3367{
     3368    return pDevIns->pDevHlp->pfnVMState(pDevIns);
     3369}
     3370
     3371/**
    33563372 * @copydoc PDMDEVHLP::pfnA20Set
    33573373 */
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