VirtualBox

Changeset 26159 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Feb 2, 2010 6:12:40 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57173
Message:

PDMDevHlpR3: Added LdrGetR[C0]InterfaceSymbols.

File:
1 edited

Legend:

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

    r26158 r26159  
    29872987    DECLR3CALLBACKMEMBER(bool, pfnAssertOther,(PPDMDEVINS pDevIns, const char *pszFile, unsigned iLine, const char *pszFunction));
    29882988
     2989    /**
     2990     * Resolves the symbol for a raw-mode context interface.
     2991     *
     2992     * @returns VBox status code.
     2993     * @param   pDevIns             The device instance.
     2994     * @param   pvInterface         The interface structure.
     2995     * @param   cbInterface         The size of the interface structure.
     2996     * @param   pszSymPrefix        What to prefix the symbols in the list with
     2997     *                              before resolving them.  This must start with
     2998     *                              'dev' and contain the driver name.
     2999     * @param   pszSymList          List of symbols corresponding to the interface.
     3000     *                              There is generally a there is generally a define
     3001     *                              holding this list associated with the interface
     3002     *                              definition (INTERFACE_SYM_LIST).  For more
     3003     *                              details see PDMR3LdrGetInterfaceSymbols.
     3004     * @thread  EMT
     3005     */
     3006    DECLR3CALLBACKMEMBER(int, pfnLdrGetRCInterfaceSymbols,(PPDMDEVINS pDevIns, void *pvInterface, size_t cbInterface,
     3007                                                           const char *pszSymPrefix, const char *pszSymList));
     3008
     3009    /**
     3010     * Resolves the symbol for a ring-0 context interface.
     3011     *
     3012     * @returns VBox status code.
     3013     * @param   pDevIns             The device instance.
     3014     * @param   pvInterface         The interface structure.
     3015     * @param   cbInterface         The size of the interface structure.
     3016     * @param   pszSymPrefix        What to prefix the symbols in the list with
     3017     *                              before resolving them.  This must start with
     3018     *                              'dev' and contain the driver name.
     3019     * @param   pszSymList          List of symbols corresponding to the interface.
     3020     *                              There is generally a there is generally a define
     3021     *                              holding this list associated with the interface
     3022     *                              definition (INTERFACE_SYM_LIST).  For more
     3023     *                              details see PDMR3LdrGetInterfaceSymbols.
     3024     * @thread  EMT
     3025     */
     3026    DECLR3CALLBACKMEMBER(int, pfnLdrGetR0InterfaceSymbols,(PPDMDEVINS pDevIns, void *pvInterface, size_t cbInterface,
     3027                                                           const char *pszSymPrefix, const char *pszSymList));
    29893028
    29903029    /** Space reserved for future members.
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