Changeset 52895 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- Sep 30, 2014 10:20:13 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 96324
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrv.c
r52892 r52895 5657 5657 if (RT_SUCCESS(rc)) 5658 5658 { 5659 #ifdef DEBUG_ramshankar 5660 for (unsigned iCpu = 0; iCpu < pGip->cCpus; iCpu++) 5661 OSDBGPRINT(("supdrvGipCreate: cpu[%u] delta %lld\n", iCpu, pGip->aCPUs[iCpu].i64TSCDelta)); 5662 #endif 5663 5659 5664 /* 5660 5665 * Create the timer. … … 6105 6110 PSUPGIPCPU pGipCpuMaster = &pGip->aCPUs[idxMaster]; 6106 6111 PSUPGIPCPU pGipCpuWorker = &pGip->aCPUs[idxWorker]; 6107 uint64_t uMinCmpReadTime = UINT64_MAX;6108 6112 int cTriesLeft = 12; 6109 6113 … … 6160 6164 while (cTriesLeft-- > 0) 6161 6165 { 6162 unsigned i; 6166 unsigned i; 6167 uint64_t uMinCmpReadTime = UINT64_MAX; 6163 6168 RTCCUINTREG uFlags = ASMIntDisableFlags(); /* Disable interrupts for the duration of a try. */ 6164 6169 for (i = 0; i < GIP_TSC_DELTA_LOOPS; i++) … … 6209 6214 while (ASMAtomicReadU32(&g_pTscDeltaSync->u) != GIP_TSC_DELTA_SYNC_START) 6210 6215 ; 6216 Assert(pGipCpuMaster->u64TSCSample == GIP_TSC_DELTA_RSVD); 6211 6217 ASMAtomicWriteU32(&g_pTscDeltaSync->u, GIP_TSC_DELTA_SYNC_WORKER_READY); 6212 6218
Note:
See TracChangeset
for help on using the changeset viewer.