Kernel/SysFS: Add PCI exposed folder

This commit is contained in:
Liav A 2021-05-27 22:03:26 +03:00 committed by Andreas Kling
commit 1baa05d6b2
Notes: sideshowbarker 2024-07-18 11:16:41 +09:00
4 changed files with 128 additions and 4 deletions

View file

@ -51,6 +51,8 @@ UNMAP_AFTER_INIT void initialize()
VERIFY_NOT_REACHED();
}
PCI::BusExposedFolder::initialize();
PCI::enumerate([&](const Address& address, ID id) {
dmesgln("{} {}", address, id);
});