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

Kernel: Add even more AARCH64 stubs

This commit is contained in:
Gunnar Beutner 2022-10-16 22:43:43 +02:00 committed by Linus Groh
parent 63a91d6971
commit 056e406a12
9 changed files with 136 additions and 13 deletions

View file

@ -9,6 +9,7 @@
#pragma once
#include <Kernel/Arch/aarch64/Processor.h>
#include <Kernel/Arch/aarch64/Registers.h>
namespace Kernel::Aarch64::Asm {
@ -94,3 +95,12 @@ inline void enter_el1_from_el2()
}
}
namespace Kernel {
inline bool are_interrupts_enabled()
{
return Processor::are_interrupts_enabled();
}
}