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:
parent
cd6896d343
commit
150e6a59c0
3 changed files with 32 additions and 34 deletions
|
@ -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);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue