https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1ea3af8959da6fcf34d3e…
commit 1ea3af8959da6fcf34d3eb92885fe01ce18de83c
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Tue Nov 14 16:35:10 2023 +0200
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Tue Dec 24 17:27:32 2024 +0200
[SDK] Fix naming of a CPUID structure
---
ntoskrnl/ke/amd64/cpu.c | 2 +-
sdk/include/reactos/x86x64/Cpuid.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ntoskrnl/ke/amd64/cpu.c b/ntoskrnl/ke/amd64/cpu.c
index d1e9567c1b8..24a17d24458 100644
--- a/ntoskrnl/ke/amd64/cpu.c
+++ b/ntoskrnl/ke/amd64/cpu.c
@@ -255,7 +255,7 @@ KiGetFeatureBits(VOID)
if (signature.MaxLeaf >= CPUID_EXTENDED_STATE)
{
/* Read CPUID_EXTENDED_STATE */
- CPUID_EXTENDED_STATE_SUB_LEAF_EAX_REGS ExtStateSub;
+ CPUID_EXTENDED_STATE_SUB_LEAF_REGS ExtStateSub;
__cpuidex(ExtStateSub.AsInt32,
CPUID_EXTENDED_STATE,
CPUID_EXTENDED_STATE_SUB_LEAF);
diff --git a/sdk/include/reactos/x86x64/Cpuid.h b/sdk/include/reactos/x86x64/Cpuid.h
index 39ece442c99..3c317ccea62 100644
--- a/sdk/include/reactos/x86x64/Cpuid.h
+++ b/sdk/include/reactos/x86x64/Cpuid.h
@@ -112,7 +112,7 @@ typedef union
CPUID_EXTENDED_STATE_SUB_LEAF_ECX Ecx;
UINT32 Edx; // Reports the supported bits of the upper 32 bits of the IA32_XSS
MSR. IA32_XSS[n + 32] can be set to 1 only if EDX[n] is 1.
};
-} CPUID_EXTENDED_STATE_SUB_LEAF_EAX_REGS;
+} CPUID_EXTENDED_STATE_SUB_LEAF_REGS;
// CPUID_EXTENDED_CPU_SIG (0x80000001)
typedef union