diff options
author | Jean-Baptiste Boric <jblbeurope@gmail.com> | 2021-06-14 23:59:38 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-18 01:02:25 +0200 |
commit | fea23d0ec100ab7773617ef98d9c9378a5f50e36 (patch) | |
tree | e9fd7f42a2fd0c021cda30cc2708a196df42a8d4 /Kernel/Arch/x86 | |
parent | 90873781c1d2bbe5334dd6f732b6010843956c56 (diff) | |
download | serenity-fea23d0ec100ab7773617ef98d9c9378a5f50e36.zip |
Kernel: Detect support for CPUID FXSR
The fxsave and fxrstor instructions are available only if the FXSR
feature is present.
Diffstat (limited to 'Kernel/Arch/x86')
-rw-r--r-- | Kernel/Arch/x86/CPU.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Arch/x86/CPU.h b/Kernel/Arch/x86/CPU.h index d17e1ffb23..c1baf2478c 100644 --- a/Kernel/Arch/x86/CPU.h +++ b/Kernel/Arch/x86/CPU.h @@ -548,6 +548,7 @@ enum class CPUFeature : u32 { SSE4_2 = (1 << 20), XSAVE = (1 << 21), AVX = (1 << 22), + FXSR = (1 << 23), }; class Thread; |