aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/cpu/registers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/src/cpu/registers.cpp')
-rw-r--r--arch/x86_64/src/cpu/registers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/src/cpu/registers.cpp b/arch/x86_64/src/cpu/registers.cpp
index 7ade98d..8646829 100644
--- a/arch/x86_64/src/cpu/registers.cpp
+++ b/arch/x86_64/src/cpu/registers.cpp
@@ -2,7 +2,7 @@
#include <type_traits>
-namespace teachos::x86_64::cpu
+namespace teachos::cpu::x86_64
{
auto read_control_register(control_register cr) -> uint64_t
{
@@ -61,4 +61,4 @@ namespace teachos::x86_64::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::x86_64::cpu
+} // namespace teachos::cpu::x86_64