diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2025-07-23 14:15:09 +0000 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2025-07-23 14:15:09 +0000 |
| commit | bb685cca3a537f0df4205050a9c52b411dee95c6 (patch) | |
| tree | 4190c6ecd6c4362974ed7594e587a95234a1f686 /arch/x86_64/src | |
| parent | 05df795a860eaedf43602beadc2d1637bd2cdd14 (diff) | |
| download | teachos-bb685cca3a537f0df4205050a9c52b411dee95c6.tar.xz teachos-bb685cca3a537f0df4205050a9c52b411dee95c6.zip | |
x86_64: rename _*_linear to _*_physical
Diffstat (limited to 'arch/x86_64/src')
| -rw-r--r-- | arch/x86_64/src/memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/src/memory.cpp b/arch/x86_64/src/memory.cpp index 105d69b..b6901a5 100644 --- a/arch/x86_64/src/memory.cpp +++ b/arch/x86_64/src/memory.cpp @@ -25,7 +25,7 @@ namespace teachos::arch::memory auto const & mbi = multiboot_information_pointer.get(); auto map = mbi->memory_map(); - return {std::make_pair(physical_address{&_start_linear}, physical_address{&_end_linear}), + return {std::make_pair(physical_address{&_start_physical}, physical_address{&_end_physical}), std::make_pair(physical_address{std::bit_cast<std::byte *>(&mbi)}, physical_address{std::bit_cast<std::byte *>(&mbi) + mbi->size_bytes()}), map}; |
