[NTOS] Make KeFeatureBits 64 bit

This commit is contained in:
Timo Kreuzer 2024-09-29 21:55:20 +03:00
parent 77e4217919
commit be3dde7698
10 changed files with 30 additions and 10 deletions

View file

@ -939,8 +939,11 @@ typedef struct _KPRCB
ULONG CacheCount;
#endif
#ifdef __REACTOS__
#if (NTDDI_VERSION < NTDDI_WINBLUE)
// On Win 8.1+ the FeatureBits field is extended to 64 bits
ULONG FeatureBitsHigh;
#endif
#endif
} KPRCB, *PKPRCB;
//

View file

@ -761,7 +761,11 @@ typedef struct _SYSTEM_PROCESSOR_INFORMATION
#else
USHORT MaximumProcessors;
#endif
#if (NTDDI_VERSION >= NTDDI_WIN10) || ((NTDDI_VERSION >= NTDDI_WINBLUE) && defined(_WIN64))
ULONG64 ProcessorFeatureBits;
#else
ULONG ProcessorFeatureBits;
#endif
} SYSTEM_PROCESSOR_INFORMATION, *PSYSTEM_PROCESSOR_INFORMATION;
// Class 2

View file

@ -781,6 +781,12 @@ typedef struct _KPRCB
ULONG PackageProcessorSet;
ULONG CoreProcessorSet;
#endif
#ifdef __REACTOS__
#if (NTDDI_VERSION < NTDDI_WIN10)
// On Win 10+ the FeatureBits field is extended to 64 bits
ULONG FeatureBitsHigh;
#endif
#endif
} KPRCB, *PKPRCB;
//