Update KPROCESSOR_BLOCK structure
This commit is contained in:
parent
ac0b8ab36a
commit
276eb77862
@ -526,8 +526,13 @@ typedef struct _KPROCESSOR_BLOCK
|
||||
PKIDTENTRY IdtBase;
|
||||
KRUNLEVEL RunLevel;
|
||||
KPROCESSOR_CONTROL_BLOCK Prcb;
|
||||
ULONG Irr;
|
||||
ULONG IrrActive;
|
||||
ULONG Idr;
|
||||
ULONG ContextSwitches;
|
||||
KAFFINITY SetMember;
|
||||
ULONG StallScaleFactor;
|
||||
UCHAR CpuNumber;
|
||||
} KPROCESSOR_BLOCK, *PKPROCESSOR_BLOCK;
|
||||
|
||||
/* Thread Environment Block (TEB) structure definition */
|
||||
|
@ -470,16 +470,27 @@ typedef struct _KPROCESSOR_CONTROL_BLOCK
|
||||
/* Processor Block structure definition */
|
||||
typedef struct _KPROCESSOR_BLOCK
|
||||
{
|
||||
union
|
||||
{
|
||||
THREAD_INFORMATION_BLOCK ThreadInformationBlock;
|
||||
PKPROCESSOR_BLOCK Self;
|
||||
PKPROCESSOR_CONTROL_BLOCK CurrentPrcb;
|
||||
KRUNLEVEL RunLevel;
|
||||
PKIDTENTRY IdtBase;
|
||||
struct
|
||||
{
|
||||
PKGDTENTRY GdtBase;
|
||||
PKTSS TssBase;
|
||||
PKPROCESSOR_BLOCK Self;
|
||||
PKPROCESSOR_CONTROL_BLOCK CurrentPrcb;
|
||||
};
|
||||
};
|
||||
PKIDTENTRY IdtBase;
|
||||
KRUNLEVEL RunLevel;
|
||||
KPROCESSOR_CONTROL_BLOCK Prcb;
|
||||
ULONG Irr;
|
||||
ULONG IrrActive;
|
||||
ULONG Idr;
|
||||
ULONG ContextSwitches;
|
||||
KAFFINITY SetMember;
|
||||
ULONG StallScaleFactor;
|
||||
UCHAR CpuNumber;
|
||||
} KPROCESSOR_BLOCK, *PKPROCESSOR_BLOCK;
|
||||
|
||||
/* Thread Environment Block (TEB) structure definition */
|
||||
|
Loading…
Reference in New Issue
Block a user