aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-07-29 08:22:12 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-07-29 08:22:12 +0200
commit7e382391f32b1133c646a0184e2f426dbfc9f1d9 (patch)
tree4230aabf844e3b09348eda4f75bacd9807fe7f5a /arch/x86_64
parent044083a8d5b3fe94c4b9f9b066f25c81915fd4c1 (diff)
downloadkernel-7e382391f32b1133c646a0184e2f426dbfc9f1d9.tar.xz
kernel-7e382391f32b1133c646a0184e2f426dbfc9f1d9.zip
kernel: improve minor number allocation
Diffstat (limited to 'arch/x86_64')
-rw-r--r--arch/x86_64/CMakeLists.txt2
-rw-r--r--arch/x86_64/kapi/devices.cpp4
2 files changed, 3 insertions, 3 deletions
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<arch::bus::cpu>();
- cpu_bus->facet<kapi::devices::bus_protocol>()->enumerate(*cpu_bus);
+ // cpu_bus = kstd::make_shared<arch::bus::cpu>();
+ // cpu_bus->facet<kapi::devices::bus_protocol>()->enumerate(*cpu_bus);
}
} // namespace kapi::devices \ No newline at end of file