arch/x86_64:Add macros related to CPUID

Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com>
This commit is contained in:
liwenxiang1 2024-10-10 20:11:37 +08:00 committed by Mateusz Szafoni
parent d0779e0eef
commit fee7e0ce81
1 changed files with 2 additions and 0 deletions

View File

@ -208,6 +208,8 @@
# define X86_64_CPUID_07_AVX512VL (1 << 31)
#define X86_64_CPUID_XSAVE 0x0d
#define X86_64_CPUID_TSC 0x15
#define X86_64_CPUID_EXTINFO 0x80000001
# define X86_64_CPUID_EXTINFO_RDTSCP (1 << 27)
/* MSR Definitions */