1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:37:35 +00:00

Kernel: Detect support for CPUID FXSR

The fxsave and fxrstor instructions are available only if the FXSR
feature is present.
This commit is contained in:
Jean-Baptiste Boric 2021-06-14 23:59:38 +02:00 committed by Andreas Kling
parent 90873781c1
commit fea23d0ec1
2 changed files with 5 additions and 0 deletions

View file

@ -548,6 +548,7 @@ enum class CPUFeature : u32 {
SSE4_2 = (1 << 20),
XSAVE = (1 << 21),
AVX = (1 << 22),
FXSR = (1 << 23),
};
class Thread;