aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/kernel/cpu/control_register.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/src/kernel/cpu/control_register.cpp')
-rw-r--r--arch/x86_64/src/kernel/cpu/control_register.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/src/kernel/cpu/control_register.cpp b/arch/x86_64/src/kernel/cpu/control_register.cpp
index 3051bae..a39a360 100644
--- a/arch/x86_64/src/kernel/cpu/control_register.cpp
+++ b/arch/x86_64/src/kernel/cpu/control_register.cpp
@@ -4,7 +4,7 @@
#include <type_traits>
-namespace teachos::arch::memory::cpu
+namespace teachos::arch::kernel::cpu
{
auto read_control_register(control_register cr) -> uint64_t
{
@@ -69,4 +69,4 @@ namespace teachos::arch::memory::cpu
auto const cr0 = read_control_register(control_register::CR0);
write_control_register(control_register::CR0, static_cast<std::underlying_type<cr0_flags>::type>(flag) | cr0);
}
-} // namespace teachos::arch::memory::cpu
+} // namespace teachos::arch::kernel::cpu