aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/memory
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/src/memory')
-rw-r--r--arch/x86_64/src/memory/higher_half_mapper.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/x86_64/src/memory/higher_half_mapper.cpp b/arch/x86_64/src/memory/higher_half_mapper.cpp
new file mode 100644
index 0000000..9fe3c89
--- /dev/null
+++ b/arch/x86_64/src/memory/higher_half_mapper.cpp
@@ -0,0 +1,29 @@
+#include "arch/memory/higher_half_mapper.hpp"
+
+#include "kapi/memory.hpp"
+
+#include <cstddef>
+
+namespace arch::memory
+{
+
+ auto higher_half_mapper::map(kapi::memory::page page, kapi::memory::frame frame, flags flags) -> std::byte *
+ {
+ static_cast<void>(page);
+ static_cast<void>(frame);
+ static_cast<void>(flags);
+ return nullptr;
+ }
+
+ auto higher_half_mapper::unmap(kapi::memory::page page) -> void
+ {
+ static_cast<void>(page);
+ }
+
+ auto higher_half_mapper::try_unmap(kapi::memory::page page) noexcept -> bool
+ {
+ static_cast<void>(page);
+ return false;
+ }
+
+} // namespace arch::memory \ No newline at end of file