ReactOS  0.4.15-dev-4871-g4471ee4
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 //
37 // Static Kernel-Mode Address start (use MM_KSEG0_BASE for actual)
38 //
39 #define KSEG0_BASE 0x80000000
40 
41 //
42 // PRCB Flags
43 //
44 #define PRCB_MINOR_VERSION 1
45 #define PRCB_MAJOR_VERSION 1
46 #define PRCB_BUILD_DEBUG 1
47 #define PRCB_BUILD_UNIPROCESSOR 2
48 
49 #ifndef ROUND_UP
50 #define ROUND_UP(x,y) (((x) + ((y)-1)) & ~((y)-1))
51 #endif
52 
53 typedef double DOUBLE;
54 
55 typedef struct _FX_SAVE_AREA {
56  ULONG Fr[32];
58 
59 typedef struct _FXSAVE_FORMAT
60 {
63 
64 typedef struct _LDT_ENTRY {
67  union
68  {
69  struct
70  {
71  UCHAR BaseMid;
72  UCHAR Flags1;
73  UCHAR Flags2;
74  UCHAR BaseHi;
75  } Bytes;
76  struct
77  {
78  ULONG BaseMid : 8;
79  ULONG Type : 5;
80  ULONG Dpl : 2;
81  ULONG Pres : 1;
82  ULONG LimitHi : 4;
83  ULONG Sys : 1;
84  ULONG Reserved_0 : 1;
85  ULONG Default_Big : 1;
86  ULONG Granularity : 1;
87  ULONG BaseHi : 8;
88  } Bits;
89  } HighWord;
90 } LDT_ENTRY;
91 
92 #ifndef CONFIG_SMP
93 #define SYNCH_LEVEL DISPATCH_LEVEL
94 #else
95 #define SYNCH_LEVEL (IPI_LEVEL - 1)
96 #endif
97 
98 //
99 // Trap Frame Definition
100 //
101 typedef struct _KTRAP_FRAME
102 {
142  ULONG Lr;
144  ULONG Dr0;
145  ULONG Dr1;
146  ULONG Dr2;
147  ULONG Dr3;
150  ULONG Dr6;
151  ULONG Dr7;
153 
154 //
155 // GDT Entry Definition
156 //
157 typedef struct _KGDTENTRY
158 {
160  USHORT BaseLow;
161  union
162  {
163  struct
164  {
165  UCHAR BaseMid;
166  UCHAR Flags1;
167  UCHAR Flags2;
168  UCHAR BaseHi;
169  } Bytes;
170  struct
171  {
172  ULONG BaseMid:8;
173  ULONG Type:5;
174  ULONG Dpl:2;
175  ULONG Pres:1;
176  ULONG LimitHi:4;
177  ULONG Sys:1;
178  ULONG Reserved_0:1;
179  ULONG Default_Big:1;
180  ULONG Granularity:1;
181  ULONG BaseHi:8;
182  } Bits;
183  } HighWord;
185 
186 //
187 // IDT Entry Definition
188 //
189 typedef struct _KIDTENTRY
190 {
191  USHORT Offset;
193  USHORT Access;
196 
197 typedef struct _DESCRIPTOR
198 {
199  USHORT Pad;
200  USHORT Limit;
201  ULONG Base;
203 
204 //
205 // Special Registers Structure (outside of CONTEXT)
206 //
207 typedef struct _KSPECIAL_REGISTERS
208 {
252  ULONG Reserved[9];
254 
255 //
256 // Processor State Data
257 //
258 #pragma pack(push,4)
259 typedef struct _KPROCESSOR_STATE
260 {
264 
265 //
266 // Processor Region Control Block
267 //
268 typedef struct _KPRCB
269 {
272  struct _KTHREAD *CurrentThread;
273  struct _KTHREAD *NextThread;
274  struct _KTHREAD *IdleThread;
275  UCHAR Number;
276  UCHAR Reserved;
279  UCHAR CpuType;
280  UCHAR CpuID;
281  USHORT CpuStep;
283  ULONG KernelReserved[16];
284  ULONG HalReserved[16];
285 #if (NTDDI_VERSION >= NTDDI_LONGHORN)
287  UCHAR PrcbPad0[88];
288 #else
289  UCHAR PrcbPad0[92];
290 #endif
292  struct _KTHREAD *NpxThread;
295  ULONG UserTime;
296  ULONG DpcTime;
301  UCHAR SkipTick;
303 #if (NTDDI_VERSION >= NTDDI_WS03)
305 #if (NTDDI_VERSION >= NTDDI_LONGHORN)
306  UCHAR PollSlot;
307 #else
308  UCHAR Spare1;
309 #endif
311 #else
312  UCHAR Spare1[6];
313 #endif
314  struct _KNODE *ParentNode;
317 #if (NTDDI_VERSION >= NTDDI_WS03)
319 #if (NTDDI_VERSION >= NTDDI_LONGHORN)
321 #else
322  LONG Sleeping;
323 #endif
324 #else
325  ULONG ThreadStartCount[2];
326 #endif
333 #if (NTDDI_VERSION < NTDDI_LONGHORN)
335 #endif
337 #if (NTDDI_VERSION < NTDDI_LONGHORN)
340  ULONG KeFirstLevelTbFills;
341  ULONG KeFloatingEmulationCount;
343  ULONG KeSecondLevelTbFills;
345 #endif
346  volatile ULONG IoReadOperationCount;
347  volatile ULONG IoWriteOperationCount;
348  volatile ULONG IoOtherOperationCount;
352 #if (NTDDI_VERSION >= NTDDI_LONGHORN)
382  ULONG PrcbPad1[3];
383 #else
384  ULONG SpareCounter1[8];
385 #endif
389  volatile ULONG PacketBarrier;
390  volatile ULONG ReverseStall;
391  PVOID IpiFrame;
392  UCHAR PrcbPad2[52];
393  volatile PVOID CurrentPacket[3];
394  volatile ULONG TargetSet;
395  volatile PKIPI_WORKER WorkerRoutine;
396  volatile ULONG IpiFrozen;
397  UCHAR PrcbPad3[40];
398  volatile ULONG RequestSummary;
399  volatile struct _KPRCB *SignalDone;
400  UCHAR PrcbPad4[56];
401  struct _KDPC_DATA DpcData[2];
402  PVOID DpcStack;
406  volatile UCHAR DpcInterruptRequested;
407  volatile UCHAR DpcThreadRequested;
408  volatile UCHAR DpcRoutineActive;
409  volatile UCHAR DpcThreadActive;
410  ULONG PrcbLock;
412  volatile ULONG TimerHand;
413  volatile ULONG TimerRequest;
417  volatile BOOLEAN QuantumEnd;
419  volatile UCHAR IdleSchedule;
421 #if (NTDDI_VERSION >= NTDDI_LONGHORN)
422  LONG Sleeping;
425  UCHAR PrcbPad5[6];
426 #else
427  UCHAR PrcbPad5[18];
428 #endif
430  KDPC CallDpc;
431 #if (NTDDI_VERSION >= NTDDI_LONGHORN)
435  UCHAR PrcbPad6[2];
440  ULONG PrcbPad70[2];
441 #else
442  ULONG PrcbPad7[8];
443 #endif
447 #if (NTDDI_VERSION >= NTDDI_LONGHORN)
451  ULONGLONG PrcbPad71[3];
453 #else
456  ULONG PrcbPad72[11];
457 #endif
460  volatile LONG MmPageFaultCount;
461  volatile LONG MmCopyOnWriteCount;
462  volatile LONG MmTransitionCount;
463  volatile LONG MmCacheTransitionCount;
464  volatile LONG MmDemandZeroCount;
465  volatile LONG MmPageReadCount;
466  volatile LONG MmPageReadIoCount;
467  volatile LONG MmCacheReadCount;
468  volatile LONG MmCacheIoCount;
469  volatile LONG MmDirtyPagesWriteCount;
470  volatile LONG MmDirtyWriteIoCount;
471  volatile LONG MmMappedPagesWriteCount;
472  volatile LONG MmMappedWriteIoCount;
473 #if (NTDDI_VERSION >= NTDDI_LONGHORN)
476  PVOID HyperPte;
478  UCHAR PrcbPad9[3];
479 #else
480  ULONG SpareFields0[1];
481 #endif
482  CHAR VendorString[13];
485  ULONG MHz;
488  volatile LARGE_INTEGER IsrTime;
492 #if (NTDDI_VERSION >= NTDDI_LONGHORN)
495  PVOID WheaInfo;
505  UCHAR PrcbPad8[3];
508 #endif
509 } KPRCB, *PKPRCB;
510 
511 //
512 // Processor Control Region
513 //
514 typedef struct _KIPCR
515 {
530  struct _KPRCB *PrcbData;
543  union
544  {
546  struct
547  {
551  };
552  };
561  union
562  {
564  struct
565  {
570  };
571  };
574  ULONG HalReserved[16];
600 } KIPCR, *PKIPCR;
601 #pragma pack(pop)
602 
603 //
604 // TSS Definition
605 //
606 typedef struct _KTSS {
607 } KTSS, *PKTSS;
608 
609 //
610 // PowerPC Exception Frame
611 //
612 typedef struct _KEXCEPTION_FRAME
613 {
653 
655 struct _KPRCB *
657 {
658  return (struct _KPRCB *)(ULONG_PTR)__readfsdword(FIELD_OFFSET(KIPCR, PrcbData));
659 }
660 
661 #endif
ULONG Dr5
Definition: ketypes.h:149
struct _LDT_ENTRY::@343::@345 Bits
ULONG Cr
Definition: ketypes.h:138
ULONG CcCopyReadWait
Definition: ketypes.h:658
UINT64 PrcbPad71[12]
Definition: ketypes.h:734
WORD LimitLow
Definition: compat.h:637
ULONG LimitHi
Definition: ketypes.h:353
BYTE BaseMid
Definition: compat.h:641
ULONG Kseg0Top
Definition: ketypes.h:520
UCHAR DebuggerSavedIRQL
Definition: ketypes.h:744
GENERAL_LOOKASIDE_POOL PPNPagedLookasideList[NUMBER_POOL_LOOKASIDE_LISTS]
Definition: ketypes.h:630
UCHAR ClockCheckSlot
Definition: ketypes.h:718
ULONG ProfileCount
Definition: ketypes.h:539
ULONG Xer
Definition: ketypes.h:61
ULONG CcFastReadResourceMiss
Definition: ketypes.h:786
ULONG MinimumDpcRate
Definition: ketypes.h:690
ULONG DpcTimeLimit
Definition: ketypes.h:749
ULONG CcMdlReadWait
Definition: ketypes.h:779
ULONG CcMapDataNoWait
Definition: ketypes.h:773
UCHAR ExceptionRecord[ROUND_UP(sizeof(EXCEPTION_RECORD), sizeof(ULONGLONG))]
Definition: ketypes.h:108
ULONG Gpr5
Definition: ketypes.h:115
UCHAR PrcbPad4[120]
Definition: ketypes.h:680
ULONG InterruptTime
Definition: ketypes.h:741
UCHAR SavedApcStateIndex
Definition: ketypes.h:106
LONG IoWriteOperationCount
Definition: ketypes.h:666
ULONG Fr[32]
Definition: ketypes.h:56
ULONG SpareCounter0
Definition: ketypes.h:558
UCHAR LogicalProcessorsPerPhysicalProcessor
Definition: ketypes.h:706
UCHAR Spare6[3]
Definition: ketypes.h:588
ULONG ProfileInterval
Definition: ketypes.h:538
LONG TickOffset
Definition: ketypes.h:697
volatile LARGE_INTEGER IsrTime
Definition: ketypes.h:710
ULONG Granularity
Definition: ketypes.h:357
Definition: ntbasedef.h:628
ULONG SecondaryColorMask
Definition: ketypes.h:765
KDPC CallDpc
Definition: ketypes.h:715
KAFFINITY NotMember
Definition: ketypes.h:572
Definition: fatfs.h:173
UCHAR ApcInterrupt
Definition: ketypes.h:1070
UINT64 TargetSet
Definition: ketypes.h:675
UCHAR DpcThreadRequested
Definition: ketypes.h:692
struct _KIPCR KIPCR
KDPC_DATA DpcData[2]
Definition: ketypes.h:681
ULONG64 KernelDr7
Definition: ketypes.h:510
LONG MmMappedPagesWriteCount
Definition: ketypes.h:649
ULONG FILL2
Definition: ketypes.h:109
ULONG CcMapDataWaitMiss
Definition: ketypes.h:790
ULONG FeatureBits
Definition: ketypes.h:804
USHORT BaseLow
Definition: ketypes.h:337
UCHAR DcacheMode
Definition: ketypes.h:549
ULONG Pres
Definition: ketypes.h:352
DOUBLE Fpr7
Definition: ketypes.h:130
LONG MmTransitionCount
Definition: ketypes.h:636
ULONG CcPinReadNoWaitMiss
Definition: ketypes.h:791
ULONG InterruptStack
Definition: ketypes.h:578
ULONG Msr
Definition: ketypes.h:140
LONG MmPageFaultCount
Definition: ketypes.h:634
LONG DpcWatchDogCount
Definition: ketypes.h:659
char CHAR
Definition: xmlstorage.h:175
ULONG MHz
Definition: ketypes.h:600
UINT64 CycleTime
Definition: ketypes.h:769
DOUBLE Fpr6
Definition: ketypes.h:129
ULONG Fpscr
Definition: ketypes.h:61
USHORT MinorVersion
Definition: ketypes.h:882
struct _FXSAVE_FORMAT * PFXSAVE_FORMAT
ULONG PeriodicCount
Definition: ketypes.h:750
LONG MmDemandZeroCount
Definition: ketypes.h:640
FORCEINLINE struct _KPRCB * KeGetCurrentPrcb(VOID)
Definition: ketypes.h:1080
ULONG IpiFrozen
Definition: ketypes.h:676
struct _KIPCR * PKIPCR
ULONG CFlushSize
Definition: ketypes.h:615
LARGE_INTEGER IoWriteTransferCount
Definition: ketypes.h:669
UCHAR VendorString[13]
Definition: ketypes.h:802
ULONG FirstLevelDcacheFillSize
Definition: ketypes.h:523
ULONG SiR5
Definition: ketypes.h:594
DWORD Pres
Definition: compat.h:650
DOUBLE Fpr8
Definition: ketypes.h:131
ULONG64 KernelDr2
Definition: ketypes.h:507
ULONG QueueIndex
Definition: ketypes.h:732
UCHAR Reserved
Definition: ketypes.h:498
ULONG FirstLevelIcacheFillSize
Definition: ketypes.h:525
struct _KGDTENTRY KGDTENTRY
ULONG SiR2
Definition: ketypes.h:591
union _KGDTENTRY::@2399 HighWord
ULONG OnInterruptStack
Definition: ketypes.h:598
UCHAR SavedKernelApcDisable
Definition: ketypes.h:107
PROCESSOR_POWER_STATE PowerState
Definition: ketypes.h:800
ULONG CcMdlReadWaitMiss
Definition: ketypes.h:794
SLIST_HEADER InterruptObjectPool
Definition: ketypes.h:815
UCHAR QuantumEnd
Definition: ketypes.h:701
KSPECIAL_REGISTERS SpecialRegisters
Definition: ketypes.h:535
ULONG CcFastMdlReadWait
Definition: ketypes.h:771
ULONG SecondLevelIcacheSize
Definition: ketypes.h:528
ULONG CcReadAheadIos
Definition: ketypes.h:795
ULONG CcPinMappedDataCount
Definition: ketypes.h:775
USHORT Access
Definition: ketypes.h:389
ULONG CachedResidentAvailable
Definition: ketypes.h:811
ULONG KernelReserved[16]
Definition: ketypes.h:505
PVOID DpcThread
Definition: ketypes.h:636
LONG ThreadWatchdogPeriod
Definition: ketypes.h:660
ULONG Lr
Definition: ketypes.h:366
ULONG NTSYSAPI KeIcacheFlushCount
Definition: cpu.c:19
ULONG64 KernelDr1
Definition: ketypes.h:506
ULONG Spare
Definition: ketypes.h:542
ULONG DpcTime
Definition: ketypes.h:740
WORD BaseLow
Definition: compat.h:638
struct _KTHREAD * NextThread
Definition: ketypes.h:572
BYTE Flags1
Definition: compat.h:642
ULONG SoftwareInterrupt
Definition: ketypes.h:563
LONG LookasideIrpFloat
Definition: ketypes.h:660
ULONG CcFastMdlReadResourceMiss
Definition: ketypes.h:788
ULONG DebugDpcTime
Definition: ketypes.h:519
volatile ULONG ReverseStall
Definition: ketypes.h:612
struct _KEXCEPTION_FRAME KEXCEPTION_FRAME
LONG MmCacheReadCount
Definition: ketypes.h:797
ULONG DpcLastCount
Definition: ketypes.h:699
UINT64 HalReserved[8]
Definition: ketypes.h:601
LARGE_INTEGER HyperCallPagePhysical
Definition: ketypes.h:720
UCHAR PrcbPad6[2]
Definition: ketypes.h:720
LONG ClockKeepAlive
Definition: ketypes.h:717
ULONG Gpr8
Definition: ketypes.h:118
PVOID StackLimit
Definition: ketypes.h:583
LARGE_INTEGER UpdateSignature
Definition: ketypes.h:805
ULONG CcCopyReadWaitMiss
Definition: ketypes.h:787
struct _KPRCB * PKPRCB
PP_LOOKASIDE_LIST PPLookasideList[16]
Definition: ketypes.h:629
struct _KTRAP_FRAME KTRAP_FRAME
UINT64 Dr2
Definition: ketypes.h:349
ULONG Spare8
Definition: ketypes.h:596
struct _KTSS * PKTSS
struct _KDESCRIPTOR * PKDESCRIPTOR
struct _KPROCESSOR_STATE * PKPROCESSOR_STATE
ULONG CcDataFlushes
Definition: ketypes.h:783
long LONG
Definition: pedump.c:60
ULONG KeAlignmentFixupCount
Definition: ketypes.h:801
PVOID EtwSupport
Definition: ketypes.h:814
ULONG CcCopyReadNoWait
Definition: ketypes.h:657
ULONG ProcessorRevision
Definition: ketypes.h:537
struct _KPRCB KPRCB
ULONG Type
Definition: ketypes.h:350
UCHAR IrqlMask[32]
Definition: ketypes.h:553
struct _KEXCEPTION_FRAME * PKEXCEPTION_FRAME
PVOID IpiFrame
Definition: ketypes.h:613
ULONG AlignedCachePolicy
Definition: ketypes.h:560
ULONG PgDirRa
Definition: ketypes.h:597
CONTEXT ContextFrame
Definition: ketypes.h:536
ULONG Gpr9
Definition: ketypes.h:119
ULONG Gpr2
Definition: ketypes.h:112
ULONG Sys
Definition: ketypes.h:354
ULONG SystemServiceDispatchEnd
Definition: ketypes.h:577
struct _KSPECIAL_REGISTERS * PKSPECIAL_REGISTERS
LONG MmMappedWriteIoCount
Definition: ketypes.h:650
ULONG StallScaleFactor
Definition: ketypes.h:883
struct _KTHREAD * CurrentThread
Definition: ketypes.h:571
KDPC DpcWatchdogDoc
Definition: ketypes.h:715
LONG IoReadOperationCount
Definition: ketypes.h:665
unsigned char BOOLEAN
USHORT CpuStep
Definition: ketypes.h:590
union _LDT_ENTRY::@343 HighWord
UCHAR SkipTick
Definition: ketypes.h:743
ULONG Gpr1
Definition: ketypes.h:111
USHORT MinorVersion
Definition: ketypes.h:602
KAFFINITY SetMember
Definition: ketypes.h:764
DOUBLE Fpr5
Definition: ketypes.h:128
DWORD Dpl
Definition: compat.h:649
ULONG Gpr4
Definition: ketypes.h:114
UCHAR PrcbPad50
Definition: ketypes.h:702
LONG MmCacheTransitionCount
Definition: ketypes.h:796
ULONG SiR0
Definition: ketypes.h:590
Definition: ketypes.h:790
DWORD Reserved_0
Definition: compat.h:653
struct _KPRCB * MultiThreadSetMaster
Definition: ketypes.h:758
ULONG Default_Big
Definition: ketypes.h:356
ULONG Gpr0
Definition: ketypes.h:110
_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:125
ULONG KernelTime
Definition: ketypes.h:738
UCHAR PreviousMode
Definition: ketypes.h:105
LONG MmDirtyWriteIoCount
Definition: ketypes.h:648
ULONG SiR4
Definition: ketypes.h:593
struct _LDT_ENTRY::@343::@344 Bytes
ULONG InterruptCount
Definition: ketypes.h:737
CCHAR Number
Definition: ketypes.h:556
ULONG Gpr3
Definition: ketypes.h:113
LONG ThreadWatchDogCount
Definition: ketypes.h:661
KEVENT DpcEvent
Definition: ketypes.h:711
ULONG CcFastReadNotPossible
Definition: ketypes.h:656
FX_SAVE_AREA NpxSaveArea
Definition: ketypes.h:712
VOID(NTAPI * PKINTERRUPT_ROUTINE)(VOID)
Definition: ketypes.h:490
#define MAXIMUM_VECTOR
Definition: ketypes.h:34
UINT64 PackageProcessorSet
Definition: ketypes.h:822
UINT64 PrcbLock
Definition: ketypes.h:582
DOUBLE Fpr1
Definition: ketypes.h:124
double DOUBLE
Definition: ketypes.h:53
ULONG PrcbPad1[3]
Definition: ketypes.h:604
PVOID WheaInfo
Definition: ketypes.h:813
ULONG CcLazyWriteIos
Definition: ketypes.h:781
LARGE_INTEGER SpareField1
Definition: ketypes.h:711
ULONG CcMapDataWait
Definition: ketypes.h:774
ULONG Xer
Definition: ketypes.h:139
ULONG Gpr6
Definition: ketypes.h:116
DWORD Type
Definition: compat.h:648
struct _FX_SAVE_AREA FX_SAVE_AREA
UINT64 TimerRequest
Definition: ketypes.h:696
struct _KNODE * ParentNode
Definition: ketypes.h:756
UCHAR PrcbPad5[6]
Definition: ketypes.h:647
UCHAR DebugActive
Definition: ketypes.h:587
BYTE Flags2
Definition: compat.h:643
ULONG Gpr7
Definition: ketypes.h:117
ULONG StallExecutionCount
Definition: ketypes.h:540
#define ROUND_UP(x, y)
Definition: ketypes.h:50
UCHAR PrcbPad0[88]
Definition: ketypes.h:509
ULONG FirstLevelActive
Definition: ketypes.h:575
PVOID Teb
Definition: ketypes.h:531
LIST_ENTRY WaitListHead
Definition: ketypes.h:727
char CCHAR
Definition: typedefs.h:51
ULONG CcFastMdlReadNotPossible
Definition: ketypes.h:772
struct _KGDTENTRY::@2399::@2401 Bits
ULONG CcMdlReadNoWaitMiss
Definition: ketypes.h:793
uint64_t ULONGLONG
Definition: typedefs.h:67
PVOID HyperPte
Definition: ketypes.h:812
ULONG SecondLevelDcacheFillSize
Definition: ketypes.h:527
ULONG IcacheFillSize
Definition: ketypes.h:535
UINT64 Dr6
Definition: ketypes.h:351
UINT64 PacketBarrier
Definition: ketypes.h:632
ULONG KeSystemCalls
Definition: ketypes.h:652
UINT64 CacheProcessorMask[5]
Definition: ketypes.h:821
PVOID ChainedInterruptList
Definition: ketypes.h:680
USHORT Offset
Definition: ketypes.h:387
ULONG Ctr
Definition: ketypes.h:143
struct _KPRCB * PrcbData
Definition: ketypes.h:530
DOUBLE Fpr11
Definition: ketypes.h:134
UCHAR CpuVendor
Definition: ketypes.h:605
LARGE_INTEGER IoOtherTransferCount
Definition: ketypes.h:670
UINT64 Dr3
Definition: ketypes.h:350
USHORT Limit
Definition: ketypes.h:396
ULONG CcPinReadWaitMiss
Definition: ketypes.h:792
ULONG CcDataPages
Definition: ketypes.h:784
KPROCESSOR_STATE ProcessorState
Definition: ketypes.h:584
LONG IoOtherOperationCount
Definition: ketypes.h:667
USHORT ExtendedOffset
Definition: ketypes.h:390
ULONG FirstLevelDcacheSize
Definition: ketypes.h:522
UCHAR ClockPollCycle
Definition: ketypes.h:719
LONG MmCacheIoCount
Definition: ketypes.h:798
unsigned char UCHAR
Definition: xmlstorage.h:181
ULONG GprSave[6]
Definition: ketypes.h:589
ULONG Reserved_0
Definition: ketypes.h:355
UINT64 Dr1
Definition: ketypes.h:348
ULONG CachedCommit
Definition: ketypes.h:810
struct _KGDTENTRY * PKGDTENTRY
UCHAR DpcRoutineActive
Definition: ketypes.h:693
ULONG NodeColor
Definition: ketypes.h:763
Definition: ketypes.h:687
UCHAR BuildType
Definition: ketypes.h:604
ULONG CcFastMdlReadNoWait
Definition: ketypes.h:770
UCHAR DpcInterruptRequested
Definition: ketypes.h:691
ULONG DcacheFillSize
Definition: ketypes.h:533
ULONG FirstLevelIcacheSize
Definition: ketypes.h:524
UCHAR BaseMid
Definition: ketypes.h:342
struct _KTHREAD * NpxThread
Definition: ketypes.h:514
ULONG HalReserved[16]
Definition: ketypes.h:887
PVOID TrapFrame
Definition: ketypes.h:103
UCHAR Flags2
Definition: ketypes.h:344
DWORD LimitHi
Definition: compat.h:651
ULONG CcMdlReadNoWait
Definition: ketypes.h:778
ULONG UserTime
Definition: ketypes.h:739
Definition: typedefs.h:119
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:721
ULONG LDT_ENTRY
Definition: ketypes.h:402
UCHAR ThreadDpcEnable
Definition: ketypes.h:700
struct _KSPECIAL_REGISTERS KSPECIAL_REGISTERS
volatile PKIPI_WORKER WorkerRoutine
Definition: ketypes.h:617
struct _KIDTENTRY KIDTENTRY
struct _KTSS KTSS
UINT64 Dr0
Definition: ketypes.h:347
struct _KDESCRIPTOR KDESCRIPTOR
UCHAR PrcbPad9[3]
Definition: ketypes.h:700
struct _FXSAVE_FORMAT FXSAVE_FORMAT
ULONG SiR3
Definition: ketypes.h:592
LARGE_INTEGER IoReadTransferCount
Definition: ketypes.h:668
UINT64 SetMember
Definition: ketypes.h:583
Definition: compat.h:636
struct _KTHREAD * IdleThread
Definition: ketypes.h:573
ULONG CcLazyWritePages
Definition: ketypes.h:782
ULONG ReadySummary
Definition: ketypes.h:731
volatile struct _KPRCB * SignalDone
Definition: ketypes.h:621
KTIMER DpcWatchdogTimer
Definition: ketypes.h:807
SINGLE_LIST_ENTRY DeferredReadyListHead
Definition: ketypes.h:633
BYTE BaseHi
Definition: compat.h:644
UCHAR PrcbPad8[3]
Definition: ketypes.h:727
ULONG SystemServiceDispatchStart
Definition: ketypes.h:576
ULONG64 KernelDr3
Definition: ketypes.h:508
DOUBLE Fpr3
Definition: ketypes.h:126
ULONG ReservedVectors
Definition: ketypes.h:558
PVOID SavedStackLimit
Definition: ketypes.h:584
LARGE_INTEGER HyperCallPageVirtual
Definition: ketypes.h:721
struct _FX_SAVE_AREA * PFX_SAVE_AREA
PVOID DpcStack
Definition: ketypes.h:682
UCHAR Spare5
Definition: ketypes.h:569
DOUBLE Fpr9
Definition: ketypes.h:132
ULONG SavedInitialStack
Definition: ketypes.h:599
UINT64 TimerHand
Definition: ketypes.h:695
unsigned short USHORT
Definition: pedump.c:61
ULONG Gpr10
Definition: ketypes.h:120
UINT64 MultiThreadProcessorSet
Definition: ketypes.h:757
ULONG KeExceptionDispatchCount
Definition: ketypes.h:706
DOUBLE Fpr10
Definition: ketypes.h:133
ULONG_PTR KAFFINITY
Definition: compat.h:85
LONG Sleeping
Definition: ketypes.h:767
ULONG CacheCount
Definition: ketypes.h:809
ULONG Spare0
Definition: ketypes.h:595
UCHAR PrcbPad2[52]
Definition: ketypes.h:614
LONG DpcSetEventRequest
Definition: ketypes.h:704
ULONG NodeShiftedColor
Definition: ketypes.h:764
#define FORCEINLINE
Definition: wdftypes.h:67
ULONG CcFastReadNoWait
Definition: ketypes.h:654
#define FIELD_OFFSET(t, f)
Definition: typedefs.h:255
UCHAR IrqlTable[9]
Definition: ketypes.h:554
UCHAR OldIrql
Definition: ketypes.h:104
USHORT MajorVersion
Definition: ketypes.h:603
ULONG SavedV1
Definition: ketypes.h:586
USHORT MajorVersion
Definition: ketypes.h:881
ULONG QuantumEnd
Definition: ketypes.h:579
ULONG PcrPage2
Definition: ketypes.h:519
UCHAR DispatchInterrupt
Definition: ketypes.h:1071
UCHAR PrcbPad3[116]
Definition: ketypes.h:677
UCHAR DpcThreadActive
Definition: ketypes.h:694
USHORT Pad
Definition: ketypes.h:602
ULONG CcMapDataNoWaitMiss
Definition: ketypes.h:789
DOUBLE Fpr4
Definition: ketypes.h:127
UCHAR CurrentIrql
Definition: ketypes.h:555
ULONG Gpr12
Definition: ketypes.h:122
ULONG SystemReserved[16]
Definition: ketypes.h:573
LIST_ENTRY DispatcherReadyListHead[32]
Definition: ketypes.h:736
LONG MmCopyOnWriteCount
Definition: ketypes.h:635
ULONG Dpl
Definition: ketypes.h:351
UCHAR LogicalProcessorsPerCore
Definition: ketypes.h:608
LONG MmPageReadCount
Definition: ketypes.h:641
DOUBLE Fpscr
Definition: ketypes.h:137
DOUBLE Fpr0
Definition: ketypes.h:123
DWORD Default_Big
Definition: compat.h:654
ULONG Gpr11
Definition: ketypes.h:121
ULONG SecondLevelIcacheFillSize
Definition: ketypes.h:529
USHORT Number
Definition: ketypes.h:564
unsigned int ULONG
Definition: retypes.h:1
ULONG64 KernelDr6
Definition: ketypes.h:509
ULONG NTSYSAPI KeDcacheFlushCount
Definition: cpu.c:20
double DOUBLE
Definition: typedefs.h:70
ULONG BadVaddr
Definition: ketypes.h:582
#define ULONG_PTR
Definition: config.h:101
UINT64 CoreProcessorSet
Definition: ketypes.h:823
UCHAR BaseHi
Definition: ketypes.h:345
ULONG IcacheAlignment
Definition: ketypes.h:534
volatile PVOID CurrentPacket[3]
Definition: ketypes.h:615
ULONG Iar
Definition: ketypes.h:141
PVOID PanicStack
Definition: ketypes.h:581
KSPIN_LOCK_QUEUE LockQueue[LockQueueMaximumLock]
Definition: ketypes.h:628
ULONG CachePolicy
Definition: ketypes.h:545
UCHAR Flags1
Definition: ketypes.h:343
struct _KTHREAD * CurrentThread
Definition: ketypes.h:559
PVOID RateControl
Definition: ketypes.h:820
UCHAR Spare4
Definition: ketypes.h:568
ULONG CcPinReadNoWait
Definition: ketypes.h:776
struct _KTRAP_FRAME * PKTRAP_FRAME
DWORD Sys
Definition: compat.h:652
ULONG DcacheAlignment
Definition: ketypes.h:532
UINT64 StartCycles
Definition: ketypes.h:760
ULONG Spare7[30]
Definition: ketypes.h:521
PVOID InitialStack
Definition: ketypes.h:580
ULONG CcFastReadWait
Definition: ketypes.h:655
LONG MmPageReadIoCount
Definition: ketypes.h:642
PKINTERRUPT_ROUTINE InterruptRoutine[MAXIMUM_VECTOR]
Definition: ketypes.h:518
ULONG SavedV0
Definition: ketypes.h:585
UINT64 Dr7
Definition: ketypes.h:352
USHORT LimitLow
Definition: ketypes.h:336
ULONG DpcRequestRate
Definition: ketypes.h:689
CHAR CpuID
Definition: ketypes.h:586
DOUBLE Fpr13
Definition: ketypes.h:136
ULONG Base
Definition: ketypes.h:397
ULONG ProcessorVersion
Definition: ketypes.h:536
LONG MaximumDpcQueueDepth
Definition: ketypes.h:688
ULONG PageColor
Definition: ketypes.h:762
ULONG Dr4
Definition: ketypes.h:148
DWORD Granularity
Definition: compat.h:655
USHORT ModeSpare
Definition: ketypes.h:550
ULONG CcLazyWriteHotSpots
Definition: ketypes.h:780
LONG MmDirtyPagesWriteCount
Definition: ketypes.h:647
USHORT Selector
Definition: ketypes.h:388
ULONG64 KernelDr0
Definition: ketypes.h:505
struct _KPROCESSOR_STATE KPROCESSOR_STATE
ULONG CcLostDelayedWrites
Definition: ketypes.h:785
ULONG PeriodicBias
Definition: ketypes.h:751
ULONG CcCopyReadNoWaitMiss
Definition: ketypes.h:659
UINT64 PrcbPad70[2]
Definition: ketypes.h:723
struct _KGDTENTRY::@2399::@2400 Bytes
UCHAR IdleSchedule
Definition: ketypes.h:703
DOUBLE Fpr12
Definition: ketypes.h:135
ULONG InitialApicId
Definition: ketypes.h:622
UCHAR PollSlot
Definition: ketypes.h:745
ULONG SecondLevelDcacheSize
Definition: ketypes.h:526
UCHAR IcacheMode
Definition: ketypes.h:548
GENERAL_LOOKASIDE_POOL PPPagedLookasideList[NUMBER_POOL_LOOKASIDE_LISTS]
Definition: ketypes.h:631
CHAR CpuType
Definition: ketypes.h:585
ULONG AdjustDpcThreshold
Definition: ketypes.h:742
ULONG RequestSummary
Definition: ketypes.h:828
ULONG CcPinReadWait
Definition: ketypes.h:777