VirtualBox

Changeset 28319 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Apr 14, 2010 6:25:23 PM (15 years ago)
Author:
vboxsync
Message:

pdmdev: Made PDMDevHlpVMState available in R0 and RC.

File:
1 edited

Legend:

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

    r27935 r28319  
    31963196
    31973197    /**
     3198     * Gets the VM state.
     3199     *
     3200     * @returns VM state.
     3201     * @param   pDevIns             The device instance.
     3202     * @thread  Any thread (just keep in mind that it's volatile info).
     3203     */
     3204    DECLRCCALLBACKMEMBER(VMSTATE, pfnVMState, (PPDMDEVINS pDevIns));
     3205
     3206    /**
    31983207     * Set the VM error message
    31993208     *
     
    33403349     */
    33413350    DECLR0CALLBACKMEMBER(bool, pfnA20IsEnabled,(PPDMDEVINS pDevIns));
     3351
     3352    /**
     3353     * Gets the VM state.
     3354     *
     3355     * @returns VM state.
     3356     * @param   pDevIns             The device instance.
     3357     * @thread  Any thread (just keep in mind that it's volatile info).
     3358     */
     3359    DECLR0CALLBACKMEMBER(VMSTATE, pfnVMState, (PPDMDEVINS pDevIns));
    33423360
    33433361    /**
     
    39123930    pDevIns->pHlpR3->pfnMMHeapFree(pDevIns, pv);
    39133931}
     3932#endif /* IN_RING3 */
    39143933
    39153934/**
     
    39183937DECLINLINE(VMSTATE) PDMDevHlpVMState(PPDMDEVINS pDevIns)
    39193938{
    3920     return pDevIns->pHlpR3->pfnVMState(pDevIns);
    3921 }
    3922 
     3939    return pDevIns->CTX_SUFF(pHlp)->pfnVMState(pDevIns);
     3940}
     3941
     3942#ifdef IN_RING3
    39233943/**
    39243944 * @copydoc PDMDEVHLPR3::pfnVMTeleportedAndNotFullyResumedYet
     
    39283948    return pDevIns->pHlpR3->pfnVMTeleportedAndNotFullyResumedYet(pDevIns);
    39293949}
    3930 
    39313950#endif /* IN_RING3 */
    39323951
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