mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:27:45 +00:00
Kernel/aarch64: Add pre_init function for that sets up the CPU and MMU
This is a separate file that behaves similar to the Prekernel for x86_64, and makes sure the CPU is dropped to EL1, the MMU is enabled, and makes sure the CPU is running in high virtual memory. This code then jumps to the usual init function of the kernel.
This commit is contained in:
parent
5e00bb0b9f
commit
ebdb899d3d
5 changed files with 63 additions and 6 deletions
|
@ -36,8 +36,6 @@ 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();
|
||||
|
||||
g_current_processor = this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue