ReactOS
0.4.16-dev-329-g9223134
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
);
11
extern
LARGE_INTEGER
HalpCpuClockFrequency
;
12
VOID
NTAPI
HalpInitializeTsc
(
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_ */
__cdecl
#define __cdecl
Definition:
accygwin.h:79
void
Definition:
nsiface.idl:2307
HalpInitializeTsc
VOID NTAPI HalpInitializeTsc(void)
Definition:
tsc.c:55
HalpCpuClockFrequency
LARGE_INTEGER HalpCpuClockFrequency
Definition:
tsc.c:17
TscCalibrationISR
void __cdecl TscCalibrationISR(void)
NTAPI
#define NTAPI
Definition:
typedefs.h:36
_LARGE_INTEGER
Definition:
typedefs.h:103
hal
halx86
apic
tsc.h
Generated on Sun Dec 8 2024 06:06:06 for ReactOS by
1.9.6