Go to the source code of this file.
◆ APC_LEVEL
◆ CLOCK1_LEVEL
◆ CLOCK2_LEVEL
◆ DISPATCH_LEVEL
◆ HIGH_LEVEL
◆ IPI_LEVEL
◆ KeGetPcr
Definition at line 64 of file ke.h.
◆ KeLowerIrql
Definition at line 87 of file ke.h.
◆ KeRaiseIrql
Definition at line 94 of file ke.h.
◆ LOW_LEVEL
◆ PASSIVE_LEVEL
◆ PCR_MAJOR_VERSION
Definition at line 42 of file ke.h.
◆ PCR_MINOR_VERSION
Definition at line 41 of file ke.h.
◆ POWER_LEVEL
◆ PROFILE_LEVEL
◆ YieldProcessor
Definition at line 66 of file ke.h.
◆ KFLOATING_SAVE
◆ KPCR
◆ KPCR_TIB
◆ PFN_NUMBER
Definition at line 20 of file ke.h.
◆ PKFLOATING_SAVE
◆ PKPCR
◆ PKPCR_TIB
◆ PPFN_NUMBER
Definition at line 20 of file ke.h.
◆ PSPFN_NUMBER
Definition at line 21 of file ke.h.
◆ SPFN_NUMBER
Definition at line 21 of file ke.h.
◆ $if()
Kernel definitions for PPC
Kernel definitions for AMD64
Kernel definitions for ARM
Kernel definitions for ARM64
Kernel definitions for AMD64
Kernel definitions for ARM
Kernel definitions for x86
Definition at line 1 of file ke.h.
◆ KeGetCurrentProcessorNumber()
Definition at line 71 of file ke.h.
72{
75 "lwz %0, %c1(12)\n"
78 );
80}
_In_opt_ PENTER_STATE_SYSTEM_HANDLER _In_opt_ PVOID _In_ LONG _In_opt_ LONG volatile * Number
__asm__(".p2align 4, 0x90\n" ".seh_proc __seh2_global_filter_func\n" "__seh2_global_filter_func:\n" "\tsub %rbp, %rax\n" "\tpush %rbp\n" "\t.seh_pushreg %rbp\n" "\tsub $32, %rsp\n" "\t.seh_stackalloc 32\n" "\t.seh_endprologue\n" "\tsub %rax, %rdx\n" "\tmov %rdx, %rbp\n" "\tjmp *%r8\n" "__seh2_global_filter_func_exit:\n" "\t.p2align 4\n" "\tadd $32, %rsp\n" "\tpop %rbp\n" "\tret\n" "\t.seh_endproc")
#define FIELD_OFFSET(t, f)
◆ KeRaiseIrqlToDpcLevel()
Definition at line 133 of file pic.c.
134{
137
138
139 CurrentIrql = Pcr->
Irql;
141
142#ifdef IRQL_DEBUG
143
145#endif
146
147
148 return CurrentIrql;
149}
DECLSPEC_NORETURN VOID NTAPI KeBugCheck(ULONG BugCheckCode)
◆ KeRaiseIrqlToSynchLevel()
Definition at line 156 of file pic.c.
157{
160
161
162 CurrentIrql = Pcr->
Irql;
164
165#ifdef IRQL_DEBUG
166
168 {
169
171 CurrentIrql,
173 0,
174 1);
175 }
176#endif
177
178
179 return CurrentIrql;
180}
VOID NTAPI KeBugCheckEx(_In_ ULONG BugCheckCode, _In_ ULONG_PTR BugCheckParameter1, _In_ ULONG_PTR BugCheckParameter2, _In_ ULONG_PTR BugCheckParameter3, _In_ ULONG_PTR BugCheckParameter4)
◆ KfLowerIrql()
Definition at line 232 of file pic.c.
233{
237
238
241
242#ifdef IRQL_DEBUG
243
245 {
246
249 }
250#endif
251
252
254
255
256 InterruptMask = Pcr->IrqlTable[
NewIrql];
258
259
262}
FORCEINLINE ARM_STATUS_REGISTER KeArmStatusRegisterGet(VOID)
#define WRITE_REGISTER_ULONG(r, v)
void __cdecl _disable(void)
void __cdecl _enable(void)
_Requires_lock_held_ SpinLock _Releases_lock_ SpinLock _In_ _IRQL_restores_ KIRQL NewIrql
_Must_inspect_result_ _In_ ULONG Flags
_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _In_ _IRQL_restores_ KIRQL OldIrql
Referenced by HalpGrowMapBufferWorker(), KeLowerIrql(), KeQueryPerformanceCounter(), KeReleaseInStackQueuedSpinLock(), KeReleaseQueuedSpinLock(), KiChainedDispatch(), KiCheckForApcDelivery(), KiExitV86Trap(), KiInitializeSystem(), and KiThreadStartup().
◆ KfRaiseIrql()
Definition at line 187 of file pic.c.
188{
193
194
197
198
199 CurrentIrql = Pcr->
Irql;
200
201#ifdef IRQL_DEBUG
202
204 {
205
208 }
209#endif
210
212
213
214 InterruptMask = Pcr->IrqlTable[
NewIrql];
216
217
219
220
222
223
224 return CurrentIrql;
225}
Referenced by _IRQL_requires_max_(), _Requires_lock_not_held_(), HalInitSystem(), HalpGrowMapBufferWorker(), KeAcquireInStackQueuedSpinLock(), KeAcquireInStackQueuedSpinLockRaiseToSynch(), KeAcquireQueuedSpinLock(), KeAcquireQueuedSpinLockRaiseToSynch(), KeAcquireSpinLockRaiseToSynch(), KeQueryPerformanceCounter(), KeRaiseIrql(), KeRaiseIrqlToDpcLevel(), KeRaiseIrqlToSynchLevel(), KeSynchronizeExecution(), KfAcquireSpinLock(), KiAcquireDispatcherLock(), KiChainedDispatch(), KiCheckForApcDelivery(), KiExitV86Trap(), KiIdleLoop(), KiInitializeKernel(), KiInitializeSystem(), KiInterruptHandler(), KiSystemStartup(), KiSystemStartupBootStack(), and KxRaiseIrql().