aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/kapi
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-01-16 13:55:51 +0100
committerFelix Morgner <felix.morgner@ost.ch>2026-01-16 13:55:51 +0100
commit159bdd2cac3f967c31c2f416fbc542e0277ec860 (patch)
tree328f69d3490a4a7e95bb86fe2ccdc7a8bd877890 /arch/x86_64/kapi
parentf3362a5e486582854c4e85ea54d2357d3b3b2f60 (diff)
downloadteachos-159bdd2cac3f967c31c2f416fbc542e0277ec860.tar.xz
teachos-159bdd2cac3f967c31c2f416fbc542e0277ec860.zip
kapi/system: introduce memory_initialized hook
Diffstat (limited to 'arch/x86_64/kapi')
-rw-r--r--arch/x86_64/kapi/system.cpp14
1 files changed, 14 insertions, 0 deletions
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