Changeset 25460 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- Dec 17, 2009 12:58:03 PM (15 years ago)
- Location:
- trunk/src/VBox/HostDrivers/Support
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrv.c
r25459 r25460 112 112 static DECLCALLBACK(void) supdrvGipAsyncTimer(PRTTIMER pTimer, void *pvUser, uint64_t iTick); 113 113 static DECLCALLBACK(void) supdrvGipMpEvent(RTMPEVENT enmEvent, RTCPUID idCpu, void *pvUser); 114 static void supdrvGipInit(PSUPDRVDEVEXT pDevExt, PSUPGLOBALINFOPAGE pGip, RTHCPHYS HCPhys, uint64_t u64NanoTS, unsigned uUpdateHz); 115 static void supdrvGipTerm(PSUPGLOBALINFOPAGE pGip); 116 static void supdrvGipUpdate(PSUPGLOBALINFOPAGE pGip, uint64_t u64NanoTS, uint64_t u64TSC, uint64_t iTick); 117 static void supdrvGipUpdatePerCpu(PSUPGLOBALINFOPAGE pGip, uint64_t u64NanoTS, uint64_t u64TSC, unsigned iCpu, uint64_t iTick); 114 118 115 119 … … 4589 4593 * Initializes the GIP data. 4590 4594 * 4591 * @returns IPRT status code.4592 4595 * @param pDevExt Pointer to the device instance data. 4593 4596 * @param pGip Pointer to the read-write kernel mapping of the GIP. … … 4596 4599 * @param uUpdateHz The update freqence. 4597 4600 */ 4598 int VBOXCALLsupdrvGipInit(PSUPDRVDEVEXT pDevExt, PSUPGLOBALINFOPAGE pGip, RTHCPHYS HCPhys, uint64_t u64NanoTS, unsigned uUpdateHz)4601 static void supdrvGipInit(PSUPDRVDEVEXT pDevExt, PSUPGLOBALINFOPAGE pGip, RTHCPHYS HCPhys, uint64_t u64NanoTS, unsigned uUpdateHz) 4599 4602 { 4600 4603 unsigned i; … … 4646 4649 pDevExt->HCPhysGip = HCPhys; 4647 4650 pDevExt->cGipUsers = 0; 4648 4649 return VINF_SUCCESS;4650 4651 } 4651 4652 … … 4753 4754 * @param pGip Pointer to the read-write kernel mapping of the GIP. 4754 4755 */ 4755 void VBOXCALLsupdrvGipTerm(PSUPGLOBALINFOPAGE pGip)4756 static void supdrvGipTerm(PSUPGLOBALINFOPAGE pGip) 4756 4757 { 4757 4758 unsigned i; … … 4887 4888 * @param iTick The current timer tick. 4888 4889 */ 4889 void VBOXCALLsupdrvGipUpdate(PSUPGLOBALINFOPAGE pGip, uint64_t u64NanoTS, uint64_t u64TSC, uint64_t iTick)4890 static void supdrvGipUpdate(PSUPGLOBALINFOPAGE pGip, uint64_t u64NanoTS, uint64_t u64TSC, uint64_t iTick) 4890 4891 { 4891 4892 /* … … 4956 4957 * @param iTick The current timer tick. 4957 4958 */ 4958 void VBOXCALLsupdrvGipUpdatePerCpu(PSUPGLOBALINFOPAGE pGip, uint64_t u64NanoTS, uint64_t u64TSC, unsigned iCpu, uint64_t iTick)4959 static void supdrvGipUpdatePerCpu(PSUPGLOBALINFOPAGE pGip, uint64_t u64NanoTS, uint64_t u64TSC, unsigned iCpu, uint64_t iTick) 4959 4960 { 4960 4961 PSUPGIPCPU pGipCpu; -
trunk/src/VBox/HostDrivers/Support/SUPDrvInternal.h
r25459 r25460 714 714 void VBOXCALL supdrvCloseSession(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession); 715 715 void VBOXCALL supdrvCleanupSession(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession); 716 int VBOXCALL supdrvGipInit(PSUPDRVDEVEXT pDevExt, PSUPGLOBALINFOPAGE pGip, RTHCPHYS HCPhys, uint64_t u64NanoTS, unsigned uUpdateHz);717 void VBOXCALL supdrvGipTerm(PSUPGLOBALINFOPAGE pGip);718 void VBOXCALL supdrvGipUpdate(PSUPGLOBALINFOPAGE pGip, uint64_t u64NanoTS, uint64_t u64TSC, uint64_t iTick);719 void VBOXCALL supdrvGipUpdatePerCpu(PSUPGLOBALINFOPAGE pGip, uint64_t u64NanoTS, uint64_t u64TSC, unsigned iCpu, uint64_t iTick);720 716 bool VBOXCALL supdrvDetermineAsyncTsc(uint64_t *pu64DiffCores); 721 717
Note:
See TracChangeset
for help on using the changeset viewer.