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