ReactOS 0.4.15-dev-8408-g466a198
ketypes.h
Go to the documentation of this file.
1/*++ NDK Version: 0095
2
3Copyright (c) Alex Ionescu. All rights reserved.
4
5Header Name:
6
7 ketypes.h (PPC)
8
9Abstract:
10
11 PowerPC Type definitions for the Kernel services.
12
13Author:
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
53typedef double DOUBLE;
54
55typedef struct _FX_SAVE_AREA {
56 ULONG Fr[32];
58
59typedef struct _FXSAVE_FORMAT
60{
63
64typedef struct _LDT_ENTRY {
67 union
68 {
69 struct
70 {
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;
87 ULONG BaseHi : 8;
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//
101typedef 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//
157typedef struct _KGDTENTRY
158{
161 union
162 {
163 struct
164 {
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;
181 ULONG BaseHi:8;
185
186//
187// IDT Entry Definition
188//
189typedef struct _KIDTENTRY
190{
196
197typedef struct _DESCRIPTOR
198{
199 USHORT Pad;
201 ULONG Base;
203
204//
205// Special Registers Structure (outside of CONTEXT)
206//
207typedef struct _KSPECIAL_REGISTERS
208{
252 ULONG Reserved[9];
254
255//
256// Processor State Data
257//
258#pragma pack(push,4)
259typedef struct _KPROCESSOR_STATE
260{
264
265//
266// Processor Region Control Block
267//
268typedef struct _KPRCB
269{
272 struct _KTHREAD *CurrentThread;
273 struct _KTHREAD *NextThread;
274 struct _KTHREAD *IdleThread;
280 UCHAR CpuID;
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;
303#if (NTDDI_VERSION >= NTDDI_WS03)
305#if (NTDDI_VERSION >= NTDDI_LONGHORN)
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
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
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;
392 UCHAR PrcbPad2[52];
393 volatile PVOID CurrentPacket[3];
394 volatile ULONG TargetSet;
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];
407 volatile UCHAR DpcThreadRequested;
408 volatile UCHAR DpcRoutineActive;
409 volatile UCHAR DpcThreadActive;
412 volatile ULONG TimerHand;
413 volatile ULONG TimerRequest;
417 volatile BOOLEAN QuantumEnd;
419 volatile UCHAR IdleSchedule;
421#if (NTDDI_VERSION >= NTDDI_LONGHORN)
425 UCHAR PrcbPad5[6];
426#else
427 UCHAR PrcbPad5[18];
428#endif
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)
453#else
456 ULONG PrcbPad72[11];
457#endif
460 volatile LONG MmPageFaultCount;
461 volatile LONG MmCopyOnWriteCount;
462 volatile LONG MmTransitionCount;
464 volatile LONG MmDemandZeroCount;
465 volatile LONG MmPageReadCount;
466 volatile LONG MmPageReadIoCount;
467 volatile LONG MmCacheReadCount;
468 volatile LONG MmCacheIoCount;
470 volatile LONG MmDirtyWriteIoCount;
472 volatile LONG MmMappedWriteIoCount;
473#if (NTDDI_VERSION >= NTDDI_LONGHORN)
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)
505 UCHAR PrcbPad8[3];
508#endif
510
511//
512// Processor Control Region
513//
514typedef struct _KIPCR
515{
543 union
544 {
546 struct
547 {
551 };
552 };
561 union
562 {
564 struct
565 {
570 };
571 };
574 ULONG HalReserved[16];
601#pragma pack(pop)
602
603//
604// TSS Definition
605//
606typedef struct _KTSS {
608
609//
610// PowerPC Exception Frame
611//
612typedef struct _KEXCEPTION_FRAME
613{
653
655struct _KPRCB *
657{
658 return (struct _KPRCB *)(ULONG_PTR)__readfsdword(FIELD_OFFSET(KIPCR, PrcbData));
659}
660
661#endif
unsigned char BOOLEAN
ULONG_PTR KAFFINITY
Definition: compat.h:85
#define ULONG_PTR
Definition: config.h:101
PPC_QUAL unsigned long __readfsdword(const unsigned long Offset)
Definition: intrin_ppc.h:382
struct _KSPECIAL_REGISTERS * PKSPECIAL_REGISTERS
struct _KTRAP_FRAME KTRAP_FRAME
struct _KDESCRIPTOR * PKDESCRIPTOR
struct _KPROCESSOR_STATE * PKPROCESSOR_STATE
struct _KIPCR KIPCR
struct _KPRCB * PKPRCB
struct _KEXCEPTION_FRAME * PKEXCEPTION_FRAME
FORCEINLINE struct _KPRCB * KeGetCurrentPrcb(VOID)
Definition: ketypes.h:1161
struct _KDESCRIPTOR KDESCRIPTOR
struct _KIPCR * PKIPCR
ULONG LDT_ENTRY
Definition: ketypes.h:482
struct _KPRCB KPRCB
struct _KEXCEPTION_FRAME KEXCEPTION_FRAME
struct _KTRAP_FRAME * PKTRAP_FRAME
struct _KSPECIAL_REGISTERS KSPECIAL_REGISTERS
struct _KPROCESSOR_STATE KPROCESSOR_STATE
struct _KGDTENTRY KGDTENTRY
struct _KIDTENTRY * PKIDTENTRY
struct _KTSS KTSS
struct _FX_SAVE_AREA * PFX_SAVE_AREA
struct _FXSAVE_FORMAT * PFXSAVE_FORMAT
struct _KIDTENTRY KIDTENTRY
struct _FXSAVE_FORMAT FXSAVE_FORMAT
struct _FX_SAVE_AREA FX_SAVE_AREA
struct _KTSS * PKTSS
struct _KGDTENTRY * PKGDTENTRY
#define MAXIMUM_VECTOR
Definition: ketypes.h:34
#define ROUND_UP(x, y)
Definition: ketypes.h:50
double DOUBLE
Definition: ketypes.h:53
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
USHORT Pad
Definition: ketypes.h:609
ULONG Base
Definition: ketypes.h:450
USHORT Limit
Definition: ketypes.h:449
ULONG Xer
Definition: ketypes.h:61
ULONG Fpscr
Definition: ketypes.h:61
ULONG Fr[32]
Definition: ketypes.h:56
Definition: ketypes.h:699
UCHAR BaseMid
Definition: ketypes.h:395
ULONG Granularity
Definition: ketypes.h:410
ULONG Type
Definition: ketypes.h:403
UCHAR Flags2
Definition: ketypes.h:397
UCHAR Flags1
Definition: ketypes.h:396
UCHAR BaseHi
Definition: ketypes.h:398
struct _KGDTENTRY::@2441::@2443 Bits
ULONG Default_Big
Definition: ketypes.h:409
USHORT BaseLow
Definition: ketypes.h:390
USHORT LimitLow
Definition: ketypes.h:389
ULONG LimitHi
Definition: ketypes.h:406
union _KGDTENTRY::@2441 HighWord
ULONG Sys
Definition: ketypes.h:407
ULONG Pres
Definition: ketypes.h:405
ULONG Dpl
Definition: ketypes.h:404
struct _KGDTENTRY::@2441::@2442 Bytes
ULONG Reserved_0
Definition: ketypes.h:408
USHORT Offset
Definition: ketypes.h:440
USHORT Selector
Definition: ketypes.h:441
USHORT Access
Definition: ketypes.h:442
USHORT ExtendedOffset
Definition: ketypes.h:443
ULONG IcacheAlignment
Definition: ketypes.h:534
ULONG ReservedVectors
Definition: ketypes.h:558
ULONG ProcessorRevision
Definition: ketypes.h:537
UCHAR DebugActive
Definition: ketypes.h:587
USHORT MinorVersion
Definition: ketypes.h:964
ULONG Spare
Definition: ketypes.h:542
ULONG FirstLevelIcacheSize
Definition: ketypes.h:524
ULONG SecondLevelDcacheSize
Definition: ketypes.h:526
UCHAR CurrentIrql
Definition: ketypes.h:555
USHORT MajorVersion
Definition: ketypes.h:963
ULONG Spare8
Definition: ketypes.h:596
ULONG SystemReserved[16]
Definition: ketypes.h:573
ULONG ProfileCount
Definition: ketypes.h:539
ULONG SecondLevelIcacheFillSize
Definition: ketypes.h:529
ULONG SystemServiceDispatchEnd
Definition: ketypes.h:577
ULONG SiR3
Definition: ketypes.h:592
ULONG SiR5
Definition: ketypes.h:594
ULONG QuantumEnd
Definition: ketypes.h:579
ULONG FirstLevelIcacheFillSize
Definition: ketypes.h:525
CCHAR Number
Definition: ketypes.h:556
ULONG InterruptStack
Definition: ketypes.h:578
KAFFINITY SetMember
Definition: ketypes.h:817
PVOID SavedStackLimit
Definition: ketypes.h:584
struct _KTHREAD * CurrentThread
Definition: ketypes.h:559
UCHAR DispatchInterrupt
Definition: ketypes.h:1078
ULONG BadVaddr
Definition: ketypes.h:582
UCHAR Spare5
Definition: ketypes.h:569
ULONG StallExecutionCount
Definition: ketypes.h:540
ULONG SecondLevelDcacheFillSize
Definition: ketypes.h:527
ULONG Kseg0Top
Definition: ketypes.h:520
UCHAR Spare4
Definition: ketypes.h:568
UCHAR IcacheMode
Definition: ketypes.h:548
ULONG SavedV0
Definition: ketypes.h:585
USHORT ModeSpare
Definition: ketypes.h:550
ULONG HalReserved[16]
Definition: ketypes.h:969
UCHAR DcacheMode
Definition: ketypes.h:549
UCHAR IrqlMask[32]
Definition: ketypes.h:553
struct _KPRCB * PrcbData
Definition: ketypes.h:530
ULONG SiR0
Definition: ketypes.h:590
PVOID StackLimit
Definition: ketypes.h:583
ULONG SiR2
Definition: ketypes.h:591
ULONG DcacheAlignment
Definition: ketypes.h:532
ULONG ProcessorVersion
Definition: ketypes.h:536
PVOID PanicStack
Definition: ketypes.h:581
ULONG FirstLevelActive
Definition: ketypes.h:575
ULONG SecondLevelIcacheSize
Definition: ketypes.h:528
ULONG AlignedCachePolicy
Definition: ketypes.h:560
ULONG Spare7[30]
Definition: ketypes.h:521
ULONG SavedInitialStack
Definition: ketypes.h:599
ULONG DcacheFillSize
Definition: ketypes.h:533
KAFFINITY NotMember
Definition: ketypes.h:572
ULONG SavedV1
Definition: ketypes.h:586
ULONG PcrPage2
Definition: ketypes.h:519
ULONG FirstLevelDcacheFillSize
Definition: ketypes.h:523
UCHAR ApcInterrupt
Definition: ketypes.h:1077
ULONG ProfileInterval
Definition: ketypes.h:538
ULONG OnInterruptStack
Definition: ketypes.h:598
ULONG SoftwareInterrupt
Definition: ketypes.h:563
PKINTERRUPT_ROUTINE InterruptRoutine[MAXIMUM_VECTOR]
Definition: ketypes.h:518
ULONG SystemServiceDispatchStart
Definition: ketypes.h:576
ULONG FirstLevelDcacheSize
Definition: ketypes.h:522
PVOID InitialStack
Definition: ketypes.h:580
ULONG GprSave[6]
Definition: ketypes.h:589
ULONG SiR4
Definition: ketypes.h:593
ULONG StallScaleFactor
Definition: ketypes.h:965
ULONG CachePolicy
Definition: ketypes.h:545
ULONG Spare0
Definition: ketypes.h:595
ULONG IcacheFillSize
Definition: ketypes.h:535
UCHAR Spare6[3]
Definition: ketypes.h:588
ULONG PgDirRa
Definition: ketypes.h:597
UCHAR IrqlTable[9]
Definition: ketypes.h:554
PVOID Teb
Definition: ketypes.h:531
LONG IoWriteOperationCount
Definition: ketypes.h:745
ULONG CcMdlReadNoWait
Definition: ketypes.h:857
ULONG KernelReserved[16]
Definition: ketypes.h:558
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
KSPIN_LOCK_QUEUE LockQueue[LockQueueMaximumLock]
Definition: ketypes.h:707
PROCESSOR_POWER_STATE PowerState
Definition: ketypes.h:879
UCHAR PrcbPad3[116]
Definition: ketypes.h:756
ULONG InterruptTime
Definition: ketypes.h:820
KDPC DpcWatchdogDoc
Definition: ketypes.h:768
LONG DpcWatchdogPeriod
Definition: ketypes.h:800
FX_SAVE_AREA NpxSaveArea
Definition: ketypes.h:765
struct _KTHREAD * IdleThread
Definition: ketypes.h:652
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
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
volatile LARGE_INTEGER IsrTime
Definition: ketypes.h:763
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
volatile PKIPI_WORKER WorkerRoutine
Definition: ketypes.h:670
LONG ThreadWatchdogPeriod
Definition: ketypes.h:713
PVOID RateControl
Definition: ketypes.h:899
UCHAR IdleSchedule
Definition: ketypes.h:782
LONG ClockKeepAlive
Definition: ketypes.h:796
volatile ULONG ReverseStall
Definition: ketypes.h:665
ULONG QueueIndex
Definition: ketypes.h:811
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
PVOID ChainedInterruptList
Definition: ketypes.h:733
LIST_ENTRY WaitListHead
Definition: ketypes.h:806
ULONG CcMdlReadWait
Definition: ketypes.h:858
ULONG PrcbPad1[3]
Definition: ketypes.h:657
ULONG CcPinReadNoWaitMiss
Definition: ketypes.h:870
ULONG CcPinReadWait
Definition: ketypes.h:856
ULONG DpcLastCount
Definition: ketypes.h:778
LONG IoOtherOperationCount
Definition: ketypes.h:746
UCHAR SkipTick
Definition: ketypes.h:822
PVOID EtwSupport
Definition: ketypes.h:893
ULONG PeriodicCount
Definition: ketypes.h:829
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
UCHAR ClockPollCycle
Definition: ketypes.h:798
USHORT CpuStep
Definition: ketypes.h:669
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
UCHAR CpuVendor
Definition: ketypes.h:684
LONG MmCopyOnWriteCount
Definition: ketypes.h:714
UINT64 PacketBarrier
Definition: ketypes.h:711
UINT64 CycleTime
Definition: ketypes.h:848
ULONG DpcTime
Definition: ketypes.h:819
LONG MaximumDpcQueueDepth
Definition: ketypes.h:767
LONG MmCacheReadCount
Definition: ketypes.h:876
UCHAR LogicalProcessorsPerPhysicalProcessor
Definition: ketypes.h:759
UCHAR ClockCheckSlot
Definition: ketypes.h:797
LARGE_INTEGER HyperCallPagePhysical
Definition: ketypes.h:773
ULONG CcFastMdlReadWait
Definition: ketypes.h:850
ULONG PeriodicBias
Definition: ketypes.h:830
LONG DpcWatchDogCount
Definition: ketypes.h:712
volatile struct _KPRCB * SignalDone
Definition: ketypes.h:674
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
ULONG SpareCounter0
Definition: ketypes.h:611
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 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
ULONG CcDataPages
Definition: ketypes.h:863
LONG DpcSetEventRequest
Definition: ketypes.h:783
ULONG CcFastReadNoWait
Definition: ketypes.h:733
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
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
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
UCHAR Reserved
Definition: ketypes.h:551
ULONG KernelTime
Definition: ketypes.h:817
PVOID IpiFrame
Definition: ketypes.h:666
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 PrcbPad0[88]
Definition: ketypes.h:562
UCHAR LogicalProcessorsPerCore
Definition: ketypes.h:687
UCHAR PrcbPad5[6]
Definition: ketypes.h:700
ULONG CcLazyWriteIos
Definition: ketypes.h:860
KDPC CallDpc
Definition: ketypes.h:794
LONG ThreadWatchDogCount
Definition: ketypes.h:714
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
struct _KTHREAD * NpxThread
Definition: ketypes.h:567
LIST_ENTRY DispatcherReadyListHead[32]
Definition: ketypes.h:815
ULONG CcFastMdlReadNotPossible
Definition: ketypes.h:851
LARGE_INTEGER SpareField1
Definition: ketypes.h:764
ULONG CcDataFlushes
Definition: ketypes.h:862
LARGE_INTEGER HyperCallPageVirtual
Definition: ketypes.h:774
UCHAR PrcbPad50
Definition: ketypes.h:781
KTIMER DpcWatchdogTimer
Definition: ketypes.h:886
LARGE_INTEGER IoWriteTransferCount
Definition: ketypes.h:748
ULONG RequestSummary
Definition: ketypes.h:835
ULONG CcLazyWriteHotSpots
Definition: ketypes.h:859
volatile PVOID CurrentPacket[3]
Definition: ketypes.h:668
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
KSPECIAL_REGISTERS SpecialRegisters
Definition: ketypes.h:615
CONTEXT ContextFrame
Definition: ketypes.h:616
ULONG64 KernelDr0
Definition: ketypes.h:585
ULONG64 KernelDr7
Definition: ketypes.h:590
ULONG64 KernelDr2
Definition: ketypes.h:587
ULONG64 KernelDr1
Definition: ketypes.h:586
ULONG64 KernelDr3
Definition: ketypes.h:588
ULONG64 KernelDr6
Definition: ketypes.h:589
ULONG Ctr
Definition: ketypes.h:143
ULONG Gpr5
Definition: ketypes.h:115
ULONG Dr4
Definition: ketypes.h:148
ULONG Gpr0
Definition: ketypes.h:110
DOUBLE Fpr6
Definition: ketypes.h:129
UINT64 Dr6
Definition: ketypes.h:431
ULONG Gpr9
Definition: ketypes.h:119
ULONG Gpr4
Definition: ketypes.h:114
DOUBLE Fpr8
Definition: ketypes.h:131
DOUBLE Fpr1
Definition: ketypes.h:124
ULONG Msr
Definition: ketypes.h:140
DOUBLE Fpr2
Definition: ketypes.h:125
DOUBLE Fpr4
Definition: ketypes.h:127
DOUBLE Fpr13
Definition: ketypes.h:136
ULONG Gpr1
Definition: ketypes.h:111
ULONG Lr
Definition: ketypes.h:373
DOUBLE Fpr5
Definition: ketypes.h:128
ULONG Gpr8
Definition: ketypes.h:118
ULONG Gpr12
Definition: ketypes.h:122
UINT64 Dr0
Definition: ketypes.h:427
ULONG Iar
Definition: ketypes.h:141
DOUBLE Fpr11
Definition: ketypes.h:134
UINT64 Dr7
Definition: ketypes.h:432
DOUBLE Fpr12
Definition: ketypes.h:135
UCHAR SavedKernelApcDisable
Definition: ketypes.h:107
UCHAR OldIrql
Definition: ketypes.h:104
UINT64 Dr1
Definition: ketypes.h:428
ULONG FILL2
Definition: ketypes.h:109
ULONG Gpr7
Definition: ketypes.h:117
UINT64 Dr3
Definition: ketypes.h:430
ULONG Gpr11
Definition: ketypes.h:121
DOUBLE Fpr9
Definition: ketypes.h:132
ULONG Dr5
Definition: ketypes.h:149
ULONG Gpr6
Definition: ketypes.h:116
UCHAR PreviousMode
Definition: ketypes.h:105
DOUBLE Fpr7
Definition: ketypes.h:130
ULONG Gpr2
Definition: ketypes.h:112
ULONG Xer
Definition: ketypes.h:139
DOUBLE Fpscr
Definition: ketypes.h:137
PVOID TrapFrame
Definition: ketypes.h:103
UINT64 Dr2
Definition: ketypes.h:429
DOUBLE Fpr3
Definition: ketypes.h:126
ULONG Cr
Definition: ketypes.h:138
UCHAR ExceptionRecord[ROUND_UP(sizeof(EXCEPTION_RECORD), sizeof(ULONGLONG))]
Definition: ketypes.h:108
ULONG Gpr10
Definition: ketypes.h:120
UCHAR SavedApcStateIndex
Definition: ketypes.h:106
ULONG Gpr3
Definition: ketypes.h:113
DOUBLE Fpr0
Definition: ketypes.h:123
DOUBLE Fpr10
Definition: ketypes.h:133
Definition: ketypes.h:844
Definition: compat.h:777
BYTE Flags2
Definition: compat.h:784
DWORD Granularity
Definition: compat.h:796
DWORD Default_Big
Definition: compat.h:795
WORD LimitLow
Definition: compat.h:778
DWORD Reserved_0
Definition: compat.h:794
BYTE BaseMid
Definition: compat.h:782
BYTE BaseHi
Definition: compat.h:785
DWORD Pres
Definition: compat.h:791
struct _LDT_ENTRY::@354::@355 Bytes
DWORD LimitHi
Definition: compat.h:792
WORD BaseLow
Definition: compat.h:779
DWORD Sys
Definition: compat.h:793
DWORD Dpl
Definition: compat.h:790
BYTE Flags1
Definition: compat.h:783
struct _LDT_ENTRY::@354::@356 Bits
union _LDT_ENTRY::@354 HighWord
DWORD Type
Definition: compat.h:789
Definition: typedefs.h:120
Definition: ntbasedef.h:628
#define FIELD_OFFSET(t, f)
Definition: typedefs.h:255
uint32_t ULONG
Definition: typedefs.h:59
uint64_t ULONGLONG
Definition: typedefs.h:67
char CCHAR
Definition: typedefs.h:51
#define FORCEINLINE
Definition: wdftypes.h:67
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
VOID(NTAPI * PKIPI_WORKER)(IN OUT PKIPI_CONTEXT PacketContext, IN PVOID Parameter1 OPTIONAL, IN PVOID Parameter2 OPTIONAL, IN PVOID Parameter3 OPTIONAL)
Definition: ketypes.h:588
@ LockQueueMaximumLock
Definition: ketypes.h:676
VOID(NTAPI * PKINTERRUPT_ROUTINE)(VOID)
Definition: ketypes.h:502
unsigned char UCHAR
Definition: xmlstorage.h:181
char CHAR
Definition: xmlstorage.h:175