From 36248bb63a396dfea762d5b2cf028bf4b7a2b62e Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Tue, 28 Jul 2026 13:09:08 +0200 Subject: x86_64: split lapic according to UDM --- kernel/kapi/devices/cpu.cpp | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 kernel/kapi/devices/cpu.cpp (limited to 'kernel/kapi/devices/cpu.cpp') diff --git a/kernel/kapi/devices/cpu.cpp b/kernel/kapi/devices/cpu.cpp deleted file mode 100644 index daba34a8..00000000 --- a/kernel/kapi/devices/cpu.cpp +++ /dev/null @@ -1,38 +0,0 @@ -#include - -#include - -#include - -#include - -namespace kapi::devices -{ - - cpu::core::core(std::uint64_t index, std::uint64_t hardware_id, bool is_bsp) - : kapi::devices::bus{kstd::format("cpu_core{}", index)} - , m_index{index} - , m_hardware_id{hardware_id} - , m_is_bsp{is_bsp} - {} - - auto cpu::core::index() const noexcept -> std::uint64_t - { - return m_index; - } - - auto cpu::core::hardware_id() const -> std::uint64_t - { - return m_hardware_id; - } - - auto cpu::core::is_bsp() const -> bool - { - return m_is_bsp; - } - - cpu::cpu() - : kapi::devices::bus{"cpu"} - {} - -} // namespace kapi::devices \ No newline at end of file -- cgit v1.2.3