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

Kernel/aarch64: Implement Processor::{clear,restore}_critical()

This commit is contained in:
Timon Kruiper 2022-12-22 13:39:47 +01:00 committed by Andrew Kaster
parent 993b7495ba
commit fbfe669f6d
2 changed files with 9 additions and 3 deletions

View file

@ -192,8 +192,7 @@ public:
ALWAYS_INLINE static void restore_critical(u32 prev_critical)
{
(void)prev_critical;
TODO_AARCH64();
current().m_in_critical = prev_critical;
}
ALWAYS_INLINE static u32 in_critical()