1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:07:34 +00:00

Kernel: Add and use bitwise operators to CPUFeature

This commit is contained in:
Hendiadyoin1 2022-03-22 19:12:42 +01:00 committed by Linus Groh
parent cd6896d343
commit 150e6a59c0
3 changed files with 32 additions and 34 deletions

View file

@ -6,6 +6,7 @@
#pragma once
#include <AK/EnumBits.h>
#include <AK/Types.h>
#include <AK/Platform.h>
@ -60,5 +61,6 @@ enum class CPUFeature : u32 {
HYPERVISOR = (1 << 25),
PAT = (1 << 26),
};
AK_ENUM_BITWISE_OPERATORS(CPUFeature);
}