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:
Filiph Sandström 2022-08-10 18:29:06 +02:00 committed by Brian Gianforcaro
parent 1473842b56
commit c14047034b
Notes: sideshowbarker 2024-07-17 08:20:42 +09:00
3 changed files with 3 additions and 3 deletions

View File

@ -11,6 +11,6 @@
namespace Kernel {
void drop_to_exception_level_1();
void init_prekernel_page_tables();
void init_page_tables();
}

View File

@ -186,7 +186,7 @@ static void activate_mmu()
Aarch64::Asm::flush();
}
void init_prekernel_page_tables()
void init_page_tables()
{
PageBumpAllocator allocator((u64*)page_tables_phys_start, (u64*)page_tables_phys_end);
build_identity_map(allocator);

View File

@ -116,7 +116,7 @@ extern "C" [[noreturn]] void init()
dbgln("Firmware version: {}", firmware_version);
dbgln("Initialize MMU");
init_prekernel_page_tables();
init_page_tables();
auto& framebuffer = RPi::Framebuffer::the();
if (framebuffer.initialized()) {