mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 15:17:45 +00:00
Kernel: Move Memory/PageDirectory.{cpp,h} to arch-specific directory
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.
This commit is contained in:
parent
55d756a813
commit
697c5ca5e5
23 changed files with 304 additions and 228 deletions
|
@ -26,7 +26,7 @@ extern u8 page_tables_phys_end[];
|
|||
extern u8 start_of_kernel_image[];
|
||||
extern u8 end_of_kernel_image[];
|
||||
|
||||
namespace Kernel {
|
||||
namespace Kernel::Memory {
|
||||
|
||||
// physical memory
|
||||
constexpr u32 START_OF_NORMAL_MEMORY = 0x00000000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue