Add descriptor structure definition
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
2023-01-25 17:42:35 +01:00
parent bfc9db8b6d
commit 3ad3149f80
4 changed files with 18 additions and 0 deletions

View File

@@ -181,6 +181,14 @@ typedef struct ALIGN(16) _CONTEXT
ULONG64 LastExceptionFromRip;
} CONTEXT, *PCONTEXT;
/* Pseudo 64-bit descriptor structure definition */
typedef struct _KDESCRIPTOR
{
USHORT Pad[3];
USHORT Limit;
PVOID Base;
} KDESCRIPTOR, *PKDESCRIPTOR;
/* Global Descriptor Table (GDT) entry union definition */
typedef struct _KGDTENTRY
{