From 69a92ce3077f01ce43daef5681db298594a4badc Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 16 Mar 2026 19:03:53 +0100 Subject: x86_64/memory: remove recursive mapping --- arch/x86_64/src/memory/paging_root.cpp | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 arch/x86_64/src/memory/paging_root.cpp (limited to 'arch/x86_64/src/memory/paging_root.cpp') diff --git a/arch/x86_64/src/memory/paging_root.cpp b/arch/x86_64/src/memory/paging_root.cpp deleted file mode 100644 index 41f40ed..0000000 --- a/arch/x86_64/src/memory/paging_root.cpp +++ /dev/null @@ -1,19 +0,0 @@ -#include "arch/memory/paging_root.hpp" - -#include -#include - -namespace arch::memory -{ - - namespace - { - constexpr auto recursive_base = std::uintptr_t{0177777'776'776'776'776'0000uz}; - } // namespace - - auto paging_root::get() -> paging_root * - { - return std::bit_cast(recursive_base); - } - -} // namespace arch::memory \ No newline at end of file -- cgit v1.2.3