aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/kapi/memory.cpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2025-10-29 11:09:42 +0100
committerFelix Morgner <felix.morgner@ost.ch>2025-10-29 11:09:42 +0100
commit6434de8ff75a9143847ef529bc209790ac4909b3 (patch)
treea66902303f99f10897cb04e294c55fabf814c49f /arch/x86_64/src/kapi/memory.cpp
parentacabbacdee68ad80e829bda56ae5363d04646d2d (diff)
downloadteachos-6434de8ff75a9143847ef529bc209790ac4909b3.tar.xz
teachos-6434de8ff75a9143847ef529bc209790ac4909b3.zip
kapi: move frame and address to KAPI
Diffstat (limited to 'arch/x86_64/src/kapi/memory.cpp')
-rw-r--r--arch/x86_64/src/kapi/memory.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/x86_64/src/kapi/memory.cpp b/arch/x86_64/src/kapi/memory.cpp
index d1c1f03..55e6ba9 100644
--- a/arch/x86_64/src/kapi/memory.cpp
+++ b/arch/x86_64/src/kapi/memory.cpp
@@ -1,10 +1,10 @@
#include "kapi/memory.hpp"
+#include "kapi/memory/frame.hpp"
#include "kapi/system.hpp"
#include "x86_64/boot/boot.hpp"
#include "x86_64/boot/ld.hpp"
-#include "x86_64/memory/address.hpp"
#include "x86_64/memory/region_allocator.hpp"
#include <multiboot2/information.hpp>
@@ -13,8 +13,10 @@
namespace teachos::memory
{
- using namespace x86_64::memory;
- using namespace x86_64::boot;
+ using namespace boot::x86_64;
+ using namespace memory::x86_64;
+
+ std::size_t const PLATFORM_FRAME_SIZE{4096};
namespace
{