#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
◆ NDEBUG
◆ KeUpdateRunTime()
Definition at line 130 of file time.c.
132{
135
136
138 {
139
141 return;
142 }
143
144
146
147
148#ifndef _M_ARM
150#else
151 if (TrapFrame->PreviousMode ==
UserMode)
152#endif
153 {
154
157 }
158 else
159 {
160
163 {
164
166 }
168 {
169
171 }
172 else
173 {
174
176
177#if DBG
178
180
181
183 {
184
185 DbgPrint(
"*** DPC routine > 1 sec --- This is not a break in KeUpdateSystemTime\n");
186
187
189
190
192 }
193#endif
194 }
195 }
196
197
201
202
204 {
205
208
209
212 {
213
215 }
216 }
217 else
218 {
219
221 {
222
225 {
226
228 }
229 }
230 }
231
232
234
235
237 {
238
241 }
242}
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
VOID FASTCALL HalRequestSoftwareInterrupt(IN KIRQL Irql)
#define KeGetCurrentThread
BOOLEAN KdDebuggerEnabled
FORCEINLINE struct _KPRCB * KeGetCurrentPrcb(VOID)
#define CLOCK_QUANTUM_DECREMENT
FORCEINLINE BOOLEAN KiUserTrap(IN PKTRAP_FRAME TrapFrame)
ULONG KiAdjustDpcThreshold
ULONG KiMaximumDpcQueueDepth
volatile ULONG DpcQueueDepth
struct _KTHREAD * IdleThread
LONG MaximumDpcQueueDepth
NTSYSAPI void WINAPI DbgBreakPoint(void)
Referenced by KeUpdateSystemTime().
◆ KeUpdateSystemTime()
Definition at line 49 of file time.c.
52{
56
57
59 {
60
62
63
65
66#ifdef _M_IX86
68#endif
69
70
71 return;
72 }
73
74
78
79
81
82
84
85
87 {
88
90 }
91
92
94 {
95
99
100
103
104
106
107
109
110
112
113
115 }
116 else
117 {
118
120 }
121
122#ifdef _M_IX86
123
125#endif
126}
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG Increment
#define InterlockedExchangeAdd
BOOLEAN NTAPI KdPollBreakIn(VOID)
#define DBG_STATUS_CONTROL_C
FORCEINLINE VOID KiWriteSystemTime(_Out_ volatile KSYSTEM_TIME *SystemTime, _In_ LARGE_INTEGER NewTime)
NTKERNELAPI volatile KSYSTEM_TIME KeTickCount
#define KiEndInterrupt(x, y)
FORCEINLINE VOID KiCheckForTimerExpiration(PKPRCB Prcb, PKTRAP_FRAME TrapFrame, LARGE_INTEGER InterruptTime)
VOID NTAPI KeUpdateRunTime(IN PKTRAP_FRAME TrapFrame, IN KIRQL Irql)
__analysis_noreturn NTSYSAPI VOID NTAPI DbgBreakPointWithStatus(_In_ ULONG Status)
Referenced by HalpClockInterrupt(), and HalpClockInterruptHandler().
◆ KiCheckForTimerExpiration()
Definition at line 25 of file time.c.
29{
31
32
35 {
36
38 {
39
43 }
44 }
45}
static PLARGE_INTEGER Time
KTIMER_TABLE_ENTRY KiTimerTableListHead[TIMER_TABLE_SIZE]
Referenced by KeUpdateSystemTime().
◆ KeTimeAdjustment
◆ KiTickOffset
◆ KiTimeAdjustmentEnabled