mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 04:37:55 +00:00
Kernel: Add basic aarch64 support to MemoryManager
FIXME: There's still a lot to do like for example, port `quickmap_page`. This does however get us further into the boot process than before.
This commit is contained in:
committed by
Linus Groh
parent
14fe03569a
commit
7e1e208d08
@@ -487,8 +487,10 @@ UNMAP_AFTER_INIT void MemoryManager::initialize_physical_pages()
|
||||
auto* pd = reinterpret_cast<PageDirectoryEntry*>(quickmap_page(boot_pd_kernel));
|
||||
PageDirectoryEntry& pde = pd[page_directory_index];
|
||||
|
||||
// FIXME: port quickmap_page to aarch64
|
||||
#if !ARCH(AARCH64)
|
||||
VERIFY(!pde.is_present()); // Nothing should be using this PD yet
|
||||
|
||||
#endif
|
||||
// We can't use ensure_pte quite yet!
|
||||
pde.set_page_table_base(pt_paddr.get());
|
||||
pde.set_user_allowed(false);
|
||||
|
||||
Reference in New Issue
Block a user