Changeset 20087 in vbox for trunk/src/VBox/Devices/Graphics
- Timestamp:
- May 27, 2009 2:31:18 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r19844 r20087 5071 5071 5072 5072 5073 static DECLCALLBACK(void) vgaTimerRefresh(PPDMDEVINS pDevIns, PTMTIMER pTimer )5074 { 5075 PVGASTATE pThis = PDMINS_2_DATA(pDevIns, PVGASTATE);5073 static DECLCALLBACK(void) vgaTimerRefresh(PPDMDEVINS pDevIns, PTMTIMER pTimer, void *pvUser) 5074 { 5075 PVGASTATE pThis = (PVGASTATE)pvUser; 5076 5076 5077 5077 if (pThis->pDrv) … … 5783 5783 * Create the refresh timer. 5784 5784 */ 5785 rc = PDMDevHlpTMTimerCreate(pDevIns, TMCLOCK_REAL, vgaTimerRefresh, "VGA Refresh Timer", &pThis->RefreshTimer); 5785 rc = PDMDevHlpTMTimerCreate(pDevIns, TMCLOCK_REAL, vgaTimerRefresh, 5786 pThis, TMTIMER_FLAGS_DEFAULT_CRIT_SECT, /** @todo This needs to be fixed! We cannot take the I/O lock at this point! */ 5787 "VGA Refresh Timer", &pThis->RefreshTimer); 5786 5788 if (RT_FAILURE(rc)) 5787 5789 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.