VirtualBox

Changeset 45645 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Apr 19, 2013 1:46:48 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
85155
Message:

VMM/PDMDevHlp: Add helper to get the SUPDrv session handle (intended for the semaphore API)

File:
1 edited

Legend:

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

    r45024 r45645  
    4040#include <VBox/err.h>
    4141#include <VBox/pci.h>
     42#include <VBox/sup.h>
    4243#include <iprt/stdarg.h>
    4344
     
    36023603    DECLR3CALLBACKMEMBER(uint64_t, pfnTMTimeVirtGetNano,(PPDMDEVINS pDevIns));
    36033604
     3605    /**
     3606     * Gets the support driver session.
     3607     *
     3608     * This is intended for working with the semaphore API.
     3609     *
     3610     * @returns Support driver session handle.
     3611     * @param   pDrvIns         The driver instance.
     3612     */
     3613    DECLR3CALLBACKMEMBER(PSUPDRVSESSION, pfnGetSupDrvSession,(PPDMDEVINS pDevIns));
     3614
    36043615    /** @} */
    36053616
     
    36143625
    36153626/** Current PDMDEVHLPR3 version number. */
    3616 #define PDM_DEVHLPR3_VERSION                    PDM_VERSION_MAKE(0xffe7, 11, 0)
     3627#define PDM_DEVHLPR3_VERSION                    PDM_VERSION_MAKE(0xffe7, 12, 0)
    36173628
    36183629
     
    51905201}
    51915202
     5203/*
     5204 * @copydoc PDMDEVHLPR3::pfnGetSupDrvSession
     5205 */
     5206DECLINLINE(PSUPDRVSESSION) PDMDevHlpGetSupDrvSession(PPDMDEVINS pDevIns)
     5207{
     5208    return pDevIns->pHlpR3->pfnGetSupDrvSession(pDevIns);
     5209}
    51925210#endif /* IN_RING3 */
    51935211#ifdef IN_RING0
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