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

Kernel: Add CPUID flag for long mode

This isn't particularly useful because by the time we've entered
init() the CPU had better support x86_64 anyway. However this shows the
CPU flag in System Monitor - even in 32-bit mode.
This commit is contained in:
Gunnar Beutner 2021-06-26 04:21:51 +02:00 committed by Andreas Kling
parent 409b874514
commit 389bf82889
2 changed files with 5 additions and 0 deletions

View file

@ -53,6 +53,7 @@ enum class CPUFeature : u32 {
XSAVE = (1 << 21),
AVX = (1 << 22),
FXSR = (1 << 23),
LM = (1 << 24),
};
}