Update CPUID bits definitions and CPU identification based on changes
in SDM rev. 069. Sponsored by: The FreeBSD Foundation MFC after: 3 days
This commit is contained in:
parent
52467047aa
commit
ccc2d07e77
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=343757
@ -436,7 +436,12 @@
|
||||
#define CPUID_STDEXT2_UMIP 0x00000004
|
||||
#define CPUID_STDEXT2_PKU 0x00000008
|
||||
#define CPUID_STDEXT2_OSPKE 0x00000010
|
||||
#define CPUID_STDEXT2_WAITPKG 0x00000020
|
||||
#define CPUID_STDEXT2_GFNI 0x00000100
|
||||
#define CPUID_STDEXT2_RDPID 0x00400000
|
||||
#define CPUID_STDEXT2_CLDEMOTE 0x02000000
|
||||
#define CPUID_STDEXT2_MOVDIRI 0x08000000
|
||||
#define CPUID_STDEXT2_MOVDIRI64B 0x10000000
|
||||
#define CPUID_STDEXT2_SGXLC 0x40000000
|
||||
|
||||
/*
|
||||
@ -446,6 +451,7 @@
|
||||
#define CPUID_STDEXT3_STIBP 0x08000000
|
||||
#define CPUID_STDEXT3_L1D_FLUSH 0x10000000
|
||||
#define CPUID_STDEXT3_ARCH_CAP 0x20000000
|
||||
#define CPUID_STDEXT3_CORE_CAP 0x40000000
|
||||
#define CPUID_STDEXT3_SSBD 0x80000000
|
||||
|
||||
/* MSR IA32_ARCH_CAP(ABILITIES) bits */
|
||||
|
@ -981,7 +981,12 @@ printcpuinfo(void)
|
||||
"\003UMIP"
|
||||
"\004PKU"
|
||||
"\005OSPKE"
|
||||
"\006WAITPKG"
|
||||
"\011GFNI"
|
||||
"\027RDPID"
|
||||
"\032CLDEMOTE"
|
||||
"\034MOVDIRI"
|
||||
"\035MOVDIRI64B"
|
||||
"\037SGXLC"
|
||||
);
|
||||
}
|
||||
@ -994,6 +999,7 @@ printcpuinfo(void)
|
||||
"\034STIBP"
|
||||
"\035L1DFL"
|
||||
"\036ARCH_CAP"
|
||||
"\037CORE_CAP"
|
||||
"\040SSBD"
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user