Changeset 87767 in vbox for trunk/src/VBox/ExtPacks/BusMouseSample/DevBusMouse.cpp
- Timestamp:
- Feb 16, 2021 4:41:18 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ExtPacks/BusMouseSample/DevBusMouse.cpp
r87760 r87767 237 237 * @callback_method_impl{FNTMTIMERDEV} 238 238 */ 239 static DECLCALLBACK(void) bmsR3TimerCallback(PPDMDEVINS pDevIns, PTMTIMER pTimer, void *pvUser)239 static DECLCALLBACK(void) bmsR3TimerCallback(PPDMDEVINS pDevIns, TMTIMERHANDLE hTimer, void *pvUser) 240 240 { 241 241 PBMSSTATE pThis = PDMDEVINS_2_DATA(pDevIns, PBMSSTATE); 242 242 PBMSSTATER3 pThisCC = PDMDEVINS_2_DATA(pDevIns, PBMSSTATER3); 243 243 uint8_t irq_bit; 244 RT_NOREF(pvUser, pTimer); 244 RT_NOREF(pvUser, hTimer); 245 Assert(hTimer == pThis->hMouseTimer); 245 246 246 247 /* Toggle the IRQ line if interrupts are enabled. */ … … 283 284 284 285 /* Re-arm the timer. */ 285 PDMDevHlpTimerSetMillies(pDevIns, pThis->hMouseTimer, pThis->cTimerPeriodMs);286 PDMDevHlpTimerSetMillies(pDevIns, hTimer, pThis->cTimerPeriodMs); 286 287 } 287 288
Note:
See TracChangeset
for help on using the changeset viewer.