diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2025-12-15 11:34:30 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2025-12-15 11:34:30 +0100 |
| commit | 40804526a58ddf2cc0df0750550c8dcfa7b7c57c (patch) | |
| tree | a0dff1f6a51c8819ccc6b81a3648e869c2e80bf8 /arch/x86_64/src/memory | |
| parent | 2846867da7e88c3a665d0a8bed6ccec60e6476a1 (diff) | |
| download | teachos-40804526a58ddf2cc0df0750550c8dcfa7b7c57c.tar.xz teachos-40804526a58ddf2cc0df0750550c8dcfa7b7c57c.zip | |
x86_64/boot: use high-mem address of MBI
Diffstat (limited to 'arch/x86_64/src/memory')
| -rw-r--r-- | arch/x86_64/src/memory/recursive_page_mapper.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86_64/src/memory/recursive_page_mapper.cpp b/arch/x86_64/src/memory/recursive_page_mapper.cpp index 798233a..ef234ad 100644 --- a/arch/x86_64/src/memory/recursive_page_mapper.cpp +++ b/arch/x86_64/src/memory/recursive_page_mapper.cpp @@ -14,8 +14,7 @@ namespace teachos::memory::x86_64 //! On any level above PML1, the entries need to not be no_execute, because the image is densely packed. The entries //! also need to be writable, since the mapping is being performed through the recursive page map hierarchy. When //! setting the final entry in the PML1, the actually desired flags are set as is, with the present bit - //! added, thus - //! still enforcing non-writability and non-execution of the affected page. + //! added, thus still enforcing non-writability and non-execution of the affected page. template<std::size_t Level> requires(Level > 1uz && Level <= PLATFORM_PAGING_LEVELS) auto do_map(recursive_page_table<Level> * pml, page page, frame_allocator & allocator, page_mapper::flags flags) |
