mirror of
https://github.com/reactos/reactos.git
synced 2024-11-19 13:33:42 +00:00
22 lines
394 B
C
22 lines
394 B
C
|
|
#ifndef _TSC_H_
|
|
#define _TSC_H_
|
|
|
|
#define NUM_SAMPLES 4
|
|
#define MSR_RDTSC 0x10
|
|
|
|
#ifndef __ASM__
|
|
|
|
void __cdecl TscCalibrationISR(void);
|
|
extern LARGE_INTEGER HalpCpuClockFrequency;
|
|
VOID NTAPI HalpInitializeTsc(void);
|
|
|
|
#ifdef _M_AMD64
|
|
#define KiGetIdtEntry(Pcr, Vector) &((Pcr)->IdtBase[Vector])
|
|
#else
|
|
#define KiGetIdtEntry(Pcr, Vector) &((Pcr)->IDT[Vector])
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif /* !_TSC_H_ */
|