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

Kernel/aarch64: Correctly implement Processor::is_initialized()

This commit is contained in:
Timon Kruiper 2022-12-22 14:07:29 +01:00 committed by Andrew Kaster
parent 27b384e073
commit 1cc06b9985

View file

@ -94,7 +94,7 @@ public:
ALWAYS_INLINE static bool is_initialized() ALWAYS_INLINE static bool is_initialized()
{ {
return false; return g_current_processor != nullptr;
} }
static void flush_tlb_local(VirtualAddress vaddr, size_t page_count); static void flush_tlb_local(VirtualAddress vaddr, size_t page_count);