From 7e382391f32b1133c646a0184e2f426dbfc9f1d9 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Wed, 29 Jul 2026 08:22:12 +0200 Subject: kernel: improve minor number allocation --- arch/x86_64/CMakeLists.txt | 2 +- arch/x86_64/kapi/devices.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'arch/x86_64') diff --git a/arch/x86_64/CMakeLists.txt b/arch/x86_64/CMakeLists.txt index 30c84b16..19022b5f 100644 --- a/arch/x86_64/CMakeLists.txt +++ b/arch/x86_64/CMakeLists.txt @@ -51,7 +51,7 @@ target_sources("x86_64" PRIVATE # Drivers "arch/drivers/init.cpp" - "arch/drivers/lapic.cpp" + "arch/drivers/cpu/lapic.cpp" "arch/drivers/pit.cpp" # Memory management diff --git a/arch/x86_64/kapi/devices.cpp b/arch/x86_64/kapi/devices.cpp index 62754f08..eb84bc1f 100644 --- a/arch/x86_64/kapi/devices.cpp +++ b/arch/x86_64/kapi/devices.cpp @@ -46,8 +46,8 @@ namespace kapi::devices kapi::devices::get_root_bus()->add_child(cpu_bus); - cpu_bus = kstd::make_shared(); - cpu_bus->facet()->enumerate(*cpu_bus); + // cpu_bus = kstd::make_shared(); + // cpu_bus->facet()->enumerate(*cpu_bus); } } // namespace kapi::devices \ No newline at end of file -- cgit v1.2.3