ReactOS  0.4.14-dev-384-g5b37caa
tsc.h
Go to the documentation of this file.
1 
2 #ifndef _TSC_H_
3 #define _TSC_H_
4 
5 #define NUM_SAMPLES 4
6 #define MSR_RDTSC 0x10
7 
8 #ifndef __ASM__
9 
10 void __cdecl TscCalibrationISR(void);
13 
14 #ifdef _M_AMD64
15 #define KiGetIdtEntry(Pcr, Vector) &((Pcr)->IdtBase[Vector])
16 #else
17 #define KiGetIdtEntry(Pcr, Vector) &((Pcr)->IDT[Vector])
18 #endif
19 
20 #endif
21 
22 #endif /* !_TSC_H_ */
#define __cdecl
Definition: accygwin.h:79
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
void __cdecl TscCalibrationISR(void)
VOID NTAPI HalpInitializeTsc(void)
Definition: tsc.c:56
LARGE_INTEGER HalpCpuClockFrequency
Definition: tsc.c:17