diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-11-28 13:18:02 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-11-28 13:18:02 +0100 |
| commit | fd04934fd00052c23241724a74e1911bd196e8cf (patch) | |
| tree | 8514fbcb088b7b2e9b2b6cb780d24902e1bfb082 /source/kernel/src/entry.cpp | |
| parent | 12ce28c459250334be0eb2583f9007d5da2de699 (diff) | |
| download | kernel-fd04934fd00052c23241724a74e1911bd196e8cf.tar.xz kernel-fd04934fd00052c23241724a74e1911bd196e8cf.zip | |
kernel/devices: init PCI subsystem via device tree
This change ports the PCI subsystem initialization to use the newly
available PCI device-tree implementation. Instead of simply scanning and
reporting the detected devices, pci::init now creates a host-bridge for
each detected PCI segment, and trigger the enumeration of the the newly
created host-bridge via it's bus facet. A host-bridge is always attached
before enumeration. This allow upcoming PCI device drivers to walk the
tree up to the root bus, since a device being matched is already
attached to the live device tree.
Diffstat (limited to 'source/kernel/src/entry.cpp')
0 files changed, 0 insertions, 0 deletions
