diff options
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/x86_64/arch/drivers/cpu/lapic.cpp (renamed from arch/x86_64/arch/drivers/lapic.cpp) | 4 | ||||
| -rw-r--r-- | arch/x86_64/arch/drivers/cpu/lapic.hpp (renamed from arch/x86_64/arch/drivers/lapic.hpp) | 2 | ||||
| -rw-r--r-- | arch/x86_64/arch/drivers/init.cpp | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86_64/arch/drivers/lapic.cpp b/arch/x86_64/arch/drivers/cpu/lapic.cpp index 270c04ce..2f74abc4 100644 --- a/arch/x86_64/arch/drivers/lapic.cpp +++ b/arch/x86_64/arch/drivers/cpu/lapic.cpp @@ -1,4 +1,4 @@ -#include <arch/drivers/lapic.hpp> +#include <arch/drivers/cpu/lapic.hpp> #include <arch/bus/cpu.hpp> @@ -18,7 +18,7 @@ #include <string_view> #include <utility> -namespace arch::drivers +namespace arch::drivers::cpu { using namespace kstd::units_literals; diff --git a/arch/x86_64/arch/drivers/lapic.hpp b/arch/x86_64/arch/drivers/cpu/lapic.hpp index f9d697f8..f2a8a4e9 100644 --- a/arch/x86_64/arch/drivers/lapic.hpp +++ b/arch/x86_64/arch/drivers/cpu/lapic.hpp @@ -14,7 +14,7 @@ #include <cstdint> #include <string_view> -namespace arch::drivers +namespace arch::drivers::cpu { //! The driver for a core-local interrupt controller (local APIC). diff --git a/arch/x86_64/arch/drivers/init.cpp b/arch/x86_64/arch/drivers/init.cpp index 0027336b..19f45829 100644 --- a/arch/x86_64/arch/drivers/init.cpp +++ b/arch/x86_64/arch/drivers/init.cpp @@ -1,6 +1,6 @@ #include <arch/drivers/init.hpp> -#include <arch/drivers/lapic.hpp> +#include <arch/drivers/cpu/lapic.hpp> #include <arch/drivers/pit.hpp> #include <kapi/devices.hpp> @@ -23,7 +23,7 @@ namespace arch::drivers auto & driver_registry = kapi::devices::driver_registry::get(); driver_registry.add(kstd::make_shared<pit>(pit_frequency_in_hz)); - driver_registry.add(kstd::make_shared<lapic>()); + driver_registry.add(kstd::make_shared<cpu::lapic>()); } } // namespace arch::drivers |
