git: 90d8c39d22e0 - stable/14 - x86 specialreg: add bit masks definitions for LASS and LAM features
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Oct 2024 03:09:09 UTC
The branch stable/14 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=90d8c39d22e0e939b48a062cad27859e951aede0
commit 90d8c39d22e0e939b48a062cad27859e951aede0
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-10-23 23:40:01 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-10-30 02:40:30 +0000
x86 specialreg: add bit masks definitions for LASS and LAM features
(cherry picked from commit 9f718b57b846b8e1fa562584747fdae42ffed8f4)
---
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 1f9069e3c1e1..bd98aa31c9a8 100644
--- a/sys/x86/include/specialreg.h
+++ b/sys/x86/include/specialreg.h
@@ -536,6 +536,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