ReactOS  0.4.14-dev-337-gf981a68
ketypes.h
Go to the documentation of this file.
1 /*++ NDK Version: 0095
2 
3 Copyright (c) Alex Ionescu. All rights reserved.
4 
5 Header Name:
6 
7  ketypes.h (PPC)
8 
9 Abstract:
10 
11  PowerPC Type definitions for the Kernel services.
12 
13 Author:
14 
15  Alex Ionescu (alex.ionescu@reactos.com) 06-Oct-2004
16 
17 --*/
18 
19 #ifndef _POWERPC_KETYPES_H
20 #define _POWERPC_KETYPES_H
21 
22 //
23 // Dependencies
24 //
25 
26 //
27 // IPI Types
28 //
29 #define IPI_APC 1
30 #define IPI_DPC 2
31 #define IPI_FREEZE 3
32 #define IPI_PACKET_READY 4
33 #define IPI_SYNCH_REQUEST 10
34 #define MAXIMUM_VECTOR 0x100
35 
36 #define KSEG0_BASE 0x80000000
37 
38 #define PRCB_MAJOR_VERSION 1
39 #define PRCB_BUILD_DEBUG 1
40 
41 #ifndef ROUND_UP
42 #define ROUND_UP(x,y) (((x) + ((y)-1)) & ~((y)-1))
43 #endif
44 
45 typedef double DOUBLE;
46 
47 typedef struct _FX_SAVE_AREA {
48  ULONG Fr[32];
50 
51 typedef struct _FXSAVE_FORMAT
52 {
55 
56 typedef struct _LDT_ENTRY {
59  union
60  {
61  struct
62  {
63  UCHAR BaseMid;
64  UCHAR Flags1;
65  UCHAR Flags2;
66  UCHAR BaseHi;
67  } Bytes;
68  struct
69  {
70  ULONG BaseMid : 8;
71  ULONG Type : 5;
72  ULONG Dpl : 2;
73  ULONG Pres : 1;
74  ULONG LimitHi : 4;
75  ULONG Sys : 1;
76  ULONG Reserved_0 : 1;
77  ULONG Default_Big : 1;
78  ULONG Granularity : 1;
79  ULONG BaseHi : 8;
80  } Bits;
81  } HighWord;
82 } LDT_ENTRY;
83 
84 #ifndef CONFIG_SMP
85 #define SYNCH_LEVEL DISPATCH_LEVEL
86 #else
87 #define SYNCH_LEVEL (IPI_LEVEL - 1)
88 #endif
89 
90 //
91 // Trap Frame Definition
92 //
93 typedef struct _KTRAP_FRAME
94 {
134  ULONG Lr;
136  ULONG Dr0;
137  ULONG Dr1;
138  ULONG Dr2;
139  ULONG Dr3;
142  ULONG Dr6;
143  ULONG Dr7;
145 
146 //
147 // GDT Entry Definition
148 //
149 typedef struct _KGDTENTRY
150 {
152  USHORT BaseLow;
153  union
154  {
155  struct
156  {
157  UCHAR BaseMid;
158  UCHAR Flags1;
159  UCHAR Flags2;
160  UCHAR BaseHi;
161  } Bytes;
162  struct
163  {
164  ULONG BaseMid:8;
165  ULONG Type:5;
166  ULONG Dpl:2;
167  ULONG Pres:1;
168  ULONG LimitHi:4;
169  ULONG Sys:1;
170  ULONG Reserved_0:1;
171  ULONG Default_Big:1;
172  ULONG Granularity:1;
173  ULONG BaseHi:8;
174  } Bits;
175  } HighWord;
177 
178 //
179 // IDT Entry Definition
180 //
181 typedef struct _KIDTENTRY
182 {
183  USHORT Offset;
185  USHORT Access;
188 
189 typedef struct _DESCRIPTOR
190 {
191  USHORT Pad;
192  USHORT Limit;
193  ULONG Base;
195 
196 //
197 // Special Registers Structure (outside of CONTEXT)
198 //
199 typedef struct _KSPECIAL_REGISTERS
200 {
244  ULONG Reserved[9];
246 
247 //
248 // Processor State Data
249 //
250 #pragma pack(push,4)
251 typedef struct _KPROCESSOR_STATE
252 {
256 
257 //
258 // Processor Region Control Block
259 //
260 typedef struct _KPRCB
261 {
264  struct _KTHREAD *CurrentThread;
265  struct _KTHREAD *NextThread;
266  struct _KTHREAD *IdleThread;
267  UCHAR Number;
268  UCHAR Reserved;
271  UCHAR CpuType;
272  UCHAR CpuID;
273  USHORT CpuStep;
275  ULONG KernelReserved[16];
276  ULONG HalReserved[16];
277 #if (NTDDI_VERSION >= NTDDI_LONGHORN)
279  UCHAR PrcbPad0[88];
280 #else
281  UCHAR PrcbPad0[92];
282 #endif
284  struct _KTHREAD *NpxThread;
287  ULONG UserTime;
288  ULONG DpcTime;
293  UCHAR SkipTick;
295 #if (NTDDI_VERSION >= NTDDI_WS03)
297 #if (NTDDI_VERSION >= NTDDI_LONGHORN)
298  UCHAR PollSlot;
299 #else
300  UCHAR Spare1;
301 #endif
303 #else
304  UCHAR Spare1[6];
305 #endif
306  struct _KNODE *ParentNode;
309 #if (NTDDI_VERSION >= NTDDI_WS03)
311 #if (NTDDI_VERSION >= NTDDI_LONGHORN)
313 #else
314  LONG Sleeping;
315 #endif
316 #else
317  ULONG ThreadStartCount[2];
318 #endif
325 #if (NTDDI_VERSION < NTDDI_LONGHORN)
327 #endif
329 #if (NTDDI_VERSION < NTDDI_LONGHORN)
332  ULONG KeFirstLevelTbFills;
333  ULONG KeFloatingEmulationCount;
335  ULONG KeSecondLevelTbFills;
337 #endif
338  volatile ULONG IoReadOperationCount;
339  volatile ULONG IoWriteOperationCount;
340  volatile ULONG IoOtherOperationCount;
344 #if (NTDDI_VERSION >= NTDDI_LONGHORN)
374  ULONG PrcbPad1[3];
375 #else
376  ULONG SpareCounter1[8];
377 #endif
381  volatile ULONG PacketBarrier;
382  volatile ULONG ReverseStall;
383  PVOID IpiFrame;
384  UCHAR PrcbPad2[52];
385  volatile PVOID CurrentPacket[3];
386  volatile ULONG TargetSet;
387  volatile PKIPI_WORKER WorkerRoutine;
388  volatile ULONG IpiFrozen;
389  UCHAR PrcbPad3[40];
390  volatile ULONG RequestSummary;
391  volatile struct _KPRCB *SignalDone;
392  UCHAR PrcbPad4[56];
393  struct _KDPC_DATA DpcData[2];
394  PVOID DpcStack;
398  volatile UCHAR DpcInterruptRequested;
399  volatile UCHAR DpcThreadRequested;
400  volatile UCHAR DpcRoutineActive;
401  volatile UCHAR DpcThreadActive;
402  ULONG PrcbLock;
404  volatile ULONG TimerHand;
405  volatile ULONG TimerRequest;
409  volatile BOOLEAN QuantumEnd;
411  volatile UCHAR IdleSchedule;
413 #if (NTDDI_VERSION >= NTDDI_LONGHORN)
414  LONG Sleeping;
417  UCHAR PrcbPad5[6];
418 #else
419  UCHAR PrcbPad5[18];
420 #endif
422  KDPC CallDpc;
423 #if (NTDDI_VERSION >= NTDDI_LONGHORN)
427  UCHAR PrcbPad6[2];
432  ULONG PrcbPad70[2];
433 #else
434  ULONG PrcbPad7[8];
435 #endif
439 #if (NTDDI_VERSION >= NTDDI_LONGHORN)
443  ULONGLONG PrcbPad71[3];
445 #else
448  ULONG PrcbPad72[11];
449 #endif
452  volatile LONG MmPageFaultCount;
453  volatile LONG MmCopyOnWriteCount;
454  volatile LONG MmTransitionCount;
455  volatile LONG MmCacheTransitionCount;
456  volatile LONG MmDemandZeroCount;
457  volatile LONG MmPageReadCount;
458  volatile LONG MmPageReadIoCount;
459  volatile LONG MmCacheReadCount;
460  volatile LONG MmCacheIoCount;
461  volatile LONG MmDirtyPagesWriteCount;
462  volatile LONG MmDirtyWriteIoCount;
463  volatile LONG MmMappedPagesWriteCount;
464  volatile LONG MmMappedWriteIoCount;
465 #if (NTDDI_VERSION >= NTDDI_LONGHORN)
468  PVOID HyperPte;
470  UCHAR PrcbPad9[3];
471 #else
472  ULONG SpareFields0[1];
473 #endif
474  CHAR VendorString[13];
477  ULONG MHz;
480  volatile LARGE_INTEGER IsrTime;
484 #if (NTDDI_VERSION >= NTDDI_LONGHORN)
487  PVOID WheaInfo;
497  UCHAR PrcbPad8[3];
500 #endif
501 } KPRCB, *PKPRCB;
502 
503 //
504 // Processor Control Region
505 //
506 typedef struct _KIPCR
507 {
522  struct _KPRCB *PrcbData;
535  union
536  {
538  struct
539  {
543  };
544  };
553  union
554  {
556  struct
557  {
562  };
563  };
566  ULONG HalReserved[16];
592 } KIPCR, *PKIPCR;
593 #pragma pack(pop)
594 
595 //
596 // TSS Definition
597 //
598 typedef struct _KTSS {
599 } KTSS, *PKTSS;
600 
601 //
602 // PowerPC Exception Frame
603 //
604 typedef struct _KEXCEPTION_FRAME
605 {
645 
647 struct _KPRCB *
649 {
651 }
652 
653 #endif
ULONG Dr5
Definition: ketypes.h:141
ULONG Cr
Definition: ketypes.h:130
ULONG CcCopyReadWait
Definition: ketypes.h:653
UINT64 PrcbPad71[12]
Definition: ketypes.h:729
WORD LimitLow
Definition: compat.h:437
ULONG LimitHi
Definition: ketypes.h:352
BYTE BaseMid
Definition: compat.h:441
ULONG Kseg0Top
Definition: ketypes.h:512
UCHAR DebuggerSavedIRQL
Definition: ketypes.h:739
GENERAL_LOOKASIDE_POOL PPNPagedLookasideList[NUMBER_POOL_LOOKASIDE_LISTS]
Definition: ketypes.h:625
UCHAR ClockCheckSlot
Definition: ketypes.h:713
ULONG ProfileCount
Definition: ketypes.h:531
ULONG Xer
Definition: ketypes.h:53
ULONG CcFastReadResourceMiss
Definition: ketypes.h:781
ULONG MinimumDpcRate
Definition: ketypes.h:685
ULONG DpcTimeLimit
Definition: ketypes.h:744
ULONG CcMdlReadWait
Definition: ketypes.h:774
struct _KGDTENTRY::@2350::@2351 Bytes
ULONG CcMapDataNoWait
Definition: ketypes.h:768
UCHAR ExceptionRecord[ROUND_UP(sizeof(EXCEPTION_RECORD), sizeof(ULONGLONG))]
Definition: ketypes.h:100
ULONG Gpr5
Definition: ketypes.h:107
UCHAR PrcbPad4[120]
Definition: ketypes.h:675
ULONG InterruptTime
Definition: ketypes.h:736
UCHAR SavedApcStateIndex
Definition: ketypes.h:98
LONG IoWriteOperationCount
Definition: ketypes.h:661
ULONG Fr[32]
Definition: ketypes.h:48
ULONG SpareCounter0
Definition: ketypes.h:557
UCHAR LogicalProcessorsPerPhysicalProcessor
Definition: ketypes.h:705
UCHAR Spare6[3]
Definition: ketypes.h:580
ULONG ProfileInterval
Definition: ketypes.h:530
LONG TickOffset
Definition: ketypes.h:692
volatile LARGE_INTEGER IsrTime
Definition: ketypes.h:709
ULONG Granularity
Definition: ketypes.h:356
Definition: ntbasedef.h:635
ULONG SecondaryColorMask
Definition: ketypes.h:760
KDPC CallDpc
Definition: ketypes.h:710
KAFFINITY NotMember
Definition: ketypes.h:564
Definition: fatfs.h:173
UCHAR ApcInterrupt
Definition: ketypes.h:1069
UINT64 TargetSet
Definition: ketypes.h:670
KPRCB PrcbData[MAXIMUM_PROCESSORS]
Definition: kiinit.c:27
UCHAR DpcThreadRequested
Definition: ketypes.h:687
struct _KIPCR KIPCR
KDPC_DATA DpcData[2]
Definition: ketypes.h:676
ULONG64 KernelDr7
Definition: ketypes.h:505
LONG MmMappedPagesWriteCount
Definition: ketypes.h:644
ULONG FILL2
Definition: ketypes.h:101
ULONG CcMapDataWaitMiss
Definition: ketypes.h:785
ULONG FeatureBits
Definition: ketypes.h:799
USHORT BaseLow
Definition: ketypes.h:336
UCHAR DcacheMode
Definition: ketypes.h:541
ULONG Pres
Definition: ketypes.h:351
DOUBLE Fpr7
Definition: ketypes.h:122
LONG MmTransitionCount
Definition: ketypes.h:631
ULONG CcPinReadNoWaitMiss
Definition: ketypes.h:786
ULONG InterruptStack
Definition: ketypes.h:570
ULONG Msr
Definition: ketypes.h:132
LONG MmPageFaultCount
Definition: ketypes.h:629
LONG DpcWatchDogCount
Definition: ketypes.h:658
char CHAR
Definition: xmlstorage.h:175
ULONG MHz
Definition: ketypes.h:595
UINT64 CycleTime
Definition: ketypes.h:764
DOUBLE Fpr6
Definition: ketypes.h:121
ULONG Fpscr
Definition: ketypes.h:53
USHORT MinorVersion
Definition: ketypes.h:877
struct _FXSAVE_FORMAT * PFXSAVE_FORMAT
ULONG PeriodicCount
Definition: ketypes.h:745
LONG MmDemandZeroCount
Definition: ketypes.h:635
FORCEINLINE struct _KPRCB * KeGetCurrentPrcb(VOID)
Definition: ketypes.h:1062
ULONG IpiFrozen
Definition: ketypes.h:671
struct _KIPCR * PKIPCR
ULONG CFlushSize
Definition: ketypes.h:610
LARGE_INTEGER IoWriteTransferCount
Definition: ketypes.h:664
UCHAR VendorString[13]
Definition: ketypes.h:797
ULONG FirstLevelDcacheFillSize
Definition: ketypes.h:515
ULONG SiR5
Definition: ketypes.h:586
DWORD Pres
Definition: compat.h:450
DOUBLE Fpr8
Definition: ketypes.h:123
ULONG64 KernelDr2
Definition: ketypes.h:502
ULONG QueueIndex
Definition: ketypes.h:727
UCHAR Reserved
Definition: ketypes.h:497
ULONG FirstLevelIcacheFillSize
Definition: ketypes.h:517
struct _KGDTENTRY KGDTENTRY
ULONG SiR2
Definition: ketypes.h:583
ULONG OnInterruptStack
Definition: ketypes.h:590
UCHAR SavedKernelApcDisable
Definition: ketypes.h:99
PROCESSOR_POWER_STATE PowerState
Definition: ketypes.h:795
ULONG CcMdlReadWaitMiss
Definition: ketypes.h:789
SLIST_HEADER InterruptObjectPool
Definition: ketypes.h:810
UCHAR QuantumEnd
Definition: ketypes.h:696
KSPECIAL_REGISTERS SpecialRegisters
Definition: ketypes.h:530
ULONG CcFastMdlReadWait
Definition: ketypes.h:766
ULONG SecondLevelIcacheSize
Definition: ketypes.h:520
ULONG CcReadAheadIos
Definition: ketypes.h:790
ULONG CcPinMappedDataCount
Definition: ketypes.h:770
USHORT Access
Definition: ketypes.h:388
ULONG CachedResidentAvailable
Definition: ketypes.h:806
ULONG KernelReserved[16]
Definition: ketypes.h:504
PVOID DpcThread
Definition: ketypes.h:635
LONG ThreadWatchdogPeriod
Definition: ketypes.h:659
ULONG Lr
Definition: ketypes.h:365
ULONG NTSYSAPI KeIcacheFlushCount
Definition: cpu.c:19
ULONG64 KernelDr1
Definition: ketypes.h:501
ULONG Spare
Definition: ketypes.h:534
ULONG DpcTime
Definition: ketypes.h:735
WORD BaseLow
Definition: compat.h:438
struct _KTHREAD * NextThread
Definition: ketypes.h:567
BYTE Flags1
Definition: compat.h:442
ULONG SoftwareInterrupt
Definition: ketypes.h:555
LONG LookasideIrpFloat
Definition: ketypes.h:655
ULONG CcFastMdlReadResourceMiss
Definition: ketypes.h:783
ULONG DebugDpcTime
Definition: ketypes.h:518
struct _LDT_ENTRY::@347::@348 Bytes
volatile ULONG ReverseStall
Definition: ketypes.h:611
struct _KEXCEPTION_FRAME KEXCEPTION_FRAME
LONG MmCacheReadCount
Definition: ketypes.h:792
ULONG DpcLastCount
Definition: ketypes.h:694
UINT64 HalReserved[8]
Definition: ketypes.h:596
LARGE_INTEGER HyperCallPagePhysical
Definition: ketypes.h:719
UCHAR PrcbPad6[2]
Definition: ketypes.h:715
LONG ClockKeepAlive
Definition: ketypes.h:712
ULONG Gpr8
Definition: ketypes.h:110
PVOID StackLimit
Definition: ketypes.h:575
LARGE_INTEGER UpdateSignature
Definition: ketypes.h:800
ULONG CcCopyReadWaitMiss
Definition: ketypes.h:782
struct _KPRCB * PKPRCB
PP_LOOKASIDE_LIST PPLookasideList[16]
Definition: ketypes.h:624
struct _KTRAP_FRAME KTRAP_FRAME
UINT64 Dr2
Definition: ketypes.h:344
ULONG Spare8
Definition: ketypes.h:588
struct _KTSS * PKTSS
struct _KDESCRIPTOR * PKDESCRIPTOR
struct _KPROCESSOR_STATE * PKPROCESSOR_STATE
ULONG CcDataFlushes
Definition: ketypes.h:778
long LONG
Definition: pedump.c:60
ULONG KeAlignmentFixupCount
Definition: ketypes.h:796
PVOID EtwSupport
Definition: ketypes.h:809
ULONG CcCopyReadNoWait
Definition: ketypes.h:652
ULONG ProcessorRevision
Definition: ketypes.h:529
struct _KPRCB KPRCB
ULONG Type
Definition: ketypes.h:349
UCHAR IrqlMask[32]
Definition: ketypes.h:545
struct _KEXCEPTION_FRAME * PKEXCEPTION_FRAME
PVOID IpiFrame
Definition: ketypes.h:612
ULONG AlignedCachePolicy
Definition: ketypes.h:552
ULONG PgDirRa
Definition: ketypes.h:589
CONTEXT ContextFrame
Definition: ketypes.h:531
ULONG Gpr9
Definition: ketypes.h:111
ULONG Gpr2
Definition: ketypes.h:104
ULONG Sys
Definition: ketypes.h:353
ULONG SystemServiceDispatchEnd
Definition: ketypes.h:569
struct _KSPECIAL_REGISTERS * PKSPECIAL_REGISTERS
LONG MmMappedWriteIoCount
Definition: ketypes.h:645
ULONG StallScaleFactor
Definition: ketypes.h:878
struct _KTHREAD * CurrentThread
Definition: ketypes.h:566
KDPC DpcWatchdogDoc
Definition: ketypes.h:714
LONG IoReadOperationCount
Definition: ketypes.h:660
unsigned char BOOLEAN
USHORT CpuStep
Definition: ketypes.h:585
UCHAR SkipTick
Definition: ketypes.h:738
ULONG Gpr1
Definition: ketypes.h:103
USHORT MinorVersion
Definition: ketypes.h:597
KAFFINITY SetMember
Definition: ketypes.h:763
DOUBLE Fpr5
Definition: ketypes.h:120
DWORD Dpl
Definition: compat.h:449
ULONG Gpr4
Definition: ketypes.h:106
#define FORCEINLINE
Definition: ntbasedef.h:221
UCHAR PrcbPad50
Definition: ketypes.h:697
LONG MmCacheTransitionCount
Definition: ketypes.h:791
ULONG SiR0
Definition: ketypes.h:582
Definition: ketypes.h:789
struct _KGDTENTRY::@2350::@2352 Bits
DWORD Reserved_0
Definition: compat.h:453
struct _KPRCB * MultiThreadSetMaster
Definition: ketypes.h:753
ULONG Default_Big
Definition: ketypes.h:355
ULONG Gpr0
Definition: ketypes.h:102
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
PPC_QUAL unsigned long __readfsdword(const unsigned long Offset)
Definition: intrin_ppc.h:382
DOUBLE Fpr2
Definition: ketypes.h:117
ULONG KernelTime
Definition: ketypes.h:733
UCHAR PreviousMode
Definition: ketypes.h:97
LONG MmDirtyWriteIoCount
Definition: ketypes.h:643
ULONG SiR4
Definition: ketypes.h:585
ULONG InterruptCount
Definition: ketypes.h:732
CCHAR Number
Definition: ketypes.h:548
ULONG Gpr3
Definition: ketypes.h:105
LONG ThreadWatchDogCount
Definition: ketypes.h:660
KEVENT DpcEvent
Definition: ketypes.h:706
ULONG CcFastReadNotPossible
Definition: ketypes.h:651
FX_SAVE_AREA NpxSaveArea
Definition: ketypes.h:711
VOID(NTAPI * PKINTERRUPT_ROUTINE)(VOID)
Definition: ketypes.h:490
#define MAXIMUM_VECTOR
Definition: ketypes.h:34
UINT64 PackageProcessorSet
Definition: ketypes.h:817
UINT64 PrcbLock
Definition: ketypes.h:577
DOUBLE Fpr1
Definition: ketypes.h:116
double DOUBLE
Definition: ketypes.h:45
ULONG PrcbPad1[3]
Definition: ketypes.h:603
PVOID WheaInfo
Definition: ketypes.h:808
ULONG CcLazyWriteIos
Definition: ketypes.h:776
LARGE_INTEGER SpareField1
Definition: ketypes.h:710
ULONG CcMapDataWait
Definition: ketypes.h:769
ULONG Xer
Definition: ketypes.h:131
ULONG Gpr6
Definition: ketypes.h:108
DWORD Type
Definition: compat.h:448
struct _FX_SAVE_AREA FX_SAVE_AREA
UINT64 TimerRequest
Definition: ketypes.h:691
struct _KNODE * ParentNode
Definition: ketypes.h:751
UCHAR PrcbPad5[6]
Definition: ketypes.h:646
UCHAR DebugActive
Definition: ketypes.h:579
BYTE Flags2
Definition: compat.h:443
union _LDT_ENTRY::@347 HighWord
ULONG Gpr7
Definition: ketypes.h:109
ULONG StallExecutionCount
Definition: ketypes.h:532
#define ROUND_UP(x, y)
Definition: ketypes.h:42
UCHAR PrcbPad0[88]
Definition: ketypes.h:508
ULONG FirstLevelActive
Definition: ketypes.h:567
PVOID Teb
Definition: ketypes.h:523
LIST_ENTRY WaitListHead
Definition: ketypes.h:722
char CCHAR
Definition: typedefs.h:50
ULONG CcFastMdlReadNotPossible
Definition: ketypes.h:767
ULONG CcMdlReadNoWaitMiss
Definition: ketypes.h:788
uint64_t ULONGLONG
Definition: typedefs.h:65
PVOID HyperPte
Definition: ketypes.h:807
ULONG SecondLevelDcacheFillSize
Definition: ketypes.h:519
ULONG IcacheFillSize
Definition: ketypes.h:527
UINT64 Dr6
Definition: ketypes.h:346
UINT64 PacketBarrier
Definition: ketypes.h:627
ULONG KeSystemCalls
Definition: ketypes.h:647
UINT64 CacheProcessorMask[5]
Definition: ketypes.h:816
PVOID ChainedInterruptList
Definition: ketypes.h:679
USHORT Offset
Definition: ketypes.h:386
ULONG Ctr
Definition: ketypes.h:135
struct _KPRCB * PrcbData
Definition: ketypes.h:522
DOUBLE Fpr11
Definition: ketypes.h:126
UCHAR CpuVendor
Definition: ketypes.h:600
LARGE_INTEGER IoOtherTransferCount
Definition: ketypes.h:665
UINT64 Dr3
Definition: ketypes.h:345
USHORT Limit
Definition: ketypes.h:395
ULONG CcPinReadWaitMiss
Definition: ketypes.h:787
ULONG CcDataPages
Definition: ketypes.h:779
KPROCESSOR_STATE ProcessorState
Definition: ketypes.h:579
LONG IoOtherOperationCount
Definition: ketypes.h:662
USHORT ExtendedOffset
Definition: ketypes.h:389
ULONG FirstLevelDcacheSize
Definition: ketypes.h:514
UCHAR ClockPollCycle
Definition: ketypes.h:714
LONG MmCacheIoCount
Definition: ketypes.h:793
unsigned char UCHAR
Definition: xmlstorage.h:181
ULONG GprSave[6]
Definition: ketypes.h:581
ULONG Reserved_0
Definition: ketypes.h:354
UINT64 Dr1
Definition: ketypes.h:343
ULONG CachedCommit
Definition: ketypes.h:805
struct _KGDTENTRY * PKGDTENTRY
UCHAR DpcRoutineActive
Definition: ketypes.h:688
ULONG NodeColor
Definition: ketypes.h:758
Definition: ketypes.h:687
UCHAR BuildType
Definition: ketypes.h:599
ULONG CcFastMdlReadNoWait
Definition: ketypes.h:765
UCHAR DpcInterruptRequested
Definition: ketypes.h:686
ULONG DcacheFillSize
Definition: ketypes.h:525
ULONG FirstLevelIcacheSize
Definition: ketypes.h:516
UCHAR BaseMid
Definition: ketypes.h:341
struct _KTHREAD * NpxThread
Definition: ketypes.h:513
ULONG HalReserved[16]
Definition: ketypes.h:882
PVOID TrapFrame
Definition: ketypes.h:95
UCHAR Flags2
Definition: ketypes.h:343
DWORD LimitHi
Definition: compat.h:451
ULONG CcMdlReadNoWait
Definition: ketypes.h:773
ULONG UserTime
Definition: ketypes.h:734
Definition: typedefs.h:117
struct _LDT_ENTRY::@347::@349 Bits
struct _KIDTENTRY * PKIDTENTRY
VOID(NTAPI * PKIPI_WORKER)(IN OUT PKIPI_CONTEXT PacketContext, IN PVOID Parameter1 OPTIONAL, IN PVOID Parameter2 OPTIONAL, IN PVOID Parameter3 OPTIONAL)
Definition: ketypes.h:576
LONG DpcWatchdogPeriod
Definition: ketypes.h:716
ULONG LDT_ENTRY
Definition: ketypes.h:397
UCHAR ThreadDpcEnable
Definition: ketypes.h:695
struct _KSPECIAL_REGISTERS KSPECIAL_REGISTERS
volatile PKIPI_WORKER WorkerRoutine
Definition: ketypes.h:616
struct _KIDTENTRY KIDTENTRY
struct _KTSS KTSS
UINT64 Dr0
Definition: ketypes.h:342
struct _KDESCRIPTOR KDESCRIPTOR
UCHAR PrcbPad9[3]
Definition: ketypes.h:699
struct _FXSAVE_FORMAT FXSAVE_FORMAT
ULONG SiR3
Definition: ketypes.h:584
LARGE_INTEGER IoReadTransferCount
Definition: ketypes.h:663
UINT64 SetMember
Definition: ketypes.h:578
Definition: compat.h:436
struct _KTHREAD * IdleThread
Definition: ketypes.h:568
ULONG CcLazyWritePages
Definition: ketypes.h:777
ULONG ReadySummary
Definition: ketypes.h:726
volatile struct _KPRCB * SignalDone
Definition: ketypes.h:620
KTIMER DpcWatchdogTimer
Definition: ketypes.h:802
SINGLE_LIST_ENTRY DeferredReadyListHead
Definition: ketypes.h:628
BYTE BaseHi
Definition: compat.h:444
UCHAR PrcbPad8[3]
Definition: ketypes.h:726
ULONG SystemServiceDispatchStart
Definition: ketypes.h:568
ULONG64 KernelDr3
Definition: ketypes.h:503
DOUBLE Fpr3
Definition: ketypes.h:118
ULONG ReservedVectors
Definition: ketypes.h:550
PVOID SavedStackLimit
Definition: ketypes.h:576
LARGE_INTEGER HyperCallPageVirtual
Definition: ketypes.h:720
struct _FX_SAVE_AREA * PFX_SAVE_AREA
PVOID DpcStack
Definition: ketypes.h:677
UCHAR Spare5
Definition: ketypes.h:561
DOUBLE Fpr9
Definition: ketypes.h:124
ULONG SavedInitialStack
Definition: ketypes.h:591
UINT64 TimerHand
Definition: ketypes.h:690
unsigned short USHORT
Definition: pedump.c:61
ULONG Gpr10
Definition: ketypes.h:112
UINT64 MultiThreadProcessorSet
Definition: ketypes.h:752
ULONG KeExceptionDispatchCount
Definition: ketypes.h:701
DOUBLE Fpr10
Definition: ketypes.h:125
ULONG_PTR KAFFINITY
Definition: compat.h:75
LONG Sleeping
Definition: ketypes.h:762
ULONG CacheCount
Definition: ketypes.h:804
ULONG Spare0
Definition: ketypes.h:587
UCHAR PrcbPad2[52]
Definition: ketypes.h:613
LONG DpcSetEventRequest
Definition: ketypes.h:699
ULONG NodeShiftedColor
Definition: ketypes.h:759
ULONG CcFastReadNoWait
Definition: ketypes.h:649
#define FIELD_OFFSET(t, f)
Definition: typedefs.h:254
UCHAR IrqlTable[9]
Definition: ketypes.h:546
UCHAR OldIrql
Definition: ketypes.h:96
USHORT MajorVersion
Definition: ketypes.h:598
ULONG SavedV1
Definition: ketypes.h:578
USHORT MajorVersion
Definition: ketypes.h:876
ULONG QuantumEnd
Definition: ketypes.h:571
ULONG PcrPage2
Definition: ketypes.h:511
UCHAR DispatchInterrupt
Definition: ketypes.h:1070
UCHAR PrcbPad3[116]
Definition: ketypes.h:672
UCHAR DpcThreadActive
Definition: ketypes.h:689
USHORT Pad
Definition: ketypes.h:601
ULONG CcMapDataNoWaitMiss
Definition: ketypes.h:784
DOUBLE Fpr4
Definition: ketypes.h:119
UCHAR CurrentIrql
Definition: ketypes.h:547
ULONG Gpr12
Definition: ketypes.h:114
ULONG SystemReserved[16]
Definition: ketypes.h:565
LIST_ENTRY DispatcherReadyListHead[32]
Definition: ketypes.h:731
LONG MmCopyOnWriteCount
Definition: ketypes.h:630
ULONG Dpl
Definition: ketypes.h:350
UCHAR LogicalProcessorsPerCore
Definition: ketypes.h:603
LONG MmPageReadCount
Definition: ketypes.h:636
DOUBLE Fpscr
Definition: ketypes.h:129
DOUBLE Fpr0
Definition: ketypes.h:115
DWORD Default_Big
Definition: compat.h:454
ULONG Gpr11
Definition: ketypes.h:113
ULONG SecondLevelIcacheFillSize
Definition: ketypes.h:521
USHORT Number
Definition: ketypes.h:559
unsigned int ULONG
Definition: retypes.h:1
ULONG64 KernelDr6
Definition: ketypes.h:504
ULONG NTSYSAPI KeDcacheFlushCount
Definition: cpu.c:20
double DOUBLE
Definition: typedefs.h:68
ULONG BadVaddr
Definition: ketypes.h:574
#define ULONG_PTR
Definition: config.h:101
UINT64 CoreProcessorSet
Definition: ketypes.h:818
UCHAR BaseHi
Definition: ketypes.h:344
ULONG IcacheAlignment
Definition: ketypes.h:526
volatile PVOID CurrentPacket[3]
Definition: ketypes.h:614
ULONG Iar
Definition: ketypes.h:133
PVOID PanicStack
Definition: ketypes.h:573
KSPIN_LOCK_QUEUE LockQueue[LockQueueMaximumLock]
Definition: ketypes.h:623
ULONG CachePolicy
Definition: ketypes.h:537
UCHAR Flags1
Definition: ketypes.h:342
struct _KTHREAD * CurrentThread
Definition: ketypes.h:551
PVOID RateControl
Definition: ketypes.h:815
UCHAR Spare4
Definition: ketypes.h:560
ULONG CcPinReadNoWait
Definition: ketypes.h:771
struct _KTRAP_FRAME * PKTRAP_FRAME
DWORD Sys
Definition: compat.h:452
ULONG DcacheAlignment
Definition: ketypes.h:524
UINT64 StartCycles
Definition: ketypes.h:755
ULONG Spare7[30]
Definition: ketypes.h:513
PVOID InitialStack
Definition: ketypes.h:572
ULONG CcFastReadWait
Definition: ketypes.h:650
LONG MmPageReadIoCount
Definition: ketypes.h:637
PKINTERRUPT_ROUTINE InterruptRoutine[MAXIMUM_VECTOR]
Definition: ketypes.h:510
ULONG SavedV0
Definition: ketypes.h:577
UINT64 Dr7
Definition: ketypes.h:347
USHORT LimitLow
Definition: ketypes.h:335
ULONG DpcRequestRate
Definition: ketypes.h:684
CHAR CpuID
Definition: ketypes.h:581
DOUBLE Fpr13
Definition: ketypes.h:128
ULONG Base
Definition: ketypes.h:396
ULONG ProcessorVersion
Definition: ketypes.h:528
LONG MaximumDpcQueueDepth
Definition: ketypes.h:683
ULONG PageColor
Definition: ketypes.h:757
ULONG Dr4
Definition: ketypes.h:140
DWORD Granularity
Definition: compat.h:455
union _KGDTENTRY::@2350 HighWord
USHORT ModeSpare
Definition: ketypes.h:542
ULONG CcLazyWriteHotSpots
Definition: ketypes.h:775
LONG MmDirtyPagesWriteCount
Definition: ketypes.h:642
USHORT Selector
Definition: ketypes.h:387
ULONG64 KernelDr0
Definition: ketypes.h:500
struct _KPROCESSOR_STATE KPROCESSOR_STATE
ULONG CcLostDelayedWrites
Definition: ketypes.h:780
ULONG PeriodicBias
Definition: ketypes.h:746
ULONG CcCopyReadNoWaitMiss
Definition: ketypes.h:654
UINT64 PrcbPad70[2]
Definition: ketypes.h:718
UCHAR IdleSchedule
Definition: ketypes.h:698
DOUBLE Fpr12
Definition: ketypes.h:127
ULONG InitialApicId
Definition: ketypes.h:617
UCHAR PollSlot
Definition: ketypes.h:740
ULONG SecondLevelDcacheSize
Definition: ketypes.h:518
UCHAR IcacheMode
Definition: ketypes.h:540
GENERAL_LOOKASIDE_POOL PPPagedLookasideList[NUMBER_POOL_LOOKASIDE_LISTS]
Definition: ketypes.h:626
CHAR CpuType
Definition: ketypes.h:580
ULONG AdjustDpcThreshold
Definition: ketypes.h:737
ULONG RequestSummary
Definition: ketypes.h:827
ULONG CcPinReadWait
Definition: ketypes.h:772