1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:58:12 +00:00

Kernel: Detect and display CPUID hypervisor signature

This commit is contained in:
Jean-Baptiste Boric 2021-07-11 19:45:11 +02:00 committed by Andreas Kling
parent 4cc346fb19
commit b22357b17b
2 changed files with 20 additions and 0 deletions

View file

@ -173,6 +173,8 @@ public:
void early_initialize(u32 cpu);
void initialize(u32 cpu);
void detect_hypervisor();
void idle_begin()
{
s_idle_cpu_mask.fetch_or(1u << m_cpu, AK::MemoryOrder::memory_order_relaxed);