diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2025-07-14 13:06:47 +0000 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2025-07-14 13:06:47 +0000 |
| commit | d275ced60d63b1618169d755d228a860dfd23237 (patch) | |
| tree | 1e264c4a0eb497e5b745cab039c7d4d567184499 | |
| parent | 3a2efa4ebc6b07a2304416262d5032a32dcddd8b (diff) | |
| download | teachos-d275ced60d63b1618169d755d228a860dfd23237.tar.xz teachos-d275ced60d63b1618169d755d228a860dfd23237.zip | |
memory: adapt to changes memory layout
| -rw-r--r-- | arch/x86_64/include/arch/memory/paging/kernel_mapper.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/include/arch/memory/paging/kernel_mapper.hpp b/arch/x86_64/include/arch/memory/paging/kernel_mapper.hpp index 81ac0cb..3afb54b 100644 --- a/arch/x86_64/include/arch/memory/paging/kernel_mapper.hpp +++ b/arch/x86_64/include/arch/memory/paging/kernel_mapper.hpp @@ -127,8 +127,8 @@ namespace teachos::arch::memory::paging std::array<uint64_t, 6U> constexpr USER_SECTION_BASES = { 0x102000, // .boot_bss (Contains statically allocated variables) 0x209000, // .stl_text (Contains code for custom std implementations and standard library code) - 0x218000, // .user_text (Contains the actual user code executed) - 0x21F000, // .user_data (Contains static user variables) + 0x217000, // .user_text (Contains the actual user code executed) + 0x21E000, // .user_data (Contains static user variables) 0x20A000 // .text (Necessary, because symbols for all template standard library features are placed here if // they were first used in the Kernel Code Section) |
