[XDK][NDK] Add XSTATE hacks

This commit is contained in:
Timo Kreuzer 2023-12-03 13:02:50 +02:00
parent e029a98c22
commit 0f2f124c3a
2 changed files with 13 additions and 4 deletions

View file

@ -806,6 +806,9 @@ typedef struct _KUSER_SHARED_DATA
ULONG64 UserPointerAuthMask; // 0x730
#endif // NTDDI_VERSION >= NTDDI_WIN11_NI
#if (NTDDI_VERSION < NTDDI_WIN7) && defined(__REACTOS__)
XSTATE_CONFIGURATION XState;
#endif
} KUSER_SHARED_DATA, *PKUSER_SHARED_DATA;
//
@ -1768,6 +1771,9 @@ typedef struct _KTHREAD
#elif (NTDDI_VERSION >= NTDDI_LONGHORN) // ][
PVOID MdlForLockedTeb;
#endif // ]
#if defined(__REACTOS__) && defined(_M_AMD64) // HACK!
XSAVE_FORMAT* StateSaveArea;
#endif
} KTHREAD;
#else // not (NTDDI_VERSION < NTDDI_WIN8)