ReactOS  r76032
ke.h
Go to the documentation of this file.
1 #pragma once
2 
3 /* INCLUDES *****************************************************************/
4 
5 #include "arch/ke.h"
6 
7 /* INTERNAL KERNEL TYPES ****************************************************/
8 
9 typedef struct _WOW64_PROCESS
10 {
13 
15 {
19 
20 typedef enum _CONNECT_TYPE
21 {
27 
28 typedef struct _DISPATCH_INFO
29 {
38 
40 {
44 
45 typedef struct _KI_SAMPLE_MAP
46 {
56 
57 #define MAX_TIMER_DPCS 16
58 
59 typedef struct _DPC_QUEUE_ENTRY
60 {
65 
66 typedef struct _KNMI_HANDLER_CALLBACK
67 {
73 
74 typedef PCHAR
76  IN PUNICODE_STRING Unicode,
77  IN PCHAR Ansi,
79 );
80 
82 extern PKNMI_HANDLER_CALLBACK KiNmiCallbackListHead;
94 extern ULONG KeFeatureBits;
95 extern KNODE KiNode0;
96 extern PKNODE KeNodeBlock[1];
97 extern UCHAR KeNumberNodes;
108 extern ULONG KiMinimumDpcRate;
110 extern ULONG KiIdealDpcRate;
115 extern ULONG KiServiceLimit;
118 extern KDPC KiTimerExpireDpc;
126 extern KEVENT KiSwapEvent;
127 extern PKPRCB KiProcessorBlock[];
129 extern ULONG_PTR KiIdleSummary;
134 extern ULONG KeTimeIncrement;
135 extern ULONG KeTimeAdjustment;
137 extern LONG KiTickOffset;
138 extern ULONG_PTR KiBugCheckData[5];
139 extern ULONG KiFreezeFlag;
140 extern ULONG KiDPCTimeout;
143 extern ULONG ProcessCount;
145 
146 /* MACROS *************************************************************************/
147 
148 #define AFFINITY_MASK(Id) KiMask32Array[Id]
149 #define PRIORITY_MASK(Id) KiMask32Array[Id]
150 
151 /* Tells us if the Timer or Event is a Syncronization or Notification Object */
152 #define TIMER_OR_EVENT_TYPE 0x7L
153 
154 /* One of the Reserved Wait Blocks, this one is for the Thread's Timer */
155 #define TIMER_WAIT_BLOCK 0x3L
156 
157 /* INTERNAL KERNEL FUNCTIONS ************************************************/
158 
159 /* Finds a new thread to run */
160 LONG_PTR
161 FASTCALL
164  IN PKPRCB Prcb
165 );
166 
167 VOID
168 NTAPI
171 );
172 
173 BOOLEAN
174 NTAPI
177  IN BOOLEAN Disable
178 );
179 
180 BOOLEAN
181 NTAPI
184  IN BOOLEAN Disable
185 );
186 
187 BOOLEAN
188 NTAPI
192 );
193 
194 KAFFINITY
195 NTAPI
199 );
200 
201 VOID
202 NTAPI
206 );
207 
208 VOID
209 NTAPI
211 
212 VOID
213 NTAPI
215 
216 ULONG
217 NTAPI
219 
220 BOOLEAN
221 NTAPI
223 
224 BOOLEAN
225 FASTCALL
227  IN KIRQL WaitIrql,
228  IN PKTHREAD CurrentThread
229 );
230 
231 VOID
232 NTAPI
234 
235 VOID
236 FASTCALL
238 
239 VOID
240 FASTCALL
242 
243 PKTHREAD
244 FASTCALL
246  IN PKPRCB Prcb
247 );
248 
249 VOID
250 FASTCALL
252  IN PKPRCB Prcb
253 );
254 
255 KAFFINITY
256 FASTCALL
260 );
261 
262 PKTHREAD
263 FASTCALL
265  IN PKPRCB Prcb
266 );
267 
268 BOOLEAN
269 FASTCALL
271  IN PKTIMER Timer,
272  IN ULONG Hand
273 );
274 
275 VOID
276 FASTCALL
278  IN PLIST_ENTRY ExpiredListHead,
280 );
281 
282 BOOLEAN
283 FASTCALL
285  IN PKTIMER Timer,
287 );
288 
289 VOID
290 FASTCALL
292  IN PKTIMER Timer,
293  IN PKSPIN_LOCK_QUEUE LockQueue
294 );
295 
296 /* gmutex.c ********************************************************************/
297 
298 VOID
299 FASTCALL
301  IN OUT PKGUARDED_MUTEX GuardedMutex
302 );
303 
304 VOID
305 FASTCALL
307  IN PFAST_MUTEX FastMutex
308 );
309 
310 /* gate.c **********************************************************************/
311 
312 VOID
313 FASTCALL
315 
316 VOID
317 FASTCALL
319 
320 VOID
321 FASTCALL
323  PKGATE Gate,
324  KWAIT_REASON WaitReason,
325  KPROCESSOR_MODE WaitMode
326 );
327 
328 /* ipi.c ********************************************************************/
329 
330 VOID
331 FASTCALL
332 KiIpiSend(
333  KAFFINITY TargetSet,
334  ULONG IpiRequest
335 );
336 
337 VOID
338 NTAPI
340  IN KAFFINITY TargetProcessors,
341  IN PKIPI_WORKER WorkerFunction,
342  IN PKIPI_BROADCAST_WORKER BroadcastFunction,
344  IN PULONG Count
345 );
346 
347 VOID
348 FASTCALL
350  IN PKIPI_CONTEXT PacketContext
351 );
352 
353 VOID
354 FASTCALL
356  IN PKIPI_CONTEXT PacketContext,
357  IN volatile PULONG ReverseStall
358 );
359 
360 /* next file ***************************************************************/
361 
362 UCHAR
363 NTAPI
365  IN UCHAR Number,
366  IN ULONG Set
367 );
368 
369 VOID
370 NTAPI
372 
373 VOID
374 NTAPI
376  struct _KPROFILE* Profile,
377  struct _KPROCESS* Process,
378  PVOID ImageBase,
379  SIZE_T ImageSize,
380  ULONG BucketSize,
381  KPROFILE_SOURCE ProfileSource,
383 );
384 
385 BOOLEAN
386 NTAPI
388  struct _KPROFILE* Profile,
389  PVOID Buffer
390 );
391 
392 BOOLEAN
393 NTAPI
394 KeStopProfile(struct _KPROFILE* Profile);
395 
396 ULONG
397 NTAPI
399 
400 VOID
401 NTAPI
403  ULONG Interval,
404  KPROFILE_SOURCE ProfileSource
405 );
406 
407 VOID
408 NTAPI
410  PKTRAP_FRAME TrapFrame,
411  KIRQL Irql
412 );
413 
414 VOID
415 NTAPI
417  PKDPC Dpc,
421 );
422 
423 VOID
424 NTAPI
428  IN PKSYSTEM_ROUTINE SystemRoutine,
430  IN PVOID StartContext,
432  IN PVOID Teb,
433  IN PVOID KernelStack
434 );
435 
436 VOID
437 NTAPI
440 );
441 
442 NTSTATUS
443 NTAPI
446  IN PVOID KernelStack,
447  IN PKSYSTEM_ROUTINE SystemRoutine,
449  IN PVOID StartContext,
451  IN PVOID Teb,
453 );
454 
455 VOID
456 NTAPI
459  PKSYSTEM_ROUTINE SystemRoutine,
461  PVOID StartContext,
463 );
464 
465 VOID
466 NTAPI
469 );
470 
471 BOOLEAN
472 NTAPI
475  IN KPROCESSOR_MODE AlertMode
476 );
477 
478 ULONG
479 NTAPI
482 );
483 
484 ULONG
485 NTAPI
488 );
489 
490 PVOID
491 NTAPI
493  IN PVOID StackBase,
494  IN PVOID StackLimit
495 );
496 
497 VOID
498 NTAPI
500 
501 NTSTATUS
502 NTAPI
504 
505 VOID
506 NTAPI
508  IN PKAPC Apc
509 );
510 
511 VOID
512 NTAPI
514  IN PKAPC Apc,
515  IN PKNORMAL_ROUTINE *NormalRoutine,
516  IN PVOID *NormalContext,
519 );
520 
521 VOID
522 NTAPI
524  IN PVOID NormalContext,
527 );
528 
529 LONG
530 NTAPI
532 
533 VOID
534 FASTCALL
538 );
539 
540 VOID
541 FASTCALL
544  IN LONG_PTR WaitStatus
545 );
546 
547 VOID
548 NTAPI
550 
551 BOOLEAN
552 NTAPI
554 
555 VOID
556 FASTCALL
559  IN LONG_PTR WaitStatus,
561 );
562 
563 VOID
564 NTAPI
566  struct _KPROCESS *Process,
569  PULONG_PTR DirectoryTableBase,
571 );
572 
573 VOID
574 NTAPI
577  IN UCHAR Quantum
578 );
579 
580 KPRIORITY
581 NTAPI
585  IN UCHAR Quantum OPTIONAL
586 );
587 
588 ULONG
589 NTAPI
591 
592 VOID
593 NTAPI
595  VOID
596 );
597 
598 VOID
599 NTAPI
601  VOID
602 );
603 
604 BOOLEAN
605 NTAPI
607 
608 VOID
609 FASTCALL
610 KiWaitTest(
611  PVOID Object,
613 );
614 
615 VOID
616 NTAPI
619  PKEXCEPTION_FRAME ExeptionFrame,
620  PKTRAP_FRAME TrapFrame,
621  ULONG ContextFlags,
623 );
624 
625 VOID
626 NTAPI
628 
629 VOID
630 NTAPI
632 
633 LONG
634 NTAPI
636  IN PKQUEUE Queue,
638  BOOLEAN Head
639 );
640 
641 VOID
642 NTAPI
644  IN PKDPC Dpc,
648 );
649 
650 ULONG
651 NTAPI
653  struct _KPROCESS* Process,
655  BOOLEAN InWait
656 );
657 
658 VOID
659 NTAPI
661 
662 VOID
663 NTAPI
666  IN PKTRAP_FRAME TrapFrame,
667  IN PKNORMAL_ROUTINE NormalRoutine,
668  IN PVOID NormalContext,
671 );
672 
674 NTAPI
678 );
679 
680 VOID
681 NTAPI
683  struct _KTHREAD *Thread,
684  struct _KPROCESS *Process,
685  PKLOCK_QUEUE_HANDLE ApcLock,
686  struct _KAPC_STATE *SavedApcState
687 );
688 
689 VOID
690 NTAPI
692  struct _KPROCESS *NewProcess,
693  struct _KPROCESS *OldProcess
694 );
695 
696 BOOLEAN
697 NTAPI
699 
700 BOOLEAN
701 NTAPI
703 
704 VOID
705 FASTCALL
707 
708 ULONG
709 NTAPI
712 
713 /* INITIALIZATION FUNCTIONS *************************************************/
714 
715 BOOLEAN
716 NTAPI
718 
719 VOID
720 NTAPI
722 
723 VOID
724 NTAPI
726 
727 VOID
728 NTAPI
730 
731 VOID
732 NTAPI
734  IN PLOADER_PARAMETER_BLOCK LoaderBlock
735 );
736 
737 BOOLEAN
738 NTAPI
739 KiDeliverUserApc(PKTRAP_FRAME TrapFrame);
740 
741 VOID
742 NTAPI
744  PKAPC_STATE OldState,
745  PKAPC_STATE NewState
746 );
747 
748 VOID
749 NTAPI
752  ULONG Pc
753 );
754 
755 VOID
756 NTAPI
758  PEXCEPTION_RECORD ExceptionRecord,
759  PKEXCEPTION_FRAME ExceptionFrame,
760  PKTRAP_FRAME Tf,
762  BOOLEAN SearchFrames
763 );
764 
765 VOID
766 NTAPI
768  IN PKTRAP_FRAME TrapFrame,
769  IN PKEXCEPTION_FRAME ExceptionFrame,
771 );
772 
774 VOID
775 NTAPI
777  ULONG BugCheckCode,
778  ULONG_PTR BugCheckParameter1,
779  ULONG_PTR BugCheckParameter2,
780  ULONG_PTR BugCheckParameter3,
781  ULONG_PTR BugCheckParameter4,
782  PKTRAP_FRAME Tf
783 );
784 
785 BOOLEAN
786 NTAPI
788 
789 VOID
790 NTAPI
792 
793 BOOLEAN
794 NTAPI
796 
797 VOID
798 FASTCALL
800  IN ULONG Size);
801 
802 BOOLEAN
803 FASTCALL
804 KeInvalidAccessAllowed(IN PVOID TrapInformation OPTIONAL);
805 
806 VOID
807 NTAPI
809  PULONG_PTR Frame,
810  ULONG FrameCount
811 );
812 
813 VOID
814 NTAPI
816  IN PLARGE_INTEGER NewSystemTime,
817  OUT PLARGE_INTEGER OldSystemTime,
818  IN BOOLEAN FixInterruptTime,
819  IN PLARGE_INTEGER HalTime
820 );
821 
822 ULONG
823 NTAPI
825  ULONG ExceptionNr,
826  PKTRAP_FRAME Tf,
827  ULONG address
828 );
829 
830 VOID
831 NTAPI
833  VOID
834 );
835 
836 VOID
837 NTAPI
839  VOID
840 );
841 
842 NTSTATUS
843 NTAPI
845  IN PEXCEPTION_RECORD ExceptionRecord,
847  IN PKEXCEPTION_FRAME ExceptionFrame,
848  IN PKTRAP_FRAME TrapFrame,
849  IN BOOLEAN SearchFrames
850 );
851 
852 NTSTATUS
853 NTAPI
854 KiContinue(
856  IN PKEXCEPTION_FRAME ExceptionFrame,
857  IN PKTRAP_FRAME TrapFrame
858 );
859 
861 VOID
862 FASTCALL
864  IN PKTRAP_FRAME TrapFrame,
866 );
867 
869 VOID
870 FASTCALL
872  IN PKTRAP_FRAME TrapFrame
873 );
874 
875 #ifndef _M_AMD64
876 VOID
877 FASTCALL
879  IN PKTRAP_FRAME TrapFrame,
880  IN PKINTERRUPT Interrupt
881 );
882 #endif
883 
884 VOID
885 FASTCALL
887  IN PKTRAP_FRAME TrapFrame,
888  IN PKINTERRUPT Interrupt
889 );
890 
891 VOID
892 NTAPI
894  VOID
895 );
896 
897 VOID
898 NTAPI
900  IN PKPROCESS InitProcess,
901  IN PKTHREAD InitThread,
902  IN PVOID IdleStack,
903  IN PKPRCB Prcb,
904  IN CCHAR Number,
905  IN PLOADER_PARAMETER_BLOCK LoaderBlock
906 );
907 
908 VOID
909 NTAPI
911  IN PKPRCB Prcb,
912  IN CCHAR Number
913 );
914 
916 NTAPI
918  IN LONG Divisor,
920 );
921 
922 VOID
923 NTAPI
925  VOID
926 );
927 
928 VOID
929 FASTCALL
931  IN PKAPC Apc,
933 );
934 
935 NTSTATUS
936 NTAPI
939  IN PULONG OutputLength
940 );
941 
943 VOID
944 FASTCALL
946  IN PVOID Stack,
948 );
949 
950 VOID
951 NTAPI
953 
954 BOOLEAN
955 NTAPI
957  IN PKEXCEPTION_FRAME ExceptionFrame);
958 
959 VOID
960 NTAPI
962 
963 VOID
964 FASTCALL
966  IN OUT PKSPIN_LOCK_QUEUE LockQueue
967 );
968 
969 VOID
970 FASTCALL
972  IN OUT PKSPIN_LOCK_QUEUE LockQueue
973 );
974 
975 VOID
976 NTAPI
978  IN PKPROCESSOR_STATE ProcessorState
979 );
980 
981 VOID
982 NTAPI
984  OUT PKPROCESSOR_STATE ProcessorState
985 );
986 
987 VOID
988 NTAPI
990  IN PKTRAP_FRAME TrapFrame,
991  IN PKEXCEPTION_FRAME ExceptionFrame
992 );
993 
994 VOID
995 FASTCALL
997  IN PKPRCB Prcb
998 );
999 
1000 VOID
1001 NTAPI
1002 KiQuantumEnd(
1003  VOID
1004 );
1005 
1006 VOID
1007 FASTCALL
1008 KiIdleLoop(
1009  VOID
1010 );
1011 
1013 VOID
1014 FASTCALL
1016  IN ULONG ExceptionCode,
1017  IN PKTRAP_FRAME TrapFrame
1018 );
1019 
1020 PVOID
1021 NTAPI
1023  OUT PLDR_DATA_TABLE_ENTRY *LdrEntry,
1024  IN BOOLEAN DriversOnly,
1025  OUT PBOOLEAN InKernel);
1026 
1027 PVOID
1028 NTAPI
1030  OUT PLDR_DATA_TABLE_ENTRY *LdrEntry);
1031 
1032 PCHAR
1033 NTAPI
1035  IN PUNICODE_STRING Unicode,
1036  OUT PCHAR Ansi,
1037  IN ULONG Length
1038 );
1039 
1040 #include "ke_x.h"
PKINTERRUPT Interrupt
Definition: ke.h:31
VOID NTAPI KeContextToTrapFrame(PCONTEXT Context, PKEXCEPTION_FRAME ExeptionFrame, PKTRAP_FRAME TrapFrame, ULONG ContextFlags, KPROCESSOR_MODE PreviousMode)
DWORD *typedef PVOID
Definition: winlogon.h:52
VOID NTAPI KiInitSystem(VOID)
Definition: krnlinit.c:71
signed char * PCHAR
Definition: retypes.h:7
BOOLEAN NTAPI KeSetDisableBoostThread(IN OUT PKTHREAD Thread, IN BOOLEAN Disable)
Definition: thrdobj.c:95
VOID NTAPI KiInitMachineDependent(VOID)
Definition: kiinit.c:47
PLIST_ENTRY NTAPI KeFlushQueueApc(IN PKTHREAD Thread, IN KPROCESSOR_MODE PreviousMode)
Definition: apc.c:793
VOID FASTCALL KeReleaseQueuedSpinLockFromDpcLevel(IN OUT PKSPIN_LOCK_QUEUE LockQueue)
PVOID NTAPI KiPcToFileHeader(IN PVOID Eip, OUT PLDR_DATA_TABLE_ENTRY *LdrEntry, IN BOOLEAN DriversOnly, OUT PBOOLEAN InKernel)
Definition: bug.c:44
VOID NTAPI KeRundownThread(VOID)
Definition: thrdobj.c:439
DECLSPEC_NORETURN VOID FASTCALL KiServiceExit2(IN PKTRAP_FRAME TrapFrame)
Definition: traphdlr.c:189
KAFFINITY FASTCALL KiSetAffinityThread(IN PKTHREAD Thread, IN KAFFINITY Affinity)
Definition: thrdschd.c:685
#define IN
Definition: typedefs.h:38
ULONG NTAPI KeAlertResumeThread(IN PKTHREAD Thread)
Definition: thrdobj.c:133
PKINTERRUPT_ROUTINE FloatingDispatch
Definition: ke.h:34
enum _KPROFILE_SOURCE KPROFILE_SOURCE
VOID FASTCALL KiUnwaitThread(IN PKTHREAD Thread, IN LONG_PTR WaitStatus, IN KPRIORITY Increment)
Definition: wait.c:89
VOID NTAPI KeReadyThread(IN PKTHREAD Thread)
Definition: thrdobj.c:115
VOID(NTAPI * PKINTERRUPT_ROUTINE)(VOID)
Definition: ketypes.h:475
VOID NTAPI KeThawAllThreads(VOID)
Definition: thrdobj.c:669
PVOID ULONG Address
Definition: oprghdlr.h:14
VOID NTAPI KeUpdateRunTime(PKTRAP_FRAME TrapFrame, KIRQL Irql)
KAFFINITY NTAPI KeSetAffinityProcess(IN PKPROCESS Process, IN KAFFINITY Affinity)
Definition: procobj.c:265
ULONGLONG KeBootTimeBias
Definition: clock.c:18
KSPIN_LOCK KiProfileLock
Definition: profobj.c:20
KDPC KiTimerExpireDpc
Definition: dpc.c:25
ULONG ProcessCount
Definition: perfdata.c:37
#define __cdecl
Definition: accygwin.h:79
BOOLEAN NTAPI KeSetAutoAlignmentProcess(IN PKPROCESS Process, IN BOOLEAN Enable)
Definition: procobj.c:313
PVOID KeUserApcDispatcher
Definition: ke.h:130
LARGE_INTEGER NTAPI KiComputeReciprocal(IN LONG Divisor, OUT PUCHAR Shift)
Definition: krnlinit.c:123
BOOLEAN Enable
Definition: acefiex.h:245
struct _DISPATCH_INFO DISPATCH_INFO
VOID NTAPI KiSystemStartup(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
Definition: kiinit.c:373
ULONG KiServiceLimit
Definition: krnlinit.c:26
LARGE_INTEGER PerfStart
Definition: ke.h:47
LARGE_INTEGER PerfEnd
Definition: ke.h:48
VOID NTAPI KeStartThread(IN OUT PKTHREAD Thread)
Definition: thrdobj.c:498
KIPI_BROADCAST_WORKER * PKIPI_BROADCAST_WORKER
Definition: ketypes.h:590
_In_ ULONG _In_opt_ POBJECT_ATTRIBUTES _In_opt_ HANDLE _Out_opt_ PCLIENT_ID _In_ PKSTART_ROUTINE StartRoutine
Definition: psfuncs.h:87
KNODE KiNode0
Definition: krnlinit.c:38
BOOLEAN NTAPI KeSetDisableBoostProcess(IN PKPROCESS Process, IN BOOLEAN Disable)
Definition: procobj.c:331
struct _KNMI_HANDLER_CALLBACK KNMI_HANDLER_CALLBACK
NTSTATUS NTAPI KeInitThread(IN OUT PKTHREAD Thread, IN PVOID KernelStack, IN PKSYSTEM_ROUTINE SystemRoutine, IN PKSTART_ROUTINE StartRoutine, IN PVOID StartContext, IN PCONTEXT Context, IN PVOID Teb, IN PKPROCESS Process)
Definition: thrdobj.c:765
ULONGLONG BootCycles
Definition: kiinit.c:30
ULONG KiUnexpectedEntrySize
unsigned char * PUCHAR
Definition: retypes.h:3
VOID NTAPI KeThawExecution(IN BOOLEAN Enable)
Definition: freeze.c:46
NTSTATUS NTAPI KiCallUserMode(IN PVOID *OutputBuffer, IN PULONG OutputLength)
Definition: stubs.c:441
PVOID NTAPI KeSwitchKernelStack(IN PVOID StackBase, IN PVOID StackLimit)
NTSTATUS NTAPI KeReleaseThread(PKTHREAD Thread)
LARGE_INTEGER PerfFreq
Definition: ke.h:50
ULONG NTAPI KeResumeThread(IN PKTHREAD Thread)
Definition: thrdobj.c:397
VOID NTAPI KeInitExceptions(VOID)
Definition: except.c:59
VOID FASTCALL KiUnlinkThread(IN PKTHREAD Thread, IN LONG_PTR WaitStatus)
Definition: wait.c:55
_In_ KPRIORITY Priority
Definition: kefuncs.h:516
VOID __cdecl KiInterruptTemplate(VOID)
VOID NTAPI KiAdjustQuantumThread(IN PKTHREAD Thread)
Definition: thrdschd.c:461
VOID NTAPI Ke386SetIOPL(VOID)
Definition: v86vdm.c:578
VOID FASTCALL KiDeferredReadyThread(IN PKTHREAD Thread)
Definition: thrdschd.c:79
PKTHREAD FASTCALL KiSelectNextThread(IN PKPRCB Prcb)
Definition: thrdschd.c:328
PKINTERRUPT_ROUTINE NoDispatch
Definition: ke.h:32
_Inout_ __drv_aliasesMem PSLIST_ENTRY _Inout_ PSLIST_ENTRY _In_ ULONG Count
Definition: exfuncs.h:1015
VOID FASTCALL KeAcquireQueuedSpinLockAtDpcLevel(IN OUT PKSPIN_LOCK_QUEUE LockQueue)
VOID FASTCALL KiWaitTest(PVOID Object, KPRIORITY Increment)
VOID NTAPI KiCheckForKernelApcDelivery(VOID)
Definition: apc.c:36
ULONG KeFeatureBits
Definition: krnlinit.c:22
VOID NTAPI KiQuantumEnd(VOID)
Definition: dpc.c:465
LONGLONG PerfDelta
Definition: ke.h:49
ULONG KiAdjustDpcThreshold
Definition: dpc.c:21
VOID FASTCALL KiTimerListExpire(IN PLIST_ENTRY ExpiredListHead, IN KIRQL OldIrql)
Definition: dpc.c:338
VOID NTAPI KiInitializeUserApc(IN PKEXCEPTION_FRAME Reserved, IN PKTRAP_FRAME TrapFrame, IN PKNORMAL_ROUTINE NormalRoutine, IN PVOID NormalContext, IN PVOID SystemArgument1, IN PVOID SystemArgument2)
Definition: stubs.c:203
VOID FASTCALL KiInsertQueueApc(IN PKAPC Apc, IN KPRIORITY PriorityBoost)
Definition: apc.c:85
VOID NTAPI DbgBreakPointNoBugCheck(VOID)
VOID NTAPI KiStartUnexpectedRange(VOID)
PNMI_CALLBACK Callback
Definition: ke.h:69
PVOID PKIPI_CONTEXT
Definition: ketypes.h:558
ULONG KiTimeLimitIsrMicroseconds
Definition: dpc.c:26
PVOID Wow64
Definition: ke.h:11
PCHAR NTAPI KeBugCheckUnicodeToAnsi(IN PUNICODE_STRING Unicode, OUT PCHAR Ansi, IN ULONG Length)
Definition: bug.c:552
VOID NTAPI KeInitializeProcess(struct _KPROCESS *Process, KPRIORITY Priority, KAFFINITY Affinity, PULONG_PTR DirectoryTableBase, IN BOOLEAN Enable)
#define FASTCALL
Definition: nt_native.h:50
_Out_ PKIRQL Irql
Definition: csq.h:179
#define DECLSPEC_NORETURN
Definition: ntbasedef.h:168
VOID NTAPI KiSuspendNop(IN PKAPC Apc, IN PKNORMAL_ROUTINE *NormalRoutine, IN PVOID *NormalContext, IN PVOID *SystemArgument1, IN PVOID *SystemArgument2)
Definition: thrdobj.c:580
LONG KPRIORITY
Definition: compat.h:454
BOOLEAN NTAPI KiDeliverUserApc(PKTRAP_FRAME TrapFrame)
VOID FASTCALL KiChainedDispatch(IN PKTRAP_FRAME TrapFrame, IN PKINTERRUPT Interrupt)
Definition: irqobj.c:231
struct _KNMI_HANDLER_CALLBACK * Next
Definition: ke.h:68
BOOLEAN KiTimeAdjustmentEnabled
Definition: time.c:19
enum _CONNECT_TYPE CONNECT_TYPE
BOOLEAN NTAPI KiTestAlert(VOID)
Definition: ketypes.h:661
uint32_t ULONG_PTR
Definition: typedefs.h:63
BOOLEAN FASTCALL KiSwapContext(IN KIRQL WaitIrql, IN PKTHREAD CurrentThread)
FAST_MUTEX KiGenericCallDpcMutex
Definition: dpc.c:24
ULONG NTAPI KeSetProcess(struct _KPROCESS *Process, KPRIORITY Increment, BOOLEAN InWait)
_CONNECT_TYPE
Definition: ke.h:20
LARGE_INTEGER KeBootTime
Definition: clock.c:17
UCHAR KIRQL
Definition: env_spec_w32.h:591
VOID NTAPI KeBoostPriorityThread(IN PKTHREAD Thread, IN KPRIORITY Increment)
Definition: thrdobj.c:229
ULONG NTAPI KeSuspendThread(PKTHREAD Thread)
Definition: thrdobj.c:610
LIST_ENTRY KiProfileListHead
Definition: profobj.c:18
VOID NTAPI KiInitializeContextThread(PKTHREAD Thread, PKSYSTEM_ROUTINE SystemRoutine, PKSTART_ROUTINE StartRoutine, PVOID StartContext, PCONTEXT Context)
PVOID KeUserCallbackDispatcher
Definition: ke.h:131
VOID NTAPI KiEndUnexpectedRange(VOID)
UCHAR NTAPI KeFindNextRightSetAffinity(IN UCHAR Number, IN ULONG Set)
Definition: thrdobj.c:32
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
LONG KiTickOffset
Definition: time.c:17
KSTART_ROUTINE * PKSTART_ROUTINE
Definition: ketypes.h:472
PVOID KeRaiseUserExceptionDispatcher
Definition: ke.h:133
VOID NTAPI KeRosDumpStackFrames(PULONG_PTR Frame, ULONG FrameCount)
BOOLEAN NTAPI KeRemoveQueueApc(PKAPC Apc)
long LONG
Definition: pedump.c:60
struct _DEFERRED_REVERSE_BARRIER DEFERRED_REVERSE_BARRIER
VOID NTAPI KiDispatchException(PEXCEPTION_RECORD ExceptionRecord, PKEXCEPTION_FRAME ExceptionFrame, PKTRAP_FRAME Tf, KPROCESSOR_MODE PreviousMode, BOOLEAN SearchFrames)
VOID NTAPI KeInitInterrupts(VOID)
Definition: ppc_irq.c:151
KPROFILE_SOURCE Source
Definition: ke.h:16
VOID NTAPI KiTimerExpiration(IN PKDPC Dpc, IN PVOID DeferredContext, IN PVOID SystemArgument1, IN PVOID SystemArgument2)
Definition: dpc.c:79
UCHAR KeProcessNodeSeed
Definition: krnlinit.c:41
Definition: ke.h:22
VOID FASTCALL KiSetPriorityThread(IN PKTHREAD Thread, IN KPRIORITY Priority)
Definition: thrdschd.c:511
BOOLEAN NTAPI KeFreezeExecution(IN PKTRAP_FRAME TrapFrame, IN PKEXCEPTION_FRAME ExceptionFrame)
Definition: freeze.c:26
_In_ CCHAR PriorityBoost
Definition: iofuncs.h:763
ULONG KiDPCTimeout
Definition: dpc.c:27
VOID NTAPI KiInitializeBugCheck(VOID)
Definition: bug.c:368
BOOLEAN NTAPI KeReadStateThread(IN PKTHREAD Thread)
Definition: thrdobj.c:51
DECLSPEC_NORETURN VOID NTAPI KeBugCheckWithTf(ULONG BugCheckCode, ULONG_PTR BugCheckParameter1, ULONG_PTR BugCheckParameter2, ULONG_PTR BugCheckParameter3, ULONG_PTR BugCheckParameter4, PKTRAP_FRAME Tf)
BOOLEAN NTAPI KeStopProfile(struct _KPROFILE *Profile)
struct _WOW64_PROCESS WOW64_PROCESS
CONNECT_TYPE Type
Definition: ke.h:30
ULONG NTAPI KeQueryIntervalProfile(KPROFILE_SOURCE ProfileSource)
struct _KPROFILE_SOURCE_OBJECT KPROFILE_SOURCE_OBJECT
VOID NTAPI KiRestoreProcessorControlState(IN PKPROCESSOR_STATE ProcessorState)
ULONG KeTimeAdjustment
Definition: time.c:18
ULONG KiIdealDpcRate
Definition: dpc.c:22
Definition: bufpool.h:45
VOID NTAPI KeTrapFrameToContext(IN PKTRAP_FRAME TrapFrame, IN PKEXCEPTION_FRAME ExceptionFrame, IN OUT PCONTEXT Context)
Definition: context.c:146
Definition: ke.h:59
_Must_inspect_result_ __drv_aliasesMem _In_ PDEVICE_OBJECT _In_opt_ PVOID _In_ ULONG _Out_opt_ PVOID OutputBuffer
Definition: iofuncs.h:713
LARGE_INTEGER KiTimeIncrementReciprocal
Definition: timerobj.c:18
UCHAR KiTimeIncrementShiftCount
Definition: timerobj.c:19
PKDPC Dpc
Definition: ke.h:61
ULONG KiMask32Array[MAXIMUM_PRIORITY]
Definition: thrdobj.c:18
ULONGLONG BootCyclesEnd
Definition: kiinit.c:30
PULONG KiInterruptTemplateDispatch
PCHAR(NTAPI * PKE_BUGCHECK_UNICODE_TO_ANSI)(IN PUNICODE_STRING Unicode, IN PCHAR Ansi, IN ULONG Length)
Definition: ke.h:75
LIST_ENTRY ListEntry
Definition: ke.h:17
VOID FASTCALL KiExitDispatcher(KIRQL OldIrql)
VOID NTAPI KiReadyThread(IN PKTHREAD Thread)
Definition: thrdschd.c:429
BOOLEAN FASTCALL KiInsertTimerTable(IN PKTIMER Timer, IN ULONG Hand)
Definition: timerobj.c:63
UINTN Size
Definition: acefiex.h:555
#define PCHAR
Definition: match.c:90
DECLSPEC_NORETURN VOID FASTCALL KiServiceExit(IN PKTRAP_FRAME TrapFrame, IN NTSTATUS Status)
Definition: traphdlr.c:150
DWORD Interval
Definition: netstat.c:30
_Out_ PULONG UserTime
Definition: kefuncs.h:784
VOID NTAPI KeSetIntervalProfile(ULONG Interval, KPROFILE_SOURCE ProfileSource)
PULONG KiInterruptTemplateObject
FAST_MUTEX
Definition: extypes.h:17
_In_opt_ PVOID _In_opt_ PVOID SystemArgument1
Definition: ketypes.h:660
BOOLEAN NTAPI KeInvalidateAllCaches(VOID)
Definition: cpu.c:469
int64_t LONGLONG
Definition: typedefs.h:66
ULONG KiFreezeFlag
Definition: cpu.c:38
USHORT KeProcessorArchitecture
Definition: krnlinit.c:19
unsigned char BOOLEAN
_In_ KPROCESSOR_MODE PreviousMode
Definition: sefuncs.h:103
USHORT KeProcessorRevision
Definition: krnlinit.c:21
_In_ LARGE_INTEGER _In_opt_ PKDPC Dpc
Definition: kefuncs.h:524
#define TIMER_TABLE_SIZE
Definition: ketypes.h:821
LONGLONG TSCStart
Definition: ke.h:51
VOID NTAPI KiExpireTimers(PKDPC Dpc, PVOID DeferredContext, PVOID SystemArgument1, PVOID SystemArgument2)
VOID FASTCALL KeZeroPages(IN PVOID Address, IN ULONG Size)
Definition: stubs.c:82
struct _DPC_QUEUE_ENTRY DPC_QUEUE_ENTRY
VOID(NTAPI * PKSYSTEM_ROUTINE)(PKSTART_ROUTINE StartRoutine, PVOID StartContext)
Definition: ketypes.h:625
char CCHAR
Definition: typedefs.h:50
uint64_t ULONGLONG
Definition: typedefs.h:65
struct _WOW64_PROCESS * PWOW64_PROCESS
VOID(NTAPI * PKIPI_WORKER)(IN OUT PKIPI_CONTEXT PacketContext, IN PVOID Parameter1 OPTIONAL, IN PVOID Parameter2 OPTIONAL, IN PVOID Parameter3 OPTIONAL)
Definition: ketypes.h:561
BOOLEAN FASTCALL KiInsertTreeTimer(IN PKTIMER Timer, IN LARGE_INTEGER Interval)
Definition: timerobj.c:26
PKINTERRUPT_ROUTINE InterruptDispatch
Definition: ke.h:33
NTSTATUS NTAPI KiRaiseException(IN PEXCEPTION_RECORD ExceptionRecord, IN PCONTEXT Context, IN PKEXCEPTION_FRAME ExceptionFrame, IN PKTRAP_FRAME TrapFrame, IN BOOLEAN SearchFrames)
Definition: except.c:89
PKNODE KeNodeBlock[1]
Definition: krnlinit.c:39
ULONG KiMinimumDpcRate
Definition: dpc.c:20
struct _DEFERRED_REVERSE_BARRIER * PDEFERRED_REVERSE_BARRIER
_In_ ULONG _In_ ULONG _In_ ULONG _Out_ PKIRQL _Out_ PKAFFINITY Affinity
Definition: halfuncs.h:170
GLuint address
Definition: glext.h:9393
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
Definition: fltkernel.h:2653
ULONG_PTR KiBugCheckData[5]
Definition: bug.c:30
BOOLEAN NTAPI KeAlertThread(IN PKTHREAD Thread, IN KPROCESSOR_MODE AlertMode)
Definition: thrdobj.c:185
struct _KI_SAMPLE_MAP * PKI_SAMPLE_MAP
VOID(NTAPI * PKNORMAL_ROUTINE)(IN PVOID NormalContext OPTIONAL, IN PVOID SystemArgument1 OPTIONAL, IN PVOID SystemArgument2 OPTIONAL)
Definition: ketypes.h:632
DECLSPEC_NORETURN VOID FASTCALL KiSystemFatalException(IN ULONG ExceptionCode, IN PKTRAP_FRAME TrapFrame)
Definition: except.c:402
CCHAR KPROCESSOR_MODE
Definition: ketypes.h:7
KSPIN_LOCK KiNmiCallbackListLock
Definition: bug.c:33
LIST_ENTRY KeBugcheckCallbackListHead
Definition: bug.c:21
static IUnknown Object
Definition: main.c:512
PVOID KeUserExceptionDispatcher
Definition: ke.h:132
VOID FASTCALL KiInterruptDispatch(IN PKTRAP_FRAME TrapFrame, IN PKINTERRUPT Interrupt)
Definition: irqobj.c:197
KTIMER_TABLE_ENTRY KiTimerTableListHead[TIMER_TABLE_SIZE]
Definition: timerobj.c:17
unsigned char UCHAR
Definition: xmlstorage.h:181
enum _CONNECT_TYPE * PCONNECT_TYPE
char * PBOOLEAN
Definition: retypes.h:11
ULONG KeTimeIncrement
Definition: clock.c:22
VOID FASTCALL KiCompleteTimer(IN PKTIMER Timer, IN PKSPIN_LOCK_QUEUE LockQueue)
Definition: timerobj.c:167
NMI_CALLBACK * PNMI_CALLBACK
Definition: ketypes.h:338
VOID UINTN Length
Definition: acefiex.h:744
_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _In_ _IRQL_restores_ KIRQL OldIrql
Definition: kefuncs.h:803
Definition: ketypes.h:672
KDEFERRED_ROUTINE * PKDEFERRED_ROUTINE
Definition: ketypes.h:663
VOID FASTCALL KiAcquireFastMutex(IN PFAST_MUTEX FastMutex)
Definition: wait.c:107
VOID NTAPI KiSaveProcessorControlState(OUT PKPROCESSOR_STATE ProcessorState)
Definition: cpu.c:382
BOOLEAN KeThreadDpcEnable
Definition: dpc.c:23
LONGLONG TSCDelta
Definition: ke.h:53
VOID NTAPI KiAttachProcess(struct _KTHREAD *Thread, struct _KPROCESS *Process, PKLOCK_QUEUE_HANDLE ApcLock, struct _KAPC_STATE *SavedApcState)
Definition: btrfs_drv.h:1710
Definition: ketypes.h:520
KPRIORITY NTAPI KeSetPriorityAndQuantumProcess(IN PKPROCESS Process, IN KPRIORITY Priority, IN UCHAR Quantum OPTIONAL)
Definition: procobj.c:349
EX_PUSH_LOCK KernelAddressSpaceLock
BOOLEAN NTAPI KeStartProfile(struct _KPROFILE *Profile, PVOID Buffer)
Definition: typedefs.h:117
ULONG_PTR KiIdleSummary
Definition: thrdschd.c:25
DECLSPEC_NORETURN VOID FASTCALL KiCallbackReturn(IN PVOID Stack, IN NTSTATUS Status)
VOID FASTCALL KiIpiSend(KAFFINITY TargetSet, ULONG IpiRequest)
ULONG TotalProcessors
Definition: ke.h:42
VOID FASTCALL KiIdleLoop(VOID)
Definition: stubs.c:113
KEVENT KiSwapEvent
Definition: procobj.c:21
LONGLONG TSCEnd
Definition: ke.h:52
_In_opt_ PENTER_STATE_SYSTEM_HANDLER _In_opt_ PVOID _In_ LONG _In_opt_ LONG volatile * Number
Definition: ntpoapi.h:204
ULONG PVOID Reserved
Definition: ntimage.h:533
VOID FASTCALL KiIpiSignalPacketDone(IN PKIPI_CONTEXT PacketContext)
Definition: ipi.c:55
KAFFINITY KeActiveProcessors
Definition: krnlinit.c:23
VOID NTAPI KeBalanceSetManager(IN PVOID Context)
Definition: balmgr.c:137
LIST_ENTRY KiProfileSourceListHead
Definition: profobj.c:19
VOID NTAPI KeInitializeProfile(struct _KPROFILE *Profile, struct _KPROCESS *Process, PVOID ImageBase, SIZE_T ImageSize, ULONG BucketSize, KPROFILE_SOURCE ProfileSource, KAFFINITY Affinity)
ULONG_PTR KiDoubleFaultStack
Definition: kiinit.c:37
EPROCESS KiInitialProcess
Definition: krnlinit.c:45
UCHAR KeNumberNodes
Definition: krnlinit.c:40
VOID NTAPI KiSwapProcess(struct _KPROCESS *NewProcess, struct _KPROCESS *OldProcess)
Definition: stubs.c:139
static BOOL Set
Definition: gflags.c:18
Status
Definition: gdiplustypes.h:24
_In_opt_ PVOID _In_opt_ PVOID _In_opt_ PVOID SystemArgument2
Definition: ketypes.h:660
ULONG_PTR SIZE_T
Definition: typedefs.h:78
ULONG KiMaximumDpcQueueDepth
Definition: dpc.c:19
* PFAST_MUTEX
Definition: extypes.h:17
VOID FASTCALL KiAcquireGuardedMutex(IN OUT PKGUARDED_MUTEX GuardedMutex)
Definition: wait.c:122
LONG NTSTATUS
Definition: DriverTester.h:11
ULONG NTAPI KeV86Exception(ULONG ExceptionNr, PKTRAP_FRAME Tf, ULONG address)
PKTHREAD FASTCALL KiIdleSchedule(IN PKPRCB Prcb)
Definition: thrdschd.c:32
VOID FASTCALL KeSignalGateBoostPriority(PKGATE Gate)
struct _KPROFILE_SOURCE_OBJECT * PKPROFILE_SOURCE_OBJECT
PKDEFERRED_ROUTINE Routine
Definition: ke.h:62
unsigned short USHORT
Definition: pedump.c:61
LONG_PTR FASTCALL KiSwapThread(IN PKTHREAD Thread, IN PKPRCB Prcb)
Definition: thrdschd.c:355
VOID FASTCALL KeWaitForGate(PKGATE Gate, KWAIT_REASON WaitReason, KPROCESSOR_MODE WaitMode)
ULONG_PTR KAFFINITY
Definition: compat.h:75
VOID NTAPI KeInitializeThread(IN PKPROCESS Process, IN OUT PKTHREAD Thread, IN PKSYSTEM_ROUTINE SystemRoutine, IN PKSTART_ROUTINE StartRoutine, IN PVOID StartContext, IN PCONTEXT Context, IN PVOID Teb, IN PVOID KernelStack)
Definition: thrdobj.c:900
ULONG NTAPI KeQueryRuntimeProcess(IN PKPROCESS Process, OUT PULONG UserTime)
Definition: procobj.c:805
PKPRCB KiProcessorBlock[]
Definition: krnlinit.c:32
VOID NTAPI KiMoveApcState(PKAPC_STATE OldState, PKAPC_STATE NewState)
Definition: apc.c:538
ETHREAD KiInitialThread
Definition: krnlinit.c:44
PVOID Context
Definition: ke.h:63
PGDI_BATCHFLUSH_ROUTINE KeGdiFlushUserBatch
Definition: win32.c:20
LIST_ENTRY KeBugcheckReasonCallbackListHead
Definition: bug.c:22
ULONG KSPIN_LOCK
Definition: env_spec_w32.h:72
LONG NTAPI KiInsertQueue(IN PKQUEUE Queue, IN PLIST_ENTRY Entry, BOOLEAN Head)
VOID NTAPI KiSuspendRundown(IN PKAPC Apc)
Definition: thrdobj.c:572
VOID NTAPI KiInitSpinLocks(IN PKPRCB Prcb, IN CCHAR Number)
Definition: krnlinit.c:187
BOOLEAN NTAPI KiHandleNmi(VOID)
Definition: bug.c:1206
_In_ ULONG Shift
Definition: rtlfuncs.h:2683
__int3264 LONG_PTR
Definition: mstsclib_h.h:276
unsigned int * PULONG
Definition: retypes.h:1
VOID NTAPI KiSaveProcessorState(IN PKTRAP_FRAME TrapFrame, IN PKEXCEPTION_FRAME ExceptionFrame)
Definition: cpu.c:1143
NTSTATUS(NTAPI * PGDI_BATCHFLUSH_ROUTINE)(VOID)
Definition: pstypes.h:547
struct _DISPATCH_INFO * PDISPATCH_INFO
struct _DPC_QUEUE_ENTRY * PDPC_QUEUE_ENTRY
VOID FASTCALL KiActivateWaiterQueue(IN PKQUEUE Queue)
Definition: queue.c:24
VOID NTAPI KiAddProfileEvent(KPROFILE_SOURCE Source, ULONG Pc)
VOID NTAPI KiSuspendThread(IN PVOID NormalContext, IN PVOID SystemArgument1, IN PVOID SystemArgument2)
Definition: thrdobj.c:596
BOOLEAN NTAPI KeTestAlertThread(IN KPROCESSOR_MODE AlertMode)
Definition: thrdobj.c:731
USHORT KeProcessorLevel
Definition: krnlinit.c:20
_Must_inspect_result_ _In_ PLARGE_INTEGER _In_ PLARGE_INTEGER _In_ ULONG _In_ PFILE_OBJECT _In_ PVOID Process
Definition: fsrtlfuncs.h:219
enum _KWAIT_REASON KWAIT_REASON
BOOLEAN NTAPI KeInitSystem(VOID)
Definition: krnlinit.c:293
PKINTERRUPT_ROUTINE * FlatDispatch
Definition: ke.h:36
#define OUT
Definition: typedefs.h:39
ULONG NTAPI KeForceResumeThread(IN PKTHREAD Thread)
Definition: thrdobj.c:276
ULONG MHz
Definition: ke.h:54
PULONG KiInterruptTemplate2ndDispatch
_In_ LARGE_INTEGER Divisor
Definition: rtlfuncs.h:3046
VOID NTAPI KeFreezeAllThreads(VOID)
Definition: thrdobj.c:315
unsigned int ULONG
Definition: retypes.h:1
VOID NTAPI KiIpiSendPacket(IN KAFFINITY TargetProcessors, IN PKIPI_WORKER WorkerFunction, IN PKIPI_BROADCAST_WORKER BroadcastFunction, IN ULONG_PTR Context, IN PULONG Count)
Definition: ipi.c:43
uint32_t * PULONG_PTR
Definition: typedefs.h:63
struct _KNMI_HANDLER_CALLBACK * PKNMI_HANDLER_CALLBACK
LIST_ENTRY KiStackInSwapListHead
Definition: procobj.c:20
PVOID NTAPI KiRosPcToUserFileHeader(IN PVOID Eip, OUT PLDR_DATA_TABLE_ENTRY *LdrEntry)
Definition: bug.c:109
LIST_ENTRY KiProcessInSwapListHead
Definition: procobj.c:19
LIST_ENTRY KiProcessOutSwapListHead
Definition: procobj.c:19
VOID NTAPI KeSetQuantumProcess(IN PKPROCESS Process, IN UCHAR Quantum)
Definition: procobj.c:229
BOOLEAN ExCmosClockIsSane
Definition: init.c:89
VOID NTAPI KeSetSystemTime(IN PLARGE_INTEGER NewSystemTime, OUT PLARGE_INTEGER OldSystemTime, IN BOOLEAN FixInterruptTime, IN PLARGE_INTEGER HalTime)
Definition: clock.c:28
PKINTERRUPT_ROUTINE ChainedDispatch
Definition: ke.h:35
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG Increment
Definition: CrNtStubs.h:42
VOID FASTCALL KeInitializeGate(PKGATE Gate)
VOID NTAPI KeDumpStackFrames(PULONG Frame)
Definition: stubs.c:92
VOID NTAPI KiSetupStackAndInitializeKernel(IN PKPROCESS InitProcess, IN PKTHREAD InitThread, IN PVOID IdleStack, IN PKPRCB Prcb, IN CCHAR Number, IN PLOADER_PARAMETER_BLOCK LoaderBlock)
NTSTATUS NTAPI KiContinue(IN PCONTEXT Context, IN PKEXCEPTION_FRAME ExceptionFrame, IN PKTRAP_FRAME TrapFrame)
Definition: except.c:41
VOID NTAPI KeInitializeEventPair(PKEVENT_PAIR EventPair)
LONG NTAPI KeQueryBasePriorityThread(IN PKTHREAD Thread)
Definition: thrdobj.c:61
IN HDEVINFO IN PSP_DEVINFO_DATA DeviceInfoData OPTIONAL
Definition: devinst.c:44
struct _KI_SAMPLE_MAP KI_SAMPLE_MAP
base of all file and directory entries
Definition: entries.h:82
VOID NTAPI KiInitializeMachineType(VOID)
Definition: kiinit.c:309
VOID FASTCALL KiIpiSignalPacketDoneAndStall(IN PKIPI_CONTEXT PacketContext, IN volatile PULONG ReverseStall)
Definition: ipi.c:63
VOID FASTCALL KiRetireDpcList(IN PKPRCB Prcb)
Definition: dpc.c:561
KSPIN_LOCK BugCheckCallbackLock
Definition: bug.c:23
BOOLEAN FASTCALL KeInvalidAccessAllowed(IN PVOID TrapInformation OPTIONAL)
Definition: exp.c:801
* PKAPC_STATE
Definition: ketypes.h:1258
LIST_ENTRY KiProcessListHead
Definition: procobj.c:18
VOID NTAPI KeFlushCurrentTb(VOID)
Definition: cpu.c:332
#define MAXIMUM_PRIORITY
BOOLEAN NTAPI KeDisableThreadApcQueueing(IN PKTHREAD Thread)
PKNMI_HANDLER_CALLBACK KiNmiCallbackListHead
Definition: bug.c:32
VOID FASTCALL KiProcessDeferredReadyList(IN PKPRCB Prcb)
Definition: thrdschd.c:41
VOID NTAPI KeUninitThread(IN PKTHREAD Thread)
Definition: thrdobj.c:926
_In_opt_ PVOID DeferredContext
Definition: ketypes.h:660