Fixes in AMD64 version of KepInitializeThreadContext() to get rid of PageFault exception

このコミットが含まれているのは:
2023-11-07 15:34:49 +01:00
コミット 362eefc2b3
2個のファイルの変更13行の追加7行の削除

ファイルの表示

@@ -139,6 +139,11 @@
/* Size of legacy 387 registers */
#define SIZE_OF_80387_REGISTERS 80
/* NPX state definitions */
#define NPX_STATE_UNUSED 0x0
#define NPX_STATE_SCRUB 0x1
#define NPX_STATE_SWITCH 0x2
/* Floating point state storing structure */
typedef struct _FLOATING_SAVE_AREA
{
@@ -352,7 +357,8 @@ typedef struct _KSWITCH_FRAME
ULONG64 P4Home;
ULONG64 P5Home;
ULONG MxCsr;
UCHAR Reserved[4];
KIRQL ApcBypass;
UCHAR Reserved[3];
ULONG64 Rbp;
ULONG64 Return;
} KSWITCH_FRAME, *PKSWITCH_FRAME;