mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:35:47 +00:00
[NTOS] Make KeFeatureBits 64 bit
This commit is contained in:
parent
77e4217919
commit
be3dde7698
10 changed files with 30 additions and 10 deletions
|
@ -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;
|
||||
|
||||
//
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue