VirtualBox

Changeset 87767 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Feb 16, 2021 4:41:18 PM (4 years ago)
Author:
vboxsync
Message:

VMM/TM,Devices/*: Changed the device and usb timer callbacks to take a timer handle rather than a pointer. Try a little harder using it. bugref:9943

File:
1 edited

Legend:

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

    r87766 r87767  
    171171 *
    172172 * @param   pDevIns         Device instance of the device which registered the timer.
    173  * @param   pTimer          The timer handle.
     173 * @param   hTimer          The timer handle.
    174174 * @param   pvUser          User argument specified upon timer creation.
    175175 */
    176 typedef DECLCALLBACKTYPE(void, FNTMTIMERDEV,(PPDMDEVINS pDevIns, PTMTIMER pTimer, void *pvUser));
     176typedef DECLCALLBACKTYPE(void, FNTMTIMERDEV,(PPDMDEVINS pDevIns, TMTIMERHANDLE hTimer, void *pvUser));
    177177/** Pointer to a device timer callback function. */
    178178typedef FNTMTIMERDEV *PFNTMTIMERDEV;
     
    183183 * @param   pUsbIns         The USB device instance the timer is associated
    184184 *                          with.
    185  * @param   pTimer          The timer handle.
     185 * @param   hTimer          The timer handle.
    186186 * @param   pvUser          User argument specified upon timer creation.
    187187 */
    188 typedef DECLCALLBACKTYPE(void, FNTMTIMERUSB,(PPDMUSBINS pUsbIns, PTMTIMER pTimer, void *pvUser));
     188typedef DECLCALLBACKTYPE(void, FNTMTIMERUSB,(PPDMUSBINS pUsbIns, TMTIMERHANDLE hTimer, void *pvUser));
    189189/** Pointer to a timer callback for a USB device. */
    190190typedef FNTMTIMERUSB *PFNTMTIMERUSB;
     
    194194 *
    195195 * @param   pDrvIns         Device instance of the device which registered the timer.
    196  * @param   pTimer          The timer handle.
     196 * @param   hTimer          The timer handle.
    197197 * @param   pvUser          User argument specified upon timer creation.
    198198 */
    199 typedef DECLCALLBACKTYPE(void, FNTMTIMERDRV,(PPDMDRVINS pDrvIns, PTMTIMER pTimer, void *pvUser));
     199typedef DECLCALLBACKTYPE(void, FNTMTIMERDRV,(PPDMDRVINS pDrvIns, TMTIMERHANDLE hTimer, void *pvUser));
    200200/** Pointer to a driver timer callback function. */
    201201typedef FNTMTIMERDRV *PFNTMTIMERDRV;
     
    205205 *
    206206 * @param   pSrvIns         Service instance of the device which registered the timer.
    207  * @param   pTimer          The timer handle.
    208  */
    209 typedef DECLCALLBACKTYPE(void, FNTMTIMERSRV,(PPDMSRVINS pSrvIns, PTMTIMER pTimer));
     207 * @param   hTimer          The timer handle.
     208 */
     209typedef DECLCALLBACKTYPE(void, FNTMTIMERSRV,(PPDMSRVINS pSrvIns, TMTIMERHANDLE hTimer));
    210210/** Pointer to a service timer callback function. */
    211211typedef FNTMTIMERSRV *PFNTMTIMERSRV;
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