mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 21:00:06 +00:00
The handling of page tables is very architecture specific, so belongs
in the Arch directory. Some parts were already architecture-specific,
however this commit moves the rest of the PageDirectory class into the
Arch directory.
While we're here the aarch64/PageDirectory.{h,cpp} files are updated to
be aarch64 specific, by renaming some members and removing x86_64
specific code.
26 lines
373 B
C++
26 lines
373 B
C++
/*
|
|
* Copyright (c) 2018-2022, James Mintram <me@jamesrm.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/Forward.h>
|
|
#include <AK/Types.h>
|
|
|
|
namespace Kernel {
|
|
|
|
void initialize_exceptions();
|
|
void panic_without_mmu(StringView);
|
|
void dbgln_without_mmu(StringView);
|
|
|
|
namespace Memory {
|
|
|
|
void init_page_tables();
|
|
void unmap_identity_map();
|
|
|
|
}
|
|
|
|
}
|