diff options
| author | Fabian Imhof <fabian.imhof@ost.ch> | 2025-03-13 15:46:16 +0000 |
|---|---|---|
| committer | Fabian Imhof <fabian.imhof@ost.ch> | 2025-03-13 15:46:16 +0000 |
| commit | 11db9338dac611ea32e202add5ce5055b54ebb58 (patch) | |
| tree | fa68d328a1fe5e07e52e32aac866a0bcc57094ab /arch/x86_64/src/kernel/cpu/control_register.cpp | |
| parent | bdbe6d4bc0f2966541bcd5a47c1a4ad9cbff16fa (diff) | |
| download | kernel-11db9338dac611ea32e202add5ce5055b54ebb58.tar.xz kernel-11db9338dac611ea32e202add5ce5055b54ebb58.zip | |
fixup typing and continue adding gdt
Diffstat (limited to 'arch/x86_64/src/kernel/cpu/control_register.cpp')
| -rw-r--r-- | arch/x86_64/src/kernel/cpu/control_register.cpp | 4 |
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 |
