mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-19 16:59:47 +00:00
Kernel: Make Region.cpp compile on aarch64
This commit is contained in:
parent
a883079b29
commit
627fd231d5
Notes:
sideshowbarker
2024-07-17 14:35:46 +09:00
Author: https://github.com/jamesmintram
Commit: 627fd231d5
Pull-request: https://github.com/SerenityOS/serenity/pull/13447
3 changed files with 25 additions and 4 deletions
|
@ -397,6 +397,16 @@ public:
|
|||
|
||||
static void deferred_call_queue(Function<void()> callback);
|
||||
|
||||
ALWAYS_INLINE bool has_nx() const
|
||||
{
|
||||
return has_feature(CPUFeature::NX);
|
||||
}
|
||||
|
||||
ALWAYS_INLINE bool has_pat() const
|
||||
{
|
||||
return has_feature(CPUFeature::PAT);
|
||||
}
|
||||
|
||||
ALWAYS_INLINE bool has_feature(CPUFeature::Type const& feature) const
|
||||
{
|
||||
return m_features.has_flag(feature);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue