aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/memory.cpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2025-07-22 20:48:11 +0000
committerFelix Morgner <felix.morgner@ost.ch>2025-07-22 20:51:52 +0000
commitce8683e63fc9ef59e1800927afb1753507a42ef6 (patch)
tree5bd32b1a291e81615695abe96bf093ad9a8e1692 /arch/x86_64/src/memory.cpp
parenteb22cdcad4c27527a63a6e457e80c752f76821c6 (diff)
downloadteachos-ce8683e63fc9ef59e1800927afb1753507a42ef6.tar.xz
teachos-ce8683e63fc9ef59e1800927afb1753507a42ef6.zip
x86_64: extract constants from bootstrap code
Diffstat (limited to 'arch/x86_64/src/memory.cpp')
-rw-r--r--arch/x86_64/src/memory.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86_64/src/memory.cpp b/arch/x86_64/src/memory.cpp
index 2b16beb..a31627b 100644
--- a/arch/x86_64/src/memory.cpp
+++ b/arch/x86_64/src/memory.cpp
@@ -2,14 +2,13 @@
#include "kern/error.hpp"
-#include "arch/asm_pointer.hpp"
-#include "x86_64/memory/region_allocator.hpp"
+#include "x86_64/boot/boot.hpp"
#include <multiboot2/information.hpp>
#include <atomic>
-extern "C" teachos::arch::asm_pointer<multiboot2::information_view> multiboot_information_pointer;
+// extern "C" teachos::arch::asm_pointer<multiboot2::information_view> multiboot_information_pointer;
namespace teachos::arch::memory
{