Skip to content

Commit

Permalink
[SDK] Fix naming of a CPUID structure
Browse files Browse the repository at this point in the history
  • Loading branch information
tkreuzer committed Dec 23, 2024
1 parent 2d4c0b8 commit d07bda4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ntoskrnl/ke/amd64/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion sdk/include/reactos/x86x64/Cpuid.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d07bda4

Please sign in to comment.