mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:27:43 +00:00
Kernel: Detect devices when enumerating the PCI bus
Instead of making each driver to enumerate the PCI bus itself, PCI::Initializer will call detect_devices() to do one enumeration of the bus.
This commit is contained in:
parent
60715695b2
commit
583e9ad372
10 changed files with 64 additions and 50 deletions
|
@ -39,10 +39,11 @@ public:
|
|||
static void dismiss();
|
||||
|
||||
private:
|
||||
void detect_devices();
|
||||
~Initializer();
|
||||
Initializer();
|
||||
bool test_acpi();
|
||||
bool test_pci_io();
|
||||
bool test_pci_mmio();
|
||||
void initialize_pci_mmio_access_after_test();
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue