VirtualBox

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


Ignore:
Timestamp:
Apr 4, 2008 5:35:14 PM (17 years ago)
Author:
vboxsync
Message:

Dropped the pszDesc argument to *MMIORegisterGC/R0. It only persists in the PDMDEVHLP interface now because of binary compatability.

File:
1 edited

Legend:

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

    r7635 r7752  
    17561756     * @param   pszRead             Name of the GC function which is gonna handle Read operations.
    17571757     * @param   pszFill             Name of the GC function which is gonna handle Fill/memset operations. (optional)
    1758      * @param   pszDesc             Pointer to description string. This must not be freed.
     1758     * @param   pszDesc             Obsolete. NULL is fine.
     1759     * @todo    Remove pszDesc in the next major revision of PDMDEVHLP.
    17591760     */
    17601761    DECLR3CALLBACKMEMBER(int, pfnMMIORegisterGC,(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTUINT cbRange, RTGCPTR pvUser,
     
    17761777     * @param   pszRead             Name of the GC function which is gonna handle Read operations.
    17771778     * @param   pszFill             Name of the GC function which is gonna handle Fill/memset operations. (optional)
    1778      * @param   pszDesc             Pointer to description string. This must not be freed.
     1779     * @param   pszDesc             Obsolete. NULL is fine.
     1780     * @todo    Remove pszDesc in the next major revision of PDMDEVHLP.
    17791781     */
    17801782    DECLR3CALLBACKMEMBER(int, pfnMMIORegisterR0,(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTUINT cbRange, RTR0PTR pvUser,
     
    31103112 */
    31113113DECLINLINE(int) PDMDevHlpMMIORegisterGC(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTUINT cbRange, RTGCPTR pvUser,
    3112                                         const char *pszWrite, const char *pszRead, const char *pszFill, const char *pszDesc)
    3113 {
    3114     return pDevIns->pDevHlp->pfnMMIORegisterGC(pDevIns, GCPhysStart, cbRange, pvUser, pszWrite, pszRead, pszFill, pszDesc);
     3114                                        const char *pszWrite, const char *pszRead, const char *pszFill)
     3115{
     3116    return pDevIns->pDevHlp->pfnMMIORegisterGC(pDevIns, GCPhysStart, cbRange, pvUser, pszWrite, pszRead, pszFill, NULL);
    31153117}
    31163118
     
    31193121 */
    31203122DECLINLINE(int) PDMDevHlpMMIORegisterR0(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, RTUINT cbRange, RTR0PTR pvUser,
    3121                                         const char *pszWrite, const char *pszRead, const char *pszFill, const char *pszDesc)
    3122 {
    3123     return pDevIns->pDevHlp->pfnMMIORegisterR0(pDevIns, GCPhysStart, cbRange, pvUser, pszWrite, pszRead, pszFill, pszDesc);
     3123                                        const char *pszWrite, const char *pszRead, const char *pszFill)
     3124{
     3125    return pDevIns->pDevHlp->pfnMMIORegisterR0(pDevIns, GCPhysStart, cbRange, pvUser, pszWrite, pszRead, pszFill, NULL);
    31243126}
    31253127
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