Changeset 11267 in vbox for trunk/src/VBox/Devices/Storage/fdc.c
- Timestamp:
- Aug 8, 2008 4:15:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/fdc.c
r11266 r11267 2345 2345 static DECLCALLBACK(void) fdc_timer (PPDMDEVINS pDevIns, PTMTIMER pTimer) 2346 2346 { 2347 fdctrl_t *fdctrl = PDMINS 2DATA (pDevIns, fdctrl_t *);2347 fdctrl_t *fdctrl = PDMINS_2_DATA (pDevIns, fdctrl_t *); 2348 2348 fdctrl_result_timer (fdctrl); 2349 2349 } … … 2381 2381 static DECLCALLBACK(int) SaveExec (PPDMDEVINS pDevIns, PSSMHANDLE pSSMHandle) 2382 2382 { 2383 fdctrl_t *s = PDMINS 2DATA (pDevIns, fdctrl_t *);2383 fdctrl_t *s = PDMINS_2_DATA (pDevIns, fdctrl_t *); 2384 2384 QEMUFile *f = pSSMHandle; 2385 2385 unsigned int i; … … 2432 2432 uint32_t u32Version) 2433 2433 { 2434 fdctrl_t *s = PDMINS 2DATA (pDevIns, fdctrl_t *);2434 fdctrl_t *s = PDMINS_2_DATA (pDevIns, fdctrl_t *); 2435 2435 QEMUFile *f = pSSMHandle; 2436 2436 unsigned int i; … … 2659 2659 unsigned iLUN) 2660 2660 { 2661 fdctrl_t *fdctrl = PDMINS 2DATA (pDevIns, fdctrl_t *);2661 fdctrl_t *fdctrl = PDMINS_2_DATA (pDevIns, fdctrl_t *); 2662 2662 fdrive_t *drv; 2663 2663 int rc; … … 2707 2707 unsigned iLUN) 2708 2708 { 2709 fdctrl_t *fdctrl = PDMINS 2DATA (pDevIns, fdctrl_t *);2709 fdctrl_t *fdctrl = PDMINS_2_DATA (pDevIns, fdctrl_t *); 2710 2710 LogFlow (("ideDetach: iLUN=%u\n", iLUN)); 2711 2711 … … 2739 2739 static DECLCALLBACK(void) fdcReset (PPDMDEVINS pDevIns) 2740 2740 { 2741 fdctrl_t *fdctrl = PDMINS 2DATA (pDevIns, fdctrl_t *);2741 fdctrl_t *fdctrl = PDMINS_2_DATA (pDevIns, fdctrl_t *); 2742 2742 int i; 2743 2743 LogFlow (("fdcReset:\n")); … … 2770 2770 { 2771 2771 int rc; 2772 fdctrl_t *fdctrl = PDMINS 2DATA(pDevIns, fdctrl_t*);2772 fdctrl_t *fdctrl = PDMINS_2_DATA(pDevIns, fdctrl_t*); 2773 2773 int i; 2774 2774 bool mem_mapped;
Note:
See TracChangeset
for help on using the changeset viewer.