mips / ntoskrnl /

_KTHREAD

← 3.10.511.1 4 builds latest →
struct _KTHREAD {
void* InitialStack;/* 0x18 4 */
void* StackLimit;/* 0x1c 4 */
void* Teb;/* 0x20 4 */
void* TlsArray;/* 0x24 4 */
void* KernelStack;/* 0x28 4 */
unsigned char DebugActive;/* 0x2c 1 */
unsigned char State;/* 0x2d 1 */
unsigned char Alerted[2];/* 0x2e 2 */
unsigned char Iopl;/* 0x30 1 */
unsigned char NpxState;/* 0x31 1 */
unsigned char Saturation;/* 0x32 1 */
char Priority;/* 0x33 1 */
/* ── cacheline 1 boundary (64 bytes) ── */
unsigned long ContextSwitches;/* 0x4c 4 */
long WaitStatus;/* 0x50 4 */
unsigned char WaitIrql;/* 0x54 1 */
char WaitMode;/* 0x55 1 */
unsigned char WaitNext;/* 0x56 1 */
unsigned char WaitReason;/* 0x57 1 */
unsigned long WaitTime;/* 0x64 4 */
char BasePriority;/* 0x68 1 */
unsigned char DecrementCount;/* 0x69 1 */
char PriorityDecrement;/* 0x6a 1 */
char Quantum;/* 0x6b 1 */
/* ── cacheline 3 boundary (192 bytes) ── */
void* LegoData;/* 0xcc 4 */
unsigned long KernelApcDisable;/* 0xd0 4 */
unsigned long UserAffinity;/* 0xd4 4 */
unsigned char SystemAffinityActive;/* 0xd8 1 */
unsigned char Pad[7];/* 0xd9 7 */
unsigned long ApcQueueLock;/* 0xe4 4 */
/* ── cacheline 4 boundary (256 bytes) ── */
unsigned long Affinity;/* 0x118 4 */
unsigned char Preempted;/* 0x11c 1 */
unsigned char ProcessReadyQueue;/* 0x11d 1 */
unsigned char KernelStackResident;/* 0x11e 1 */
unsigned char NextProcessor;/* 0x11f 1 */
void* CallbackStack;/* 0x120 4 */
void* Win32Thread;/* 0x124 4 */
unsigned char EnableStackSwap;/* 0x134 1 */
unsigned char LargeStack;/* 0x135 1 */
unsigned char ResourceIndex;/* 0x136 1 */
char PreviousMode;/* 0x137 1 */
unsigned long KernelTime;/* 0x138 4 */
unsigned long UserTime;/* 0x13c 4 */
/* ── cacheline 5 boundary (320 bytes) ── */
unsigned char Alertable;/* 0x158 1 */
unsigned char ApcStateIndex;/* 0x159 1 */
unsigned char ApcQueueable;/* 0x15a 1 */
unsigned char AutoAlignment;/* 0x15b 1 */
void* StackBase;/* 0x15c 4 */
/* ── cacheline 6 boundary (384 bytes) ── */
char FreezeCount;/* 0x1ac 1 */
char SuspendCount;/* 0x1ad 1 */
unsigned char IdealProcessor;/* 0x1ae 1 */
unsigned char DisableBoost;/* 0x1af 1 */
};
/* source: NT 4.0 DDK (August 1996) MIPS LIBCNTPR.LIB CodeView type records; _EPROCESS/_ETHREAD offsets match KDEXTMIP.DLL (NT 4.0 Server CD) */
size 432 (0x1b0)66 members0 holespadding 07 cachelines
Used in (6)