diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-07-28 13:38:22 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-07-28 13:38:22 +0200 |
| commit | c2f5b9258b3e151e20452f964d63ade6c6378daa (patch) | |
| tree | 7bf748e09e34d1484a2fdc550995522718f89844 /arch/x86_64/kapi | |
| parent | 36248bb63a396dfea762d5b2cf028bf4b7a2b62e (diff) | |
| download | kernel-c2f5b9258b3e151e20452f964d63ade6c6378daa.tar.xz kernel-c2f5b9258b3e151e20452f964d63ade6c6378daa.zip | |
chore: post refactoring cleanup
Diffstat (limited to 'arch/x86_64/kapi')
| -rw-r--r-- | arch/x86_64/kapi/devices.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86_64/kapi/devices.cpp b/arch/x86_64/kapi/devices.cpp index 04b6fa2d..62754f08 100644 --- a/arch/x86_64/kapi/devices.cpp +++ b/arch/x86_64/kapi/devices.cpp @@ -44,6 +44,8 @@ namespace kapi::devices system::panic("[x86_64:DEV] The CPU topology has already been initialized!"); } + 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); } |
