Add thread information block

This commit is contained in:
2023-03-01 00:14:06 +01:00
parent 3d42fcc0f5
commit 870a6680b0
4 changed files with 22 additions and 5 deletions

View File

@@ -464,12 +464,16 @@ typedef struct _KPROCESSOR_CONTROL_BLOCK
/* Processor Block structure definition */
typedef struct _KPROCESSOR_BLOCK
{
struct
union
{
PKGDTENTRY GdtBase;
PKTSS TssBase;
PKPROCESSOR_BLOCK Self;
PKPROCESSOR_CONTROL_BLOCK CurrentPrcb;
THREAD_INFORMATION_BLOCK ThreadInformationBlock;
struct
{
PKGDTENTRY GdtBase;
PKTSS TssBase;
PKPROCESSOR_BLOCK Self;
PKPROCESSOR_CONTROL_BLOCK CurrentPrcb;
};
};
PKIDTENTRY IdtBase;
KIRQL Irql;