Changeset 77727 in vbox for trunk/src/VBox/HostDrivers
- Timestamp:
- Mar 15, 2019 2:14:18 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 129375
- Location:
- trunk/src/VBox/HostDrivers
- Files:
-
- 4 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 { -
trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/VBoxNetAdp-linux.c
r77722 r77727 183 183 } 184 184 185 st ruct net_device_stats *vboxNetAdpLinuxGetStats(struct net_device *pNetDev)185 static struct net_device_stats *vboxNetAdpLinuxGetStats(struct net_device *pNetDev) 186 186 { 187 187 PVBOXNETADPPRIV pPriv = netdev_priv(pNetDev); -
trunk/src/VBox/HostDrivers/VBoxPci/VBoxPci.c
r76553 r77727 160 160 161 161 162 #if 0 /** @todo r=bird: Who the heck is supposed to call this?!? */ 162 163 DECLHIDDEN(void) vboxPciDevCleanup(PVBOXRAWPCIINS pThis) 163 164 { … … 180 181 vboxPciGlobalsUnlock(pThis->pGlobals); 181 182 } 183 #endif 182 184 183 185 … … 674 676 } 675 677 678 676 679 /** 677 680 * Try to close the IDC connection to SUPDRV if established. … … 683 686 * @param pGlobals Pointer to the globals. 684 687 */ 685 DECLHIDDEN(int)vboxPciDeleteIdc(PVBOXRAWPCIGLOBALS pGlobals)688 static int vboxPciDeleteIdc(PVBOXRAWPCIGLOBALS pGlobals) 686 689 { 687 690 int rc; … … 718 721 * @param pGlobals Pointer to the globals. 719 722 */ 720 DECLHIDDEN(int)vboxPciInitGlobals(PVBOXRAWPCIGLOBALS pGlobals)723 static int vboxPciInitGlobals(PVBOXRAWPCIGLOBALS pGlobals) 721 724 { 722 725 /* … … 742 745 * Deletes the globals. 743 746 * 744 *745 747 * @param pGlobals Pointer to the globals. 746 748 */ 747 DECLHIDDEN(void)vboxPciDeleteGlobals(PVBOXRAWPCIGLOBALS pGlobals)749 static void vboxPciDeleteGlobals(PVBOXRAWPCIGLOBALS pGlobals) 748 750 { 749 751 Assert(!pGlobals->fIDCOpen); … … 783 785 { 784 786 int rc = vboxPciDeleteIdc(pGlobals); 785 786 787 if (RT_SUCCESS(rc)) 787 788 vboxPciDeleteGlobals(pGlobals);
Note:
See TracChangeset
for help on using the changeset viewer.