3d06ae12ec1f75302beb229d67aa347b98f366db
[reactos.git] / hal / halx86 / apic / tsc.h
1
2
3 #define NUM_SAMPLES 4
4 #define MSR_RDTSC 0x10
5
6 #ifndef __ASM__
7
8 void __cdecl TscCalibrationISR(void);
9 extern LARGE_INTEGER HalpCpuClockFrequency;
10 VOID NTAPI HalpInitializeTsc(void);
11
12 #ifdef _M_AMD64
13 #define KiGetIdtEntry(Pcr, Vector) &((Pcr)->IdtBase[Vector])
14 #else
15 #define KiGetIdtEntry(Pcr, Vector) &((Pcr)->IDT[Vector])
16 #endif
17
18 #endif