1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:08:12 +00:00

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
parent 0259781402
commit 1baa05d6b2
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);
});