git: b42b18fb24f5 - main - x86: Add definitions for XSAVE state component information
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 26 Nov 2024 18:16:37 UTC
The branch main has been updated by bnovkov: URL: https://cgit.FreeBSD.org/src/commit/?id=b42b18fb24f58d9b3d8b60d6901e582d407521d6 commit b42b18fb24f58d9b3d8b60d6901e582d407521d6 Author: Bojan Novković <bnovkov@FreeBSD.org> AuthorDate: 2024-11-26 17:48:46 +0000 Commit: Bojan Novković <bnovkov@FreeBSD.org> CommitDate: 2024-11-26 18:16:05 +0000 x86: Add definitions for XSAVE state component information Reviewed by: kib --- sys/x86/include/specialreg.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h index 51c513b6a5ab..9dc30e31e540 100644 --- a/sys/x86/include/specialreg.h +++ b/sys/x86/include/specialreg.h @@ -386,6 +386,14 @@ #define CPUID_EXTSTATE_XINUSE 0x00000004 #define CPUID_EXTSTATE_XSAVES 0x00000008 +/* + * CPUID instruction 0xd Processor Extended State Enumeration + * Sub-leaf > 1 ecx info + */ +#define CPUID_EXTSTATE_SUPERVISOR 0x00000001 +#define CPUID_EXTSTATE_ALIGNED 0x00000002 +#define CPUID_EXTSTATE_XFD_SUPPORTED 0x00000004 + /* * AMD extended function 8000_0007h ebx info */