Changeset 32755 in vbox for trunk/src/VBox/HostDrivers/Support/SUPDrv.c
- Timestamp:
- Sep 24, 2010 9:59:18 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrv.c
r32572 r32755 89 89 #ifndef VBOX_SVN_REV 90 90 # define VBOX_SVN_REV 0 91 #endif 92 93 #if 0 /* Don't start the GIP timers. Useful when debugging the IPRT timer code. */ 94 # define DO_NOT_START_GIP 91 95 #endif 92 96 … … 3158 3162 RTMpOnAll(supdrvGipReInitCpuCallback, pGipR0, &u64NanoTS); 3159 3163 3160 rc = RTTimerStart(pDevExt->pGipTimer, 0); 3161 AssertRC(rc); rc = VINF_SUCCESS; 3164 #ifndef DO_NOT_START_GIP 3165 rc = RTTimerStart(pDevExt->pGipTimer, 0); AssertRC(rc); 3166 #endif 3167 rc = VINF_SUCCESS; 3162 3168 } 3163 3169 } … … 3239 3245 { 3240 3246 LogFlow(("SUPR0GipUnmap: Suspends GIP updating\n")); 3247 #ifndef DO_NOT_START_GIP 3241 3248 rc = RTTimerStop(pDevExt->pGipTimer); AssertRC(rc); rc = VINF_SUCCESS; 3249 #endif 3242 3250 } 3243 3251 }
Note:
See TracChangeset
for help on using the changeset viewer.