mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:37:44 +00:00
Kernel: Use bitfields in Region
This makes Region 4 bytes smaller and we can use bitfield initializers since they are allowed in C++20. :^)
This commit is contained in:
parent
d02c169851
commit
f17c377a0c
1 changed files with 5 additions and 5 deletions
|
@ -185,11 +185,11 @@ private:
|
||||||
NonnullRefPtr<VMObject> m_vmobject;
|
NonnullRefPtr<VMObject> m_vmobject;
|
||||||
String m_name;
|
String m_name;
|
||||||
u8 m_access { 0 };
|
u8 m_access { 0 };
|
||||||
bool m_shared { false };
|
bool m_shared : 1 { false };
|
||||||
bool m_user_accessible { false };
|
bool m_user_accessible : 1 { false };
|
||||||
bool m_cacheable { false };
|
bool m_cacheable : 1 { false };
|
||||||
bool m_stack { false };
|
bool m_stack : 1 { false };
|
||||||
bool m_mmap { false };
|
bool m_mmap : 1 { false };
|
||||||
mutable OwnPtr<Bitmap> m_cow_map;
|
mutable OwnPtr<Bitmap> m_cow_map;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue