Kernel/PCI: Move IO based HostBridge code to x86 arch-specific directory

The simple PCI::HostBridge class implements access to the PCI
configuration space by using x86 IO instructions. Therefore, it should
be put in the Arch/x86/PCI directory so it can be easily omitted for
non-x86 builds.
This commit is contained in:
Liav A 2022-09-02 13:41:48 +03:00 committed by Linus Groh
commit 1596ee241f
Notes: sideshowbarker 2024-07-17 10:16:43 +09:00
9 changed files with 113 additions and 90 deletions

View file

@ -17,7 +17,7 @@ NonnullOwnPtr<MemoryBackedHostBridge> MemoryBackedHostBridge::must_create(Domain
}
MemoryBackedHostBridge::MemoryBackedHostBridge(PCI::Domain const& domain, PhysicalAddress start_address)
: HostBridge(domain)
: HostController(domain)
, m_start_address(start_address)
{
}