1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 19:17:35 +00:00

Kernel: Add more AARCH64 stubs

This commit is contained in:
Gunnar Beutner 2022-10-16 21:51:08 +02:00 committed by Linus Groh
parent bf3c99ef23
commit 63a91d6971
4 changed files with 34 additions and 0 deletions

View file

@ -160,6 +160,8 @@ public:
VERIFY(!Processor::in_critical());
}
ALWAYS_INLINE static FPUState const& clean_fpu_state() { TODO_AARCH64(); }
// FIXME: Actually return the idle thread once aarch64 supports threading.
ALWAYS_INLINE static Thread* idle_thread()
{
@ -182,8 +184,12 @@ public:
TODO_AARCH64();
}
static u32 smp_wake_n_idle_processors(u32 wake_count);
[[noreturn]] static void halt();
static ErrorOr<Vector<FlatPtr, 32>> capture_stack_trace(Thread& thread, size_t max_frames = 0);
private:
u32 m_in_critical { 0 };