mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 06:33:01 +00:00
[NDK] "Reserved" member in SYSTEM_PROCESSOR_INFORMATION is "MaximumProcessors" for Windows 8+ (#3421)
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
This commit is contained in:
parent
b1bf3aae50
commit
35f3034879
2 changed files with 8 additions and 0 deletions
|
@ -657,7 +657,11 @@ QSI_DEF(SystemProcessorInformation)
|
||||||
Spi->ProcessorArchitecture = KeProcessorArchitecture;
|
Spi->ProcessorArchitecture = KeProcessorArchitecture;
|
||||||
Spi->ProcessorLevel = KeProcessorLevel;
|
Spi->ProcessorLevel = KeProcessorLevel;
|
||||||
Spi->ProcessorRevision = KeProcessorRevision;
|
Spi->ProcessorRevision = KeProcessorRevision;
|
||||||
|
#if (NTDDI_VERSION < NTDDI_WIN8)
|
||||||
Spi->Reserved = 0;
|
Spi->Reserved = 0;
|
||||||
|
#else
|
||||||
|
Spi->MaximumProcessors = 0;
|
||||||
|
#endif
|
||||||
Spi->ProcessorFeatureBits = KeFeatureBits;
|
Spi->ProcessorFeatureBits = KeFeatureBits;
|
||||||
|
|
||||||
DPRINT("Arch %u Level %u Rev 0x%x\n", Spi->ProcessorArchitecture,
|
DPRINT("Arch %u Level %u Rev 0x%x\n", Spi->ProcessorArchitecture,
|
||||||
|
|
|
@ -756,7 +756,11 @@ typedef struct _SYSTEM_PROCESSOR_INFORMATION
|
||||||
USHORT ProcessorArchitecture;
|
USHORT ProcessorArchitecture;
|
||||||
USHORT ProcessorLevel;
|
USHORT ProcessorLevel;
|
||||||
USHORT ProcessorRevision;
|
USHORT ProcessorRevision;
|
||||||
|
#if (NTDDI_VERSION < NTDDI_WIN8)
|
||||||
USHORT Reserved;
|
USHORT Reserved;
|
||||||
|
#else
|
||||||
|
USHORT MaximumProcessors;
|
||||||
|
#endif
|
||||||
ULONG ProcessorFeatureBits;
|
ULONG ProcessorFeatureBits;
|
||||||
} SYSTEM_PROCESSOR_INFORMATION, *PSYSTEM_PROCESSOR_INFORMATION;
|
} SYSTEM_PROCESSOR_INFORMATION, *PSYSTEM_PROCESSOR_INFORMATION;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue