Kernel/aarch64: Add {panic,dbgln}_without_mmu

And use it the code that will be part of the early boot process.

The PANIC macro and dbgln functions cannot be used as it accesses global
variables, which in the early boot process do not work, since the MMU is
not yet enabled.
This commit is contained in:
Timon Kruiper 2023-01-07 11:59:37 +01:00 committed by Linus Groh
commit 150c52e420
Notes: sideshowbarker 2024-07-17 10:16:43 +09:00
4 changed files with 41 additions and 14 deletions

View file

@ -36,7 +36,7 @@ void Processor::install(u32 cpu)
m_physical_address_bit_width = detect_physical_address_bit_width();
m_virtual_address_bit_width = detect_virtual_address_bit_width();
initialize_exceptions(cpu);
initialize_exceptions();
g_current_processor = this;
}