Changeset 77727 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- Mar 15, 2019 2:14:18 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 129375
- Location:
- trunk/src/VBox/HostDrivers/Support
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrv.cpp
r77423 r77727 4487 4487 * @param puRevision Where to store the microcode revision. 4488 4488 */ 4489 int VBOXCALL supdrvQueryUcodeRev(uint32_t *puRevision)4489 static int VBOXCALL supdrvQueryUcodeRev(uint32_t *puRevision) 4490 4490 { 4491 4491 int rc = VERR_UNSUPPORTED_CPU; -
trunk/src/VBox/HostDrivers/Support/SUPDrvGip.cpp
r76553 r77727 1013 1013 * the measurements on.} 1014 1014 */ 1015 DECLCALLBACK(void) supdrvGipInitReadTscAndNanoTsOnCpu(RTCPUID idCpu, void *pvUser1, void *pvUser2)1015 static DECLCALLBACK(void) supdrvGipInitReadTscAndNanoTsOnCpu(RTCPUID idCpu, void *pvUser1, void *pvUser2) 1016 1016 { 1017 1017 RTCCUINTREG fEFlags = ASMIntDisableFlags(); … … 3419 3419 { 3420 3420 /* Read, kick & wait #1. */ 3421 uint64_t registeruTsc = ASMReadTSC();3421 uint64_t uTsc = ASMReadTSC(); 3422 3422 ASMAtomicWriteU32(&pOtherSync->uSyncVar, GIP_TSC_DELTA_SYNC2_GO_GO); 3423 3423 ASMSerializeInstruction(); … … 3510 3510 for (i = 0; i < RT_ELEMENTS(pArgs->uWorker.Verify.auTscs); i += 2) 3511 3511 { 3512 uint64_t registeruTsc;3512 uint64_t uTsc; 3513 3513 3514 3514 /* Wait, Read and Kick #1. */ … … 4173 4173 { 4174 4174 PSUPDRVDEVEXT pDevExt = (PSUPDRVDEVEXT)pvUser; 4175 uint32_t cConsecutiveTimeouts = 0;4176 4175 int rc = VERR_INTERNAL_ERROR_2; 4177 4176 for (;;) … … 4225 4224 case kTscDeltaThreadState_Measuring: 4226 4225 { 4227 cConsecutiveTimeouts = 0;4228 4226 if (pDevExt->fTscThreadRecomputeAllDeltas) 4229 4227 {
Note:
See TracChangeset
for help on using the changeset viewer.