aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86_64/CMakeLists.txt2
-rw-r--r--arch/x86_64/src/kapi/cpu.cpp (renamed from arch/x86_64/src/kapi/system.cpp)6
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86_64/CMakeLists.txt b/arch/x86_64/CMakeLists.txt
index 9be7b04..a681347 100644
--- a/arch/x86_64/CMakeLists.txt
+++ b/arch/x86_64/CMakeLists.txt
@@ -22,8 +22,8 @@ target_sources("x86_64" PRIVATE
# api::kapi implementation
"src/kapi/cio.cpp"
+ "src/kapi/cpu.cpp"
"src/kapi/memory.cpp"
- "src/kapi/system.cpp"
# Memory management
"src/memory/mmu.cpp"
diff --git a/arch/x86_64/src/kapi/system.cpp b/arch/x86_64/src/kapi/cpu.cpp
index 2d4c3fe..22543ee 100644
--- a/arch/x86_64/src/kapi/system.cpp
+++ b/arch/x86_64/src/kapi/cpu.cpp
@@ -1,6 +1,6 @@
-#include "kapi/system.hpp"
+#include "kapi/cpu.hpp"
-namespace teachos::system
+namespace teachos::cpu
{
auto halt() -> void
@@ -9,4 +9,4 @@ namespace teachos::system
__builtin_unreachable();
}
-} // namespace teachos::system
+} // namespace teachos::cpu