mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-06 02:55:49 +03: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
Notes:
sideshowbarker
2024-07-17 08:20:42 +09:00
Author: https://github.com/filiphsps Commit: https://github.com/SerenityOS/serenity/commit/c14047034b Pull-request: https://github.com/SerenityOS/serenity/pull/14821 Reviewed-by: https://github.com/bgianfo ✅
@ -11,6 +11,6 @@
|
||||
namespace Kernel {
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
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);
|
||||
|
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user