ReactOS 0.4.16-dev-297-gc569aee
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
Functions | |
FORCEINLINE ULONG | RtcClockRateToPreciseIncrement (UCHAR Rate) |
Converts the CMOS RTC rate into the time increment in 0.1ns intervals. | |
VOID | RtcSetClockRate (UCHAR ClockRate) |
VOID NTAPI | HalpInitializeClock (VOID) |
VOID FASTCALL | HalpClockInterruptHandler (IN PKTRAP_FRAME TrapFrame) |
VOID FASTCALL | HalpClockIpiHandler (IN PKTRAP_FRAME TrapFrame) |
ULONG NTAPI | HalSetTimeIncrement (IN ULONG Increment) |
Variables | |
static const UCHAR | RtcMinimumClockRate = 6 |
static const UCHAR | RtcMaximumClockRate = 10 |
static UCHAR | HalpCurrentClockRate = 10 |
static ULONG | HalpCurrentTimeIncrement |
static ULONG | HalpMinimumTimeIncrement |
static ULONG | HalpMaximumTimeIncrement |
static ULONG | HalpCurrentFractionalIncrement |
static ULONG | HalpRunningFraction |
static BOOLEAN | HalpSetClockRate |
static UCHAR | HalpNextClockRate |
#define NDEBUG |
Definition at line 17 of file rtctimer.c.
VOID FASTCALL HalpClockInterruptHandler | ( | IN PKTRAP_FRAME | TrapFrame | ) |
Definition at line 143 of file rtctimer.c.
VOID FASTCALL HalpClockIpiHandler | ( | IN PKTRAP_FRAME | TrapFrame | ) |
Definition at line 195 of file rtctimer.c.
Definition at line 101 of file rtctimer.c.
Definition at line 222 of file rtctimer.c.
FORCEINLINE ULONG RtcClockRateToPreciseIncrement | ( | UCHAR | Rate | ) |
Converts the CMOS RTC rate into the time increment in 0.1ns intervals.
0 disabled 1 32768 0.03052 305,175 2 16384 0.06103 610,351 3 8192 0.12207 1,220,703 4 4096 0.24414 2,441,406 5 2048 0.48828 4,882,812 6 1024 0.97656 9,765,625 <- minimum 7 512 1.95313 19,531,250 8 256 3.90625 39,062,500 9 128 7.8125 78,125,000 10 64 15.6250 156,250,000 <- maximum / default 11 32 31.25 312,500,000 12 16 62.5 625,000,000 13 8 125 1,250,000,000 14 4 250 2,500,000,000 15 2 500 5,000,000,000
Definition at line 58 of file rtctimer.c.
Referenced by HalpInitializeClock(), HalSetTimeIncrement(), and RtcSetClockRate().
Definition at line 68 of file rtctimer.c.
Referenced by HalpClockInterruptHandler(), and HalpInitializeClock().
|
static |
Definition at line 24 of file rtctimer.c.
Referenced by HalpInitializeClock(), and RtcSetClockRate().
|
static |
Definition at line 28 of file rtctimer.c.
Referenced by HalpClockInterruptHandler(), and RtcSetClockRate().
|
static |
Definition at line 25 of file rtctimer.c.
Referenced by HalpClockInterruptHandler(), and RtcSetClockRate().
|
static |
Definition at line 27 of file rtctimer.c.
Referenced by HalpInitializeClock().
|
static |
Definition at line 26 of file rtctimer.c.
Referenced by HalpInitializeClock().
|
static |
Definition at line 31 of file rtctimer.c.
Referenced by HalpClockInterruptHandler(), and HalSetTimeIncrement().
|
static |
Definition at line 29 of file rtctimer.c.
Referenced by HalpClockInterruptHandler().
|
static |
Definition at line 30 of file rtctimer.c.
Referenced by HalpClockInterruptHandler(), and HalSetTimeIncrement().
Definition at line 23 of file rtctimer.c.
Referenced by HalpInitializeClock(), and HalSetTimeIncrement().
Definition at line 22 of file rtctimer.c.
Referenced by HalpInitializeClock(), and HalSetTimeIncrement().