mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:27:44 +00:00
Kernel: Remove PCI information node from ProcFS
The SystemMonitor program was the last client to utilize this node, and now it is not using this node anymore, we can simply remove this for good.
This commit is contained in:
parent
889b9d029e
commit
38bf7863d0
3 changed files with 0 additions and 53 deletions
|
@ -96,7 +96,6 @@ UNMAP_AFTER_INIT bool Access::find_and_register_pci_host_bridges_from_acpi_mcfg_
|
|||
UNMAP_AFTER_INIT bool Access::initialize_for_multiple_pci_domains(PhysicalAddress mcfg_table)
|
||||
{
|
||||
VERIFY(!Access::is_initialized());
|
||||
ProcFSComponentRegistry::the().root_directory().add_pci_node({});
|
||||
auto* access = new Access();
|
||||
if (!access->find_and_register_pci_host_bridges_from_acpi_mcfg_table(mcfg_table))
|
||||
return false;
|
||||
|
@ -108,7 +107,6 @@ UNMAP_AFTER_INIT bool Access::initialize_for_multiple_pci_domains(PhysicalAddres
|
|||
UNMAP_AFTER_INIT bool Access::initialize_for_one_pci_domain()
|
||||
{
|
||||
VERIFY(!Access::is_initialized());
|
||||
ProcFSComponentRegistry::the().root_directory().add_pci_node({});
|
||||
auto* access = new Access();
|
||||
auto host_bridge = HostBridge::must_create_with_io_access();
|
||||
access->add_host_controller(move(host_bridge));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue