mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:57:45 +00:00
Kernel: Add more stubs needed for Thread.cpp
This commit is contained in:
parent
1e3edb3b76
commit
69efded562
4 changed files with 27 additions and 0 deletions
|
@ -142,6 +142,14 @@ public:
|
|||
current_processor.m_in_critical = current_processor.in_critical() - 1;
|
||||
}
|
||||
|
||||
static u32 clear_critical();
|
||||
|
||||
ALWAYS_INLINE static void restore_critical(u32 prev_critical)
|
||||
{
|
||||
(void)prev_critical;
|
||||
TODO_AARCH64();
|
||||
}
|
||||
|
||||
ALWAYS_INLINE static u32 in_critical()
|
||||
{
|
||||
return current().m_in_critical;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue