ReactOS 0.4.15-dev-8131-g4988de4
ketypes.h
Go to the documentation of this file.
1/*++ NDK Version: 0098
2
3Copyright (c) Alex Ionescu. All rights reserved.
4
5Header Name:
6
7 ketypes.h (AMD64)
8
9Abstract:
10
11 amd64 Type definitions for the Kernel services.
12
13Author:
14
15 Alex Ionescu (alexi@tinykrnl.org) - Updated - 27-Feb-2006
16 Timo Kreuzer (timo.kreuzer@reactos.org) - Updated - 14-Aug-2008
17
18--*/
19
20#ifndef _AMD64_KETYPES_H
21#define _AMD64_KETYPES_H
22
23//
24// Dependencies
25//
26
27//
28// Kernel Feature Bits
29// See https://www.geoffchappell.com/studies/windows/km/ntoskrnl/structs/kprcb/featurebits.htm?tx=61&ts=0,1400
30//
31#define KF_SMEP 0x00000001 // Win 6.2
32#define KF_RDTSC 0x00000002 // From ks386.inc, ksamd64.inc
33#define KF_CR4 0x00000004 // From ks386.inc, ksamd64.inc
34#define KF_CMOV 0x00000008
35#define KF_GLOBAL_PAGE 0x00000010 // From ks386.inc, ksamd64.inc
36#define KF_LARGE_PAGE 0x00000020 // From ks386.inc, ksamd64.inc
37#define KF_MTRR 0x00000040
38#define KF_CMPXCHG8B 0x00000080 // From ks386.inc, ksamd64.inc
39#define KF_MMX 0x00000100
40#define KF_DTS 0x00000200 // Win 5.2-6.2
41#define KF_PAT 0x00000400
42#define KF_FXSR 0x00000800
43#define KF_FAST_SYSCALL 0x00001000 // From ks386.inc, ksamd64.inc
44#define KF_XMMI 0x00002000 // SSE
45#define KF_3DNOW 0x00004000
46#define KF_AMDK6MTRR 0x00008000 // Win 5.0-6.1
47#define KF_XSAVEOPT 0x00008000 // From KF_XSAVEOPT_BIT
48#define KF_XMMI64 0x00010000 // SSE2
49#define KF_BRANCH 0x00020000 // From ksamd64.inc, Win 6.1-6.2
50#define KF_00040000 0x00040000 // Unclear
51#define KF_SSE3 0x00080000 // Win 6.0+
52#define KF_CMPXCHG16B 0x00100000 // Win 6.0-6.2
53#define KF_AUTHENTICAMD 0x00200000 // Win 6.1+
54#define KF_ACNT2 0x00400000 // Win 6.1+
55#define KF_XSTATE 0x00800000 // From ksamd64.inc, Win 6.1+
56#define KF_GENUINE_INTEL 0x01000000 // Win 6.1+
57#define KF_02000000 0x02000000 // Unclear
58#define KF_SLAT 0x04000000 // Win 6.2+, Intel: EPT supported
59#define KF_VIRT_FIRMWARE_ENABLED 0x08000000 // Win 6.2+
60#define KF_RDWRFSGSBASE 0x10000000 // From ksamd64.inc KF_RDWRFSGSBASE_BIT (0x1C)
61#define KF_NX_BIT 0x20000000
62#define KF_NX_DISABLED 0x40000000
63#define KF_NX_ENABLED 0x80000000
64#define KF_RDRAND 0x0000000100000000ULL // Win 10.0+
65#define KF_SMAP 0x0000000200000000ULL // From ksamd64.inc
66#define KF_RDTSCP 0x0000000400000000ULL // Win 10.0+
67#define KF_HUGEPAGE 0x0000002000000000ULL // Win 10.0 1607+
68#define KF_XSAVES 0x0000004000000000ULL // From ksamd64.inc KF_XSAVES_BIT (0x26)
69#define KF_FPU_LEAKAGE 0x0000020000000000ULL // From ksamd64.inc KF_FPU_LEAKAGE_BIT (0x29)
70#define KF_CAT 0x0000100000000000ULL // From ksamd64.inc KF_CAT_BIT (0x02C)
71#define KF_CET_SS 0x0000400000000000ULL // From ksamd64.inc
72#define KF_SSSE3 0x0000800000000000ULL
73#define KF_SSE4_1 0x0001000000000000ULL
74#define KF_SSE4_2 0x0002000000000000ULL
75
76#define KF_XSAVEOPT_BIT 15 // From ksamd64.inc (0x0F -> 0x8000)
77#define KF_XSTATE_BIT 23 // From ksamd64.inc (0x17 -> 0x800000)
78#define KF_RDWRFSGSBASE_BIT 28 // From ksamd64.inc (0x1C -> 0x10000000)
79#define KF_XSAVES_BIT 38 // From ksamd64.inc (0x26 -> 0x4000000000)
80#define KF_FPU_LEAKAGE_BIT 41 // From ksamd64.inc (0x29 -> 0x20000000000)
81#define KF_CAT_BIT 44 // From ksamd64.inc (0x2C -> 0x100000000000)
82
83//
84// KPCR Access for non-IA64 builds
85//
86//#define K0IPCR ((ULONG_PTR)(KIP0PCRADDRESS))
87//#define PCR ((volatile KPCR * const)K0IPCR)
88#define PCR ((volatile KPCR * const)__readgsqword(FIELD_OFFSET(KPCR, Self)))
89//#if defined(CONFIG_SMP) || defined(NT_BUILD)
90//#undef KeGetPcr
91//#define KeGetPcr() ((volatile KPCR * const)__readfsdword(0x1C))
92//#endif
93
94//
95// Double fault stack size
96//
97#define DOUBLE_FAULT_STACK_SIZE 0x2000
98
99//
100// CPU Vendors
101//
102typedef enum
103{
107 CPU_VIA
109
110//
111// Machine Types
112//
113#define MACHINE_TYPE_ISA 0x0000
114#define MACHINE_TYPE_EISA 0x0001
115#define MACHINE_TYPE_MCA 0x0002
116
117//
118// X86 80386 Segment Types
119//
120#define I386_TASK_GATE 0x5
121#define I386_TSS 0x9
122#define I386_ACTIVE_TSS 0xB
123#define I386_CALL_GATE 0xC
124#define I386_INTERRUPT_GATE 0xE
125#define I386_TRAP_GATE 0xF
126
127//
128// Selector Names
129//
130#define RPL_MASK 0x0003
131#define MODE_MASK 0x0001
132#define KGDT64_NULL 0x0000
133#define KGDT64_R0_CODE 0x0010
134#define KGDT64_R0_DATA 0x0018
135#define KGDT64_R3_CMCODE 0x0020
136#define KGDT64_R3_DATA 0x0028
137#define KGDT64_R3_CODE 0x0030
138#define KGDT64_SYS_TSS 0x0040
139#define KGDT64_R3_CMTEB 0x0050
140#define KGDT64_R0_LDT 0x0060
141
142//
143// CR4
144//
145#define CR4_VME 0x1
146#define CR4_PVI 0x2
147#define CR4_TSD 0x4
148#define CR4_DE 0x8
149#define CR4_PSE 0x10
150#define CR4_PAE 0x20
151#define CR4_MCE 0x40
152#define CR4_PGE 0x80
153#define CR4_FXSR 0x200
154#define CR4_XMMEXCPT 0x400
155#define CR4_CHANNELS 0x800
156#define CR4_XSAVE 0x40000
157
158//
159// DR7
160//
161#define DR7_LEGAL 0xFFFF0355
162#define DR7_ACTIVE 0x00000355
163#define DR7_TRACE_BRANCH 0x00000200
164#define DR7_LAST_BRANCH 0x00000100
165
166//
167// Debug flags
168//
169#define DEBUG_ACTIVE_DR7 0x0001
170#define DEBUG_ACTIVE_INSTRUMENTED 0x0002
171#define DEBUG_ACTIVE_DBG_INSTRUMENTED 0x0003
172#define DEBUG_ACTIVE_MINIMAL_THREAD 0x0004
173#define DEBUG_ACTIVE_PRIMARY_THREAD 0x0080
174#define DEBUG_ACTIVE_PRIMARY_THREAD_BIT 0x0007
175#define DEBUG_ACTIVE_PRIMARY_THREAD_LOCK_BIT 0x001F
176#define DEBUG_ACTIVE_SCHEDULED_THREAD 0x0040
177#define DEBUG_ACTIVE_SCHEDULED_THREAD_BIT 0x0006
178#define DEBUG_ACTIVE_SCHEDULED_THREAD_LOCK_BIT 0x001E
179#define DEBUG_ACTIVE_SCHEDULED_THREAD_LOCK 0x40000000
180
181//
182// EFlags
183//
184#define EFLAGS_CF 0x01L
185#define EFLAGS_ZF 0x40L
186#define EFLAGS_TF 0x100L
187#define EFLAGS_INTERRUPT_MASK 0x200L
188#define EFLAGS_DF 0x400L
189#define EFLAGS_IOPL 0x3000L
190#define EFLAGS_NESTED_TASK 0x4000L
191//#define EFLAGS_NF 0x4000
192#define EFLAGS_RF 0x10000
193#define EFLAGS_V86_MASK 0x20000
194#define EFLAGS_ALIGN_CHECK 0x40000
195#define EFLAGS_VIF 0x80000
196#define EFLAGS_VIP 0x100000
197#define EFLAGS_ID 0x200000
198#define EFLAGS_USER_SANITIZE 0x3F4DD7
199#define EFLAG_SIGN 0x8000
200#define EFLAG_ZERO 0x4000
201#define EFLAGS_TF_MASK 0x0100
202#define EFLAGS_TF_SHIFT 0x0008
203#define EFLAGS_ID_MASK 0x200000
204#define EFLAGS_IF_MASK 0x0200
205#define EFLAGS_IF_SHIFT 0x0009
206
207//
208// MXCSR Floating Control/Status Bit Masks
209//
210#define XSW_INVALID_OPERATION 0x0001
211#define XSW_DENORMAL 0x0002
212#define XSW_ZERO_DIVIDE 0x0004
213#define XSW_OVERFLOW 0x0008
214#define XSW_UNDERFLOW 0x0010
215#define XSW_PRECISION 0x0020
216#define XCW_INVALID_OPERATION 0x0080
217#define XCW_DENORMAL 0x0100
218#define XCW_ZERO_DIVIDE 0x0200
219#define XCW_OVERFLOW 0x0400
220#define XCW_UNDERFLOW 0x0800
221#define XCW_PRECISION 0x1000
222#define XCW_ROUND_CONTROL 0x6000
223#define XCW_FLUSH_ZERO 0x8000
224#define XSW_ERROR_MASK 0x003F
225#define XSW_ERROR_SHIFT 7
226
227//
228// Legacy floating status word bit masks.
229//
230#define FSW_INVALID_OPERATION 0x0001
231#define FSW_DENORMAL 0x0002
232#define FSW_ZERO_DIVIDE 0x0004
233#define FSW_OVERFLOW 0x0008
234#define FSW_UNDERFLOW 0x0010
235#define FSW_PRECISION 0x0020
236#define FSW_STACK_FAULT 0x0040
237#define FSW_ERROR_SUMMARY 0x0080
238#define FSW_CONDITION_CODE_0 0x0100
239#define FSW_CONDITION_CODE_1 0x0200
240#define FSW_CONDITION_CODE_2 0x0400
241#define FSW_CONDITION_CODE_3 0x4000
242#define FSW_ERROR_MASK 0x003F
243
244//
245// Machine Specific Registers
246//
247#define MSR_EFER 0xC0000080
248#define MSR_STAR 0xC0000081
249#define MSR_LSTAR 0xC0000082
250#define MSR_CSTAR 0xC0000083
251#define MSR_SYSCALL_MASK 0xC0000084
252#define MSR_FS_BASE 0xC0000100
253#define MSR_GS_BASE 0xC0000101
254#define MSR_GS_SWAP 0xC0000102
255#define MSR_MCG_STATUS 0x017A
256#define MSR_AMD_ACCESS 0x9C5A203A
257#define MSR_IA32_MISC_ENABLE 0x000001A0
258#define MSR_LAST_BRANCH_FROM 0x01DB
259#define MSR_LAST_BRANCH_TO 0x01DC
260#define MSR_LAST_EXCEPTION_FROM 0x01DD
261#define MSR_LAST_EXCEPTION_TO 0x01DE
262
263//
264// Caching values for the PAT MSR
265//
266#define PAT_UC 0ULL
267#define PAT_WC 1ULL
268#define PAT_WT 4ULL
269#define PAT_WP 5ULL
270#define PAT_WB 6ULL
271#define PAT_UCM 7ULL
272
273//
274// Flags in MSR_EFER
275//
276#define MSR_SCE 0x0001
277#define MSR_LME 0x0100
278#define MSR_LMA 0x0400
279#define MSR_NXE 0x0800
280#define MSR_PAT 0x0277
281#define MSR_DEBUG_CTL 0x01D9
282
283//
284// Flags in MSR_IA32_MISC_ENABLE
285//
286#define MSR_XD_ENABLE_MASK 0xFFFFFFFB
287
288//
289// Flags in MSR_DEBUG_CTL
290//
291#define MSR_DEBUG_CTL_LBR 0x0001
292#define MSR_DEBUG_CTL_BTF 0x0002
293
294//
295// IPI Types
296//
297#define IPI_APC 1
298#define IPI_DPC 2
299#define IPI_FREEZE 4
300#define IPI_PACKET_READY 8
301#define IPI_SYNCH_REQUEST 16
302
303//
304// Flags for KPRCB::IpiFrozen
305//
306// Values shown with !ipi extension in WinDbg:
307// 0 = [Running], 1 = [Unknown], 2 = [Frozen], 3 = [Thaw], 4 = [Freeze Owner]
308// 5 = [Target Freeze], 6-15 = [Unknown]
309// 0x20 = [Active] (flag)
310//
311#define IPI_FROZEN_STATE_RUNNING 0
312#define IPI_FROZEN_STATE_FROZEN 2
313#define IPI_FROZEN_STATE_THAW 3
314#define IPI_FROZEN_STATE_OWNER 4
315#define IPI_FROZEN_STATE_TARGET_FREEZE 5
316#define IPI_FROZEN_FLAG_ACTIVE 0x20
317
318//
319// PRCB Flags
320//
321#define PRCB_MINOR_VERSION 1
322#define PRCB_MAJOR_VERSION 1
323#define PRCB_BUILD_DEBUG 1
324#define PRCB_BUILD_UNIPROCESSOR 2
325
326//
327// Exception active flags
328//
329#define KEXCEPTION_ACTIVE_INTERRUPT_FRAME 0x0000
330#define KEXCEPTION_ACTIVE_EXCEPTION_FRAME 0x0001
331#define KEXCEPTION_ACTIVE_SERVICE_FRAME 0x0002
332
333//
334// HAL Variables
335//
336#define INITIAL_STALL_COUNT 100
337#define MM_HAL_VA_START 0xFFFFFFFFFFC00000ULL /* This is Vista+ */
338#define MM_HAL_VA_END 0xFFFFFFFFFFFFFFFFULL
339#define APIC_BASE 0xFFFFFFFFFFFE0000ULL
340
341//
342// IOPM Definitions
343//
344#define IO_ACCESS_MAP_NONE 0
345#define IOPM_OFFSET FIELD_OFFSET(KTSS, IoMaps[0].IoMap)
346#define KiComputeIopmOffset(MapNumber) \
347 (MapNumber == IO_ACCESS_MAP_NONE) ? \
348 (USHORT)(sizeof(KTSS)) : \
349 (USHORT)(FIELD_OFFSET(KTSS, IoMaps[MapNumber-1].IoMap))
350
351//
352// Static Kernel-Mode Address start (use MM_KSEG0_BASE for actual)
353//
354#define KSEG0_BASE 0xfffff80000000000ULL
355
356#define NMI_STACK_SIZE 0x2000
357#define ISR_STACK_SIZE 0x6000
358
359//
360// Synchronization-level IRQL
361//
362#ifndef CONFIG_SMP
363#define SYNCH_LEVEL DISPATCH_LEVEL
364#else
365#define SYNCH_LEVEL (IPI_LEVEL - 2)
366#endif
367
368//
369// Number of pool lookaside lists per pool in the PRCB
370//
371#define NUMBER_POOL_LOOKASIDE_LISTS 32
372
373//
374// Structure for CPUID
375//
376typedef union _CPU_INFO
377{
379 struct
380 {
385 };
387
388//
389// Trap Frame Definition
390//
391typedef struct _KTRAP_FRAME
392{
410 union
411 {
414 };
421 union
422 {
426 };
433 union
434 {
435 struct
436 {
442 };
443 struct
444 {
447 };
448 };
458 union
459 {
463 };
476
477//
478// Dummy LDT_ENTRY
479//
480#ifndef _LDT_ENTRY_DEFINED
481#define _LDT_ENTRY_DEFINED
483#endif
484
485//
486// GDT Entry Definition
487//
488typedef union _KGDTENTRY64
489{
490 struct
491 {
494 union
495 {
496 struct
497 {
503 struct
504 {
516 };
519 };
522#define KGDTENTRY KGDTENTRY64
523#define PKGDTENTRY PKGDTENTRY64
524
525//
526// IDT Entry Access Definition
527//
528typedef struct _KIDT_ACCESS
529{
530 union
531 {
532 struct
533 {
539 };
541 };
543
544//
545// IDT Entry Definition
546//
547typedef union _KIDTENTRY64
548{
549 struct
550 {
561 };
564#define KIDTENTRY KIDTENTRY64
565#define PKIDTENTRY PKIDTENTRY64
566
567typedef struct _KDESCRIPTOR
568{
573
574#ifndef NTOS_MODE_USER
575
576//
577// Special Registers Structure (outside of CONTEXT)
578//
580{
609
610//
611// Processor State Data
612//
613typedef struct _KPROCESSOR_STATE
614{
618
619#if (NTDDI_VERSION < NTDDI_LONGHORN)
620#define GENERAL_LOOKASIDE_POOL PP_LOOKASIDE_LIST
621#endif
622
623typedef struct _KREQUEST_PACKET
624{
628
629typedef struct _REQUEST_MAILBOX
630{
635
636//
637// Processor Region Control Block
638//
639typedef struct _KPRCB
640{
642#if (NTDDI_VERSION >= NTDDI_LONGHORN)
644#else
647#endif
653#if (NTDDI_VERSION >= NTDDI_LONGHORN)
657#else
658 UINT64 UserRsp;
659#endif
666#if (NTDDI_VERSION >= NTDDI_LONGHORN)
667 union
668 {
670 struct
671 {
674 };
675 };
676#else
678#endif
685#if (NTDDI_VERSION >= NTDDI_LONGHORN)
688#else
691#endif
693#if (NTDDI_VERSION >= NTDDI_LONGHORN)
695#else
697 UCHAR PrcbPad0x[3];
698#endif
700#if (NTDDI_VERSION >= NTDDI_LONGHORN)
704#else
705 UINT64 PrcbPad00[4];
706#endif
716#if (NTDDI_VERSION < NTDDI_LONGHORN)
718#endif
722#if (NTDDI_VERSION < NTDDI_LONGHORN)
725#endif
730#if (NTDDI_VERSION >= NTDDI_LONGHORN)
740#else
743#endif
750#if (NTDDI_VERSION < NTDDI_LONGHORN)
752 UCHAR PrcbPad2[12];
753#endif
762#if (NTDDI_VERSION >= NTDDI_LONGHORN)
764#else
765 PVOID SavedRsp;
766#endif
784#if (NTDDI_VERSION >= NTDDI_LONGHORN)
786#else
787 LONG PrcbPad40;
789#endif
791#if (NTDDI_VERSION >= NTDDI_LONGHORN)
793#endif
795#if (NTDDI_VERSION >= NTDDI_LONGHORN)
803#else
804 UINT64 PrcbPad7[4];
805#endif
807#if (NTDDI_VERSION >= NTDDI_LONGHORN)
809#endif
812#if (NTDDI_VERSION >= NTDDI_LONGHORN)
814#endif
825#if (NTDDI_VERSION >= NTDDI_LONGHORN)
832#else
833 UCHAR PrcbPad8[13];
834#endif
838#if (NTDDI_VERSION >= NTDDI_LONGHORN)
845#endif
847#if (NTDDI_VERSION >= NTDDI_LONGHORN)
903#else
904 ULONG PrcbPad90[1];
910 UCHAR PrcbPad9[12];
920 ULONG KeFirstLevelTbFills;
921 ULONG KeFloatingEmulationCount;
923 ULONG KeSecondLevelTbFills;
925 UCHAR PrcbPad10[2];
931#endif
932#ifdef __REACTOS__
933 ULONG FeatureBitsHigh;
934#endif
936
937//
938// Processor Control Region
939//
940typedef struct _KIPCR
941{
942 union
943 {
945 struct
946 {
950 struct _KPCR *Self;
954 };
955 };
975 ULONG Fill2[2]; // 0x178
976 KPRCB Prcb; // 0x180
977
978 // hack:
980
982
983//
984// TSS Definition
985//
986typedef struct _KiIoAccessMap
987{
991
992
993#pragma pack(push,4)
994typedef struct _KTSS64
995{
996 /* 000 */ ULONG Reserved0;
997 /* 004 */ UINT64 Rsp0;
998 /* 00c */ UINT64 Rsp1;
999 /* 014 */ UINT64 Rsp2;
1000 /* 01c */ UINT64 Ist[8];
1005#pragma pack(pop)
1006#define KTSS KTSS64
1007#define PKTSS PKTSS64
1008
1009//
1010// KEXCEPTION_FRAME
1011//
1012typedef struct _KEXCEPTION_FRAME
1013{
1019#if (NTDDI_VERSION >= NTDDI_WIN8)
1021#else
1022 ULONG64 InitialStack;
1023#endif
1035#if (NTDDI_VERSION < NTDDI_WIN8)
1036 ULONG64 CallbackStack;
1037#endif
1040#if (NTDDI_VERSION >= NTDDI_WIN8)
1042#endif
1054
1055typedef struct _MACHINE_FRAME
1056{
1066
1067//
1068// Defines the Callback Stack Layout for User Mode Callbacks
1069//
1071
1072//
1073// User side callout frame
1074//
1075typedef struct _UCALLOUT_FRAME
1076{
1085} UCALLOUT_FRAME, *PUCALLOUT_FRAME; // size = 0x0058
1086
1087//
1088// Stack frame layout for KiUserExceptionDispatcher
1089// The name is totally made up
1090//
1092{
1098
1100{
1109 struct _UNWIND_HISTORY_TABLE *HistoryTable;
1113
1114typedef struct _KSTART_FRAME
1115{
1123
1124typedef struct _KSWITCH_FRAME
1125{
1136
1137#define PROCESSOR_START_FLAG_FORCE_ENABLE_NX 0x0001
1139{
1141 ULONG Flags; // 0x0008
1142 ULONG Gdt32; // 0x000C
1143 ULONG Idt32; // 0x0012
1144 PVOID Gdt; // 0x0018
1145 // ???
1147 UCHAR PmTarget[6]; // 0x0060
1151 ULONG64 MsrPat; // 0x0080
1152 ULONG64 MsrEFER; // 0x0088
1155
1156//
1157// Inline function to get current KPRCB
1158//
1160struct _KPRCB *
1162{
1163 return (struct _KPRCB *)__readgsqword(FIELD_OFFSET(KIPCR, CurrentPrcb));
1164}
1165
1166#endif
1167#endif
unsigned long long UINT64
unsigned int UINT32
signed long long INT64
EXCEPTION_ROUTINE * PEXCEPTION_ROUTINE
Definition: compat.h:709
UCHAR KIRQL
Definition: env_spec_w32.h:591
unsigned __int64 ULONG64
Definition: imports.h:198
struct _KSPECIAL_REGISTERS * PKSPECIAL_REGISTERS
struct _KIDT_ACCESS KIDT_ACCESS
struct _KTSS64 * PKTSS64
struct _KTRAP_FRAME KTRAP_FRAME
struct _KREQUEST_PACKET * PKREQUEST_PACKET
struct _KDESCRIPTOR * PKDESCRIPTOR
struct _KPROCESSOR_STATE * PKPROCESSOR_STATE
union _KGDTENTRY64 * PKGDTENTRY64
struct _KREQUEST_PACKET KREQUEST_PACKET
struct _KUSER_EXCEPTION_STACK * PKUSER_EXCEPTION_STACK
struct _KSTART_FRAME KSTART_FRAME
#define NUMBER_POOL_LOOKASIDE_LISTS
Definition: ketypes.h:371
struct _REQUEST_MAILBOX * PREQUEST_MAILBOX
struct _KPROCESSOR_START_BLOCK * PKPROCESSOR_START_BLOCK
struct _KSWITCH_FRAME KSWITCH_FRAME
struct _DISPATCHER_CONTEXT * PDISPATCHER_CONTEXT
struct _KIPCR KIPCR
struct _REQUEST_MAILBOX REQUEST_MAILBOX
KEXCEPTION_FRAME KCALLOUT_FRAME
Definition: ketypes.h:1070
struct _KUSER_EXCEPTION_STACK KUSER_EXCEPTION_STACK
struct _KPRCB * PKPRCB
struct _KEXCEPTION_FRAME * PKEXCEPTION_FRAME
FORCEINLINE struct _KPRCB * KeGetCurrentPrcb(VOID)
Definition: ketypes.h:1161
struct _DISPATCHER_CONTEXT DISPATCHER_CONTEXT
struct _KiIoAccessMap KIIO_ACCESS_MAP
struct _KDESCRIPTOR KDESCRIPTOR
struct _MACHINE_FRAME MACHINE_FRAME
struct _KSWITCH_FRAME * PKSWITCH_FRAME
struct _UCALLOUT_FRAME * PUCALLOUT_FRAME
struct _KIPCR * PKIPCR
KEXCEPTION_FRAME * PKCALLOUT_FRAME
Definition: ketypes.h:1070
union _KIDTENTRY64 * PKIDTENTRY64
CPU_VENDORS
Definition: ketypes.h:103
@ CPU_VIA
Definition: ketypes.h:107
@ CPU_INTEL
Definition: ketypes.h:106
@ CPU_UNKNOWN
Definition: ketypes.h:104
@ CPU_AMD
Definition: ketypes.h:105
union _KGDTENTRY64 KGDTENTRY64
union _KIDTENTRY64 KIDTENTRY64
union _CPU_INFO CPU_INFO
ULONG LDT_ENTRY
Definition: ketypes.h:482
struct _MACHINE_FRAME * PMACHINE_FRAME
struct _KSTART_FRAME * PKSTART_FRAME
struct _KPRCB KPRCB
struct _KEXCEPTION_FRAME KEXCEPTION_FRAME
struct _KTRAP_FRAME * PKTRAP_FRAME
struct _KPROCESSOR_START_BLOCK KPROCESSOR_START_BLOCK
struct _KSPECIAL_REGISTERS KSPECIAL_REGISTERS
union _CPU_INFO * PCPU_INFO
struct _KIDT_ACCESS * PKIDT_ACCESS
struct _KPROCESSOR_STATE KPROCESSOR_STATE
struct _UCALLOUT_FRAME UCALLOUT_FRAME
struct _KTSS64 KTSS64
ULONG KeDcacheFlushCount
Definition: cpu.c:20
ULONG KeIcacheFlushCount
Definition: cpu.c:19
long LONG
Definition: pedump.c:60
unsigned short USHORT
Definition: pedump.c:61
Definition: fatfs.h:173
PCONTEXT ContextRecord
Definition: ketypes.h:1106
struct _RUNTIME_FUNCTION * FunctionEntry
Definition: ketypes.h:1103
struct _UNWIND_HISTORY_TABLE * HistoryTable
Definition: ketypes.h:1109
PEXCEPTION_ROUTINE LanguageHandler
Definition: ketypes.h:1107
ULONG64 EstablisherFrame
Definition: ketypes.h:1104
PVOID Base
Definition: ketypes.h:571
USHORT Pad[3]
Definition: ketypes.h:569
USHORT Limit
Definition: ketypes.h:570
Definition: ketypes.h:699
ULONG64 Return
Definition: ketypes.h:1052
ULONG64 OutputBuffer
Definition: ketypes.h:1038
ULONG64 P3Home
Definition: ketypes.h:1016
ULONG64 P1Home
Definition: ketypes.h:1014
ULONG64 P4Home
Definition: ketypes.h:1017
ULONG64 Spare2
Definition: ketypes.h:1041
ULONG64 P2Home
Definition: ketypes.h:1015
ULONG64 OutputLength
Definition: ketypes.h:1039
ULONG64 TrapFrame
Definition: ketypes.h:1034
ULONG64 Spare1
Definition: ketypes.h:1020
UCHAR SystemSegmentFlag
Definition: ketypes.h:536
UCHAR Dpl
Definition: ketypes.h:537
UCHAR Reserved
Definition: ketypes.h:534
USHORT Value
Definition: ketypes.h:540
UCHAR SegmentType
Definition: ketypes.h:535
UCHAR Present
Definition: ketypes.h:538
ULONG ContextSwitches
Definition: ketypes.h:979
KPRCB Prcb
Definition: ketypes.h:976
USHORT MinorVersion
Definition: ketypes.h:964
ULONG SecondLevelCacheSize
Definition: ketypes.h:968
USHORT MajorVersion
Definition: ketypes.h:963
UCHAR SecondLevelCacheAssociativity
Definition: ketypes.h:959
KIRQL Irql
Definition: ketypes.h:958
UCHAR Fill0
Definition: ketypes.h:961
struct _KPRCB * CurrentPrcb
Definition: ketypes.h:951
union _KGDTENTRY64 * GdtBase
Definition: ketypes.h:947
ULONG Unused0[3]
Definition: ketypes.h:962
ULONG Fill1
Definition: ketypes.h:971
ULONG Fill2[2]
Definition: ketypes.h:975
ULONG HalReserved[16]
Definition: ketypes.h:969
PKSPIN_LOCK_QUEUE LockArray
Definition: ketypes.h:952
struct _KTSS64 * TssBase
Definition: ketypes.h:948
PVOID Unused1[3]
Definition: ketypes.h:966
UCHAR ObsoleteNumber
Definition: ketypes.h:960
NT_TIB NtTib
Definition: ketypes.h:944
PVOID Unused3
Definition: ketypes.h:973
ULONG Unused2
Definition: ketypes.h:970
ULONG KernelReserved[15]
Definition: ketypes.h:967
union _KIDTENTRY64 * IdtBase
Definition: ketypes.h:956
ULONG PcrAlign1[24]
Definition: ketypes.h:974
struct _KPCR * Self
Definition: ketypes.h:950
ULONG StallScaleFactor
Definition: ketypes.h:965
ULONG64 UserRsp
Definition: ketypes.h:949
PVOID KdVersionBlock
Definition: ketypes.h:972
PVOID Used_Self
Definition: ketypes.h:953
ULONG64 Unused[2]
Definition: ketypes.h:957
Definition: ke.h:294
LONG IoWriteOperationCount
Definition: ketypes.h:745
ULONG CcMdlReadNoWait
Definition: ketypes.h:857
UCHAR CoresPerPhysicalProcessor
Definition: ketypes.h:686
ULONG DpcTimeLimit
Definition: ketypes.h:828
ULONG CcCopyReadNoWaitMiss
Definition: ketypes.h:738
ULONG CcLostDelayedWrites
Definition: ketypes.h:864
PVOID HyperPte
Definition: ketypes.h:891
UINT64 HalReserved[8]
Definition: ketypes.h:680
UCHAR QuantumEnd
Definition: ketypes.h:780
UCHAR PrcbPad10[3]
Definition: ketypes.h:882
KSPIN_LOCK_QUEUE LockQueue[LockQueueMaximumLock]
Definition: ketypes.h:707
UCHAR IdleHalt
Definition: ketypes.h:649
PROCESSOR_POWER_STATE PowerState
Definition: ketypes.h:879
UCHAR PrcbPad3[116]
Definition: ketypes.h:756
ULONG InterruptTime
Definition: ketypes.h:820
LONG DpcWatchdogPeriod
Definition: ketypes.h:800
struct _KTHREAD * IdleThread
Definition: ketypes.h:652
ULONG Stride
Definition: ketypes.h:702
GENERAL_LOOKASIDE_POOL PPNPagedLookasideList[NUMBER_POOL_LOOKASIDE_LISTS]
Definition: ketypes.h:709
ULONG UserTime
Definition: ketypes.h:818
ULONG CcReadAheadIos
Definition: ketypes.h:874
ULONG CacheCount
Definition: ketypes.h:888
PVOID SparePtr0
Definition: ketypes.h:763
ULONG CcMapDataWaitMiss
Definition: ketypes.h:869
UINT64 PrcbLock
Definition: ketypes.h:661
UCHAR DpcThreadActive
Definition: ketypes.h:773
UCHAR DpcInterruptRequested
Definition: ketypes.h:770
UINT64 PrcbPad71[12]
Definition: ketypes.h:813
USHORT MinorVersion
Definition: ketypes.h:681
struct _KPRCB * MultiThreadSetMaster
Definition: ketypes.h:837
UINT64 SetMember
Definition: ketypes.h:662
LONG IoReadOperationCount
Definition: ketypes.h:744
UCHAR PrcbPad8[3]
Definition: ketypes.h:780
LONG MmDemandZeroCount
Definition: ketypes.h:719
LONG MmPageReadIoCount
Definition: ketypes.h:721
UCHAR DpcRoutineActive
Definition: ketypes.h:772
UCHAR VendorString[13]
Definition: ketypes.h:881
UCHAR NestingLevel
Definition: ketypes.h:654
PVOID RateControl
Definition: ketypes.h:899
UCHAR IdleSchedule
Definition: ketypes.h:782
LONG ClockKeepAlive
Definition: ketypes.h:796
UCHAR InterruptRequest
Definition: ketypes.h:648
ULONG QueueIndex
Definition: ketypes.h:811
UINT64 WaitLock
Definition: ketypes.h:808
PVOID WheaInfo
Definition: ketypes.h:892
UINT64 StartCycles
Definition: ketypes.h:839
CHAR CpuType
Definition: ketypes.h:664
LONG Sleeping
Definition: ketypes.h:846
UCHAR BuildType
Definition: ketypes.h:683
ULONG InterruptCount
Definition: ketypes.h:816
ULONG ApicMask
Definition: ketypes.h:692
LIST_ENTRY WaitListHead
Definition: ketypes.h:806
ULONG CcMdlReadWait
Definition: ketypes.h:858
ULONG KeContextSwitches
Definition: ketypes.h:732
ULONG CcPinReadNoWaitMiss
Definition: ketypes.h:870
ULONG CcPinReadWait
Definition: ketypes.h:856
PVOID AcpiReserved
Definition: ketypes.h:699
ULONG DpcLastCount
Definition: ketypes.h:778
UINT64 PrcbPad81[2]
Definition: ketypes.h:831
LONG IoOtherOperationCount
Definition: ketypes.h:746
UCHAR SkipTick
Definition: ketypes.h:822
PVOID EtwSupport
Definition: ketypes.h:893
ULONG PeriodicCount
Definition: ketypes.h:829
UINT64 RspBase
Definition: ketypes.h:660
ULONG MxCsr
Definition: ketypes.h:641
UCHAR CpuModel
Definition: ketypes.h:673
KDPC_DATA DpcData[2]
Definition: ketypes.h:760
LONG MmMappedWriteIoCount
Definition: ketypes.h:729
ULONG DebugDpcTime
Definition: ketypes.h:572
ULONG CcMapDataNoWait
Definition: ketypes.h:852
LONG MmCacheIoCount
Definition: ketypes.h:877
ULONG CachedCommit
Definition: ketypes.h:889
ULONG CcMdlReadWaitMiss
Definition: ketypes.h:873
LONG TickOffset
Definition: ketypes.h:776
GENERAL_LOOKASIDE_POOL PPPagedLookasideList[NUMBER_POOL_LOOKASIDE_LISTS]
Definition: ketypes.h:710
ULONG CachedResidentAvailable
Definition: ketypes.h:890
USHORT MajorVersion
Definition: ketypes.h:682
ULONG PageColor
Definition: ketypes.h:841
ULONG CcPinReadNoWait
Definition: ketypes.h:855
KDPC DpcWatchdogDpc
Definition: ketypes.h:885
UCHAR ClockPollCycle
Definition: ketypes.h:798
USHORT CpuStep
Definition: ketypes.h:669
ULONG PrcbPad91[3]
Definition: ketypes.h:878
LONG MmTransitionCount
Definition: ketypes.h:715
ULONG CcCopyReadWait
Definition: ketypes.h:737
UINT64 TargetSet
Definition: ketypes.h:754
ULONG CcPinMappedDataCount
Definition: ketypes.h:854
ULONG CcMdlReadNoWaitMiss
Definition: ketypes.h:872
UINT64 * StatisticsPage
Definition: ketypes.h:898
PVOID VirtualApicAssist
Definition: ketypes.h:897
UCHAR CpuVendor
Definition: ketypes.h:684
LONG MmCopyOnWriteCount
Definition: ketypes.h:714
UINT64 PacketBarrier
Definition: ketypes.h:711
UCHAR Group
Definition: ketypes.h:655
UINT64 CycleTime
Definition: ketypes.h:848
ULONG DpcTime
Definition: ketypes.h:819
LONG MaximumDpcQueueDepth
Definition: ketypes.h:767
PVOID PrcbPad51
Definition: ketypes.h:792
LONG MmCacheReadCount
Definition: ketypes.h:876
UCHAR LogicalProcessorsPerPhysicalProcessor
Definition: ketypes.h:759
UCHAR ClockCheckSlot
Definition: ketypes.h:797
ULONG CcFastMdlReadWait
Definition: ketypes.h:850
ULONG PeriodicBias
Definition: ketypes.h:830
UCHAR PrcbPad00[6]
Definition: ketypes.h:656
ULONG MinimumDpcRate
Definition: ketypes.h:769
PP_LOOKASIDE_LIST PPLookasideList[16]
Definition: ketypes.h:708
ULONG CcMapDataNoWaitMiss
Definition: ketypes.h:868
ULONG CcFastReadWait
Definition: ketypes.h:734
LONG LookasideIrpFloat
Definition: ketypes.h:739
ULONG CcMapDataWait
Definition: ketypes.h:853
ULONG NodeColor
Definition: ketypes.h:842
ULONG CcPinReadWaitMiss
Definition: ketypes.h:871
ULONG KeExceptionDispatchCount
Definition: ketypes.h:785
ULONG DpcTimeCount
Definition: ketypes.h:827
LONG DpcWatchdogCount
Definition: ketypes.h:801
ULONG AdjustDpcThreshold
Definition: ketypes.h:821
UCHAR PrcbPad9[3]
Definition: ketypes.h:753
ULONG CcFastMdlReadNoWait
Definition: ketypes.h:849
UCHAR ThreadDpcEnable
Definition: ketypes.h:779
LONG MmDirtyPagesWriteCount
Definition: ketypes.h:726
struct _KTHREAD * CurrentThread
Definition: ketypes.h:650
LARGE_INTEGER IoReadTransferCount
Definition: ketypes.h:747
ULONG FeatureBits
Definition: ketypes.h:883
struct _KTHREAD * NextThread
Definition: ketypes.h:651
UCHAR DpcThreadRequested
Definition: ketypes.h:771
REQUEST_MAILBOX RequestMailbox[64]
Definition: ketypes.h:757
ULONG CcDataPages
Definition: ketypes.h:863
LONG DpcSetEventRequest
Definition: ketypes.h:783
UCHAR PrcbPad80[5]
Definition: ketypes.h:826
ULONG CcFastReadNoWait
Definition: ketypes.h:733
LONG MmSpinLockOrdering
Definition: ketypes.h:840
ULONG CcFastReadResourceMiss
Definition: ketypes.h:865
LARGE_INTEGER IoOtherTransferCount
Definition: ketypes.h:749
ULONG KeSystemCalls
Definition: ketypes.h:731
USHORT Number
Definition: ketypes.h:643
UCHAR PollSlot
Definition: ketypes.h:824
UINT64 CoreProcessorSet
Definition: ketypes.h:902
LONG MmMappedPagesWriteCount
Definition: ketypes.h:728
UINT64 MultiThreadProcessorSet
Definition: ketypes.h:836
LONG MmPageFaultCount
Definition: ketypes.h:713
SLIST_HEADER HypercallPageList
Definition: ketypes.h:895
LONG MmDirtyWriteIoCount
Definition: ketypes.h:727
ULONG SecondaryColorMask
Definition: ketypes.h:844
UINT64 CacheProcessorMask[5]
Definition: ketypes.h:900
UCHAR PrcbPad6[2]
Definition: ketypes.h:799
PVOID HypercallPageVirtual
Definition: ketypes.h:896
UCHAR PrcbPad2[52]
Definition: ketypes.h:667
KEVENT DpcEvent
Definition: ketypes.h:790
ULONG InitialApicId
Definition: ketypes.h:701
struct _KNODE * ParentNode
Definition: ketypes.h:835
ULONG CFlushSize
Definition: ketypes.h:694
LONG MmPageReadCount
Definition: ketypes.h:720
ULONG KernelTime
Definition: ketypes.h:817
LONG MasterOffset
Definition: ketypes.h:777
ULONG CcCopyReadWaitMiss
Definition: ketypes.h:866
UCHAR PrcbPad4[120]
Definition: ketypes.h:759
PVOID DpcThread
Definition: ketypes.h:689
UINT64 TimerRequest
Definition: ketypes.h:775
ULONG CcLazyWritePages
Definition: ketypes.h:861
CHAR CpuID
Definition: ketypes.h:665
ULONG ReadySummary
Definition: ketypes.h:810
ULONG IpiFrozen
Definition: ketypes.h:755
ULONG DpcRequestRate
Definition: ketypes.h:768
UCHAR LogicalProcessorsPerCore
Definition: ketypes.h:687
UINT64 SenderSummary
Definition: ketypes.h:758
ULONG CcLazyWriteIos
Definition: ketypes.h:860
KDPC CallDpc
Definition: ketypes.h:794
ULONG NodeShiftedColor
Definition: ketypes.h:843
LARGE_INTEGER UpdateSignature
Definition: ketypes.h:884
KPROCESSOR_STATE ProcessorState
Definition: ketypes.h:663
LONG MmCacheTransitionCount
Definition: ketypes.h:875
LIST_ENTRY DispatcherReadyListHead[32]
Definition: ketypes.h:815
UCHAR CpuStepping
Definition: ketypes.h:672
ULONG CcFastMdlReadNotPossible
Definition: ketypes.h:851
UINT64 PrcbPad01[3]
Definition: ketypes.h:703
ULONG CcDataFlushes
Definition: ketypes.h:862
UCHAR PrcbPad50
Definition: ketypes.h:781
KTIMER DpcWatchdogTimer
Definition: ketypes.h:886
LARGE_INTEGER IoWriteTransferCount
Definition: ketypes.h:748
ULONG CcLazyWriteHotSpots
Definition: ketypes.h:859
ULONG CcCopyReadNoWait
Definition: ketypes.h:736
ULONG KeAlignmentFixupCount
Definition: ketypes.h:880
ULONG CcFastReadNotPossible
Definition: ketypes.h:735
UCHAR DebuggerSavedIRQL
Definition: ketypes.h:823
SINGLE_LIST_ENTRY DeferredReadyListHead
Definition: ketypes.h:712
PVOID DpcStack
Definition: ketypes.h:761
ULONG CcFastMdlReadResourceMiss
Definition: ketypes.h:867
UINT64 PackageProcessorSet
Definition: ketypes.h:901
ULONG MHz
Definition: ketypes.h:679
SLIST_HEADER InterruptObjectPool
Definition: ketypes.h:894
UINT64 TimerHand
Definition: ketypes.h:774
UINT64 PrcbPad70[2]
Definition: ketypes.h:802
KPROCESSOR_STATE ProcessorState
Definition: ketypes.h:1153
UCHAR LmIdentityTarget[6]
Definition: ketypes.h:1148
struct _KPROCESSOR_START_BLOCK * SelfMap
Definition: ketypes.h:1150
KSPECIAL_REGISTERS SpecialRegisters
Definition: ketypes.h:615
CONTEXT ContextFrame
Definition: ketypes.h:616
PVOID WorkerRoutine
Definition: ketypes.h:626
PVOID CurrentPacket[3]
Definition: ketypes.h:625
ULONG64 LastExceptionToRip
Definition: ketypes.h:599
ULONG64 KernelDr0
Definition: ketypes.h:585
ULONG64 KernelDr7
Definition: ketypes.h:590
ULONG64 MsrLStar
Definition: ketypes.h:605
ULONG64 LastBranchFromRip
Definition: ketypes.h:598
KDESCRIPTOR Gdtr
Definition: ketypes.h:591
ULONG64 KernelDr2
Definition: ketypes.h:587
ULONG64 MsrGsBase
Definition: ketypes.h:602
KDESCRIPTOR Idtr
Definition: ketypes.h:592
ULONG64 KernelDr1
Definition: ketypes.h:586
ULONG64 LastBranchToRip
Definition: ketypes.h:597
ULONG64 MsrCStar
Definition: ketypes.h:606
ULONG64 LastExceptionFromRip
Definition: ketypes.h:600
ULONG64 MsrSyscallMask
Definition: ketypes.h:607
ULONG64 MsrGsSwap
Definition: ketypes.h:603
ULONG64 KernelDr3
Definition: ketypes.h:588
ULONG64 KernelDr6
Definition: ketypes.h:589
ULONG64 DebugControl
Definition: ketypes.h:596
ULONG64 P2Home
Definition: ketypes.h:1117
ULONG64 Reserved
Definition: ketypes.h:1120
ULONG64 P1Home
Definition: ketypes.h:1116
ULONG64 Return
Definition: ketypes.h:1121
ULONG64 P4Home
Definition: ketypes.h:1119
ULONG64 P3Home
Definition: ketypes.h:1118
ULONG64 Return
Definition: ketypes.h:1134
ULONG64 P2Home
Definition: ketypes.h:1127
ULONG64 Rbp
Definition: ketypes.h:1133
UCHAR Fill1[7]
Definition: ketypes.h:1132
ULONG64 P3Home
Definition: ketypes.h:1128
ULONG64 P5Home
Definition: ketypes.h:1130
ULONG64 P4Home
Definition: ketypes.h:1129
ULONG64 P1Home
Definition: ketypes.h:1126
KIRQL ApcBypass
Definition: ketypes.h:1131
M128A Xmm1
Definition: ketypes.h:416
UINT64 Rsp
Definition: ketypes.h:471
UCHAR Logging
Definition: ketypes.h:467
ULONG LastBranchMSR
Definition: ketypes.h:446
USHORT Fill1[2]
Definition: ketypes.h:468
UINT64 Dr6
Definition: ketypes.h:431
UCHAR FaultIndicator
Definition: ketypes.h:400
UINT64 Rdi
Definition: ketypes.h:455
M128A Xmm5
Definition: ketypes.h:420
CHAR PreviousMode
Definition: ketypes.h:398
UCHAR Fill0
Definition: ketypes.h:466
UINT64 GsBase
Definition: ketypes.h:412
UINT64 P5
Definition: ketypes.h:397
LONG CodePatchCycle
Definition: ketypes.h:474
UINT64 Rbp
Definition: ketypes.h:457
UINT64 LastBranchFromRip
Definition: ketypes.h:439
UINT64 Rsi
Definition: ketypes.h:456
UINT64 P2Home
Definition: ketypes.h:394
UINT64 Rdx
Definition: ketypes.h:405
ULONG EFlags
Definition: ketypes.h:469
M128A Xmm3
Definition: ketypes.h:418
UINT64 P4Home
Definition: ketypes.h:396
UINT64 Dr0
Definition: ketypes.h:427
UINT64 LastBranchControl
Definition: ketypes.h:445
M128A Xmm4
Definition: ketypes.h:419
UINT64 Rbx
Definition: ketypes.h:454
M128A Xmm0
Definition: ketypes.h:415
UINT64 Dr7
Definition: ketypes.h:432
UINT64 FaultAddress
Definition: ketypes.h:423
USHORT SegSs
Definition: ketypes.h:472
UINT64 LastExceptionFromRip
Definition: ketypes.h:441
UINT64 Dr1
Definition: ketypes.h:428
UINT64 ExceptionFrame
Definition: ketypes.h:461
USHORT Fill3
Definition: ketypes.h:473
USHORT SegCs
Definition: ketypes.h:465
UINT64 Rax
Definition: ketypes.h:403
UCHAR PreviousIrql
Definition: ketypes.h:399
UINT64 GsSwap
Definition: ketypes.h:413
UINT64 Dr3
Definition: ketypes.h:430
ULONG Fill2
Definition: ketypes.h:470
UINT64 LastBranchToRip
Definition: ketypes.h:438
UINT64 P3Home
Definition: ketypes.h:395
UINT64 R10
Definition: ketypes.h:408
UINT64 Rip
Definition: ketypes.h:464
UINT64 P1Home
Definition: ketypes.h:393
UINT64 TrapFrame
Definition: ketypes.h:453
USHORT SegEs
Definition: ketypes.h:450
UINT64 ContextRecord
Definition: ketypes.h:424
UCHAR ExceptionActive
Definition: ketypes.h:401
M128A Xmm2
Definition: ketypes.h:417
USHORT SegFs
Definition: ketypes.h:451
UINT64 TimeStampCKCL
Definition: ketypes.h:425
UINT64 ErrorCode
Definition: ketypes.h:460
USHORT SegGs
Definition: ketypes.h:452
UINT64 Dr2
Definition: ketypes.h:429
UINT64 R9
Definition: ketypes.h:407
USHORT SegDs
Definition: ketypes.h:449
UINT64 TimeStampKlog
Definition: ketypes.h:462
ULONG MxCsr
Definition: ketypes.h:402
UINT64 R8
Definition: ketypes.h:406
UINT64 Rcx
Definition: ketypes.h:404
UINT64 DebugControl
Definition: ketypes.h:437
UINT64 R11
Definition: ketypes.h:409
UINT64 LastExceptionToRip
Definition: ketypes.h:440
UINT64 Ist[8]
Definition: ketypes.h:1000
USHORT IoMapBase
Definition: ketypes.h:1003
USHORT Reserved2
Definition: ketypes.h:1002
UINT64 Rsp1
Definition: ketypes.h:998
UINT64 Rsp2
Definition: ketypes.h:999
ULONG Reserved0
Definition: ketypes.h:996
UINT64 Reserved1
Definition: ketypes.h:1001
UINT64 Rsp0
Definition: ketypes.h:997
MACHINE_FRAME MachineFrame
Definition: ketypes.h:1096
EXCEPTION_RECORD ExceptionRecord
Definition: ketypes.h:1094
UCHAR DirectionMap[32]
Definition: ketypes.h:988
UCHAR IoMap[8196]
Definition: ketypes.h:989
Definition: typedefs.h:120
USHORT SegSs
Definition: ketypes.h:1063
USHORT Fill1[3]
Definition: ketypes.h:1059
ULONG EFlags
Definition: ketypes.h:1060
ULONG64 Rsp
Definition: ketypes.h:1062
USHORT Fill3[3]
Definition: ketypes.h:1064
ULONG64 Rip
Definition: ketypes.h:1057
USHORT SegCs
Definition: ketypes.h:1058
INT64 RequestSummary
Definition: ketypes.h:631
KREQUEST_PACKET RequestPacket
Definition: ketypes.h:632
PVOID Virtual[7]
Definition: ketypes.h:633
Definition: ntbasedef.h:628
MACHINE_FRAME MachineFrame
Definition: ketypes.h:1084
ULONG ApiNumber
Definition: ketypes.h:1083
ULONG64 P1Home
Definition: ketypes.h:1077
ULONG64 P3Home
Definition: ketypes.h:1079
ULONG64 P2Home
Definition: ketypes.h:1078
ULONG64 P4Home
Definition: ketypes.h:1080
#define FIELD_OFFSET(t, f)
Definition: typedefs.h:255
uint32_t ULONG
Definition: typedefs.h:59
ULONG Ebx
Definition: ketypes.h:382
ULONG Eax
Definition: ketypes.h:381
UINT32 AsUINT32[4]
Definition: ketypes.h:378
ULONG Ecx
Definition: ketypes.h:383
ULONG Edx
Definition: ketypes.h:384
ULONG MustBeZero
Definition: ketypes.h:518
ULONG BaseUpper
Definition: ketypes.h:517
ULONG Type
Definition: ketypes.h:506
USHORT LimitLow
Definition: ketypes.h:492
ULONG LongMode
Definition: ketypes.h:511
UCHAR Flags1
Definition: ketypes.h:499
ULONG BaseMiddle
Definition: ketypes.h:505
UCHAR BaseMiddle
Definition: ketypes.h:498
struct _KGDTENTRY64::@2315::@2317::@2320 Bits
ULONG System
Definition: ketypes.h:510
ULONG BaseHigh
Definition: ketypes.h:514
UCHAR Flags2
Definition: ketypes.h:500
ULONG LimitHigh
Definition: ketypes.h:509
USHORT BaseLow
Definition: ketypes.h:493
UCHAR BaseHigh
Definition: ketypes.h:501
ULONG Dpl
Definition: ketypes.h:507
ULONG Granularity
Definition: ketypes.h:513
ULONG Present
Definition: ketypes.h:508
UINT64 Alignment
Definition: ketypes.h:520
ULONG DefaultBig
Definition: ketypes.h:512
struct _KGDTENTRY64::@2315::@2317::@2319 Bytes
ULONG OffsetHigh
Definition: ketypes.h:559
USHORT Reserved0
Definition: ketypes.h:554
USHORT IstIndex
Definition: ketypes.h:553
USHORT OffsetMiddle
Definition: ketypes.h:558
USHORT OffsetLow
Definition: ketypes.h:551
UINT64 Alignment
Definition: ketypes.h:562
ULONG Reserved1
Definition: ketypes.h:560
USHORT Dpl
Definition: ketypes.h:556
USHORT Present
Definition: ketypes.h:557
USHORT Selector
Definition: ketypes.h:552
USHORT Type
Definition: ketypes.h:555
#define FORCEINLINE
Definition: wdftypes.h:67
M128A
Definition: ketypes.h:937
@ LockQueueMaximumLock
Definition: ketypes.h:676
unsigned char UCHAR
Definition: xmlstorage.h:181
char CHAR
Definition: xmlstorage.h:175