git: 9f718b57b846 - main - x86 specialreg: add bit masks definitions for LASS and LAM features
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 24 Oct 2024 02:41:47 UTC
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=9f718b57b846b8e1fa562584747fdae42ffed8f4 commit 9f718b57b846b8e1fa562584747fdae42ffed8f4 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2024-10-23 23:40:01 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-10-24 02:41:11 +0000 x86 specialreg: add bit masks definitions for LASS and LAM features in CPUID Structured Extended Features %eax 0x7 leaf 1 %eax, from Intel SDM vol. 2 rev. 085. Sponsored by: The FreeBSD Foundation MFC after: 1 week --- sys/x86/include/specialreg.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h index ab172ec54ff6..51c513b6a5ab 100644 --- a/sys/x86/include/specialreg.h +++ b/sys/x86/include/specialreg.h @@ -534,6 +534,12 @@ #define CPUID_STDEXT3_CORE_CAP 0x40000000 #define CPUID_STDEXT3_SSBD 0x80000000 +/* + * CPUID instruction 7 Structured Extended Features, leaf 1 eax info + */ +#define CPUID_STDEXT4_LASS 0x00000040 +#define CPUID_STDEXT4_LAM 0x04000000 + /* CPUID_HYBRID_ID leaf 0x1a */ #define CPUID_HYBRID_CORE_MASK 0xff000000 #define CPUID_HYBRID_SMALL_CORE 0x20000000