Changeset 20087 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- May 27, 2009 2:31:18 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/fdc.c
r13080 r20087 2343 2343 2344 2344 #ifdef VBOX 2345 static DECLCALLBACK(void) fdc_timer (PPDMDEVINS pDevIns, PTMTIMER pTimer )2346 { 2347 fdctrl_t *fdctrl = PDMINS_2_DATA (pDevIns, fdctrl_t *);2345 static DECLCALLBACK(void) fdc_timer (PPDMDEVINS pDevIns, PTMTIMER pTimer, void *pvUser) 2346 { 2347 fdctrl_t *fdctrl = (fdctrl_t *)pvUser; 2348 2348 fdctrl_result_timer (fdctrl); 2349 2349 } … … 2849 2849 * Create the FDC timer. 2850 2850 */ 2851 rc = PDMDevHlpTMTimerCreate(pDevIns, TMCLOCK_VIRTUAL, fdc_timer, "FDC Timer", &fdctrl->result_timer); 2851 rc = PDMDevHlpTMTimerCreate(pDevIns, TMCLOCK_VIRTUAL, fdc_timer, fdctrl, 2852 TMTIMER_FLAGS_DEFAULT_CRIT_SECT, "FDC Timer", &fdctrl->result_timer); 2852 2853 if (RT_FAILURE (rc)) 2853 2854 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.