mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:47:35 +00:00
Kernel: Remove leftover reference to prekernel on aarch64
This commit essentially just renames `init_prekernel_page_tables` to `init_page_tables`.
This commit is contained in:
parent
1473842b56
commit
c14047034b
3 changed files with 3 additions and 3 deletions
|
@ -11,6 +11,6 @@
|
||||||
namespace Kernel {
|
namespace Kernel {
|
||||||
|
|
||||||
void drop_to_exception_level_1();
|
void drop_to_exception_level_1();
|
||||||
void init_prekernel_page_tables();
|
void init_page_tables();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -186,7 +186,7 @@ static void activate_mmu()
|
||||||
Aarch64::Asm::flush();
|
Aarch64::Asm::flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
void init_prekernel_page_tables()
|
void init_page_tables()
|
||||||
{
|
{
|
||||||
PageBumpAllocator allocator((u64*)page_tables_phys_start, (u64*)page_tables_phys_end);
|
PageBumpAllocator allocator((u64*)page_tables_phys_start, (u64*)page_tables_phys_end);
|
||||||
build_identity_map(allocator);
|
build_identity_map(allocator);
|
||||||
|
|
|
@ -116,7 +116,7 @@ extern "C" [[noreturn]] void init()
|
||||||
dbgln("Firmware version: {}", firmware_version);
|
dbgln("Firmware version: {}", firmware_version);
|
||||||
|
|
||||||
dbgln("Initialize MMU");
|
dbgln("Initialize MMU");
|
||||||
init_prekernel_page_tables();
|
init_page_tables();
|
||||||
|
|
||||||
auto& framebuffer = RPi::Framebuffer::the();
|
auto& framebuffer = RPi::Framebuffer::the();
|
||||||
if (framebuffer.initialized()) {
|
if (framebuffer.initialized()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue