1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:17:44 +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:
Filiph Sandström 2022-08-10 18:29:06 +02:00 committed by Brian Gianforcaro
parent 1473842b56
commit c14047034b
3 changed files with 3 additions and 3 deletions

View file

@ -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();
} }

View file

@ -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);

View file

@ -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()) {