1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:57:35 +00:00

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
parent 69c49b3d00
commit 150c52e420
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;
}