aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86_64/CMakeLists.txt1
-rw-r--r--arch/x86_64/kapi/system.cpp14
2 files changed, 15 insertions, 0 deletions
diff --git a/arch/x86_64/CMakeLists.txt b/arch/x86_64/CMakeLists.txt
index 413b5aa..9ea10e9 100644
--- a/arch/x86_64/CMakeLists.txt
+++ b/arch/x86_64/CMakeLists.txt
@@ -15,6 +15,7 @@ target_sources("x86_64" PRIVATE
"kapi/cio.cpp"
"kapi/cpu.cpp"
"kapi/memory.cpp"
+ "kapi/system.cpp"
# Low-level bootstrap
"src/boot/boot32.S"
diff --git a/arch/x86_64/kapi/system.cpp b/arch/x86_64/kapi/system.cpp
new file mode 100644
index 0000000..5bcae4d
--- /dev/null
+++ b/arch/x86_64/kapi/system.cpp
@@ -0,0 +1,14 @@
+#include "kapi/system.hpp"
+
+#include <kstd/print>
+
+namespace kapi::system
+{
+
+ auto memory_initialized() -> void
+ {
+ kstd::println("[x86_64:SYS] TODO: initialize Interrupt Descriptor Table.");
+ kstd::println("[x86_64:SYS] TODO: reload Global Descriptor Table.");
+ }
+
+} // namespace kapi::system \ No newline at end of file