Commit 564c7c0
committed
refactor: add top-level device manager
PCIe spec mandates that software can access the configuration space of
PCIe devices both via MMIO and Port IO accesses. As a result, PCIe
devices will need to register to both buses (on x86).
Change the organization of devices, so that MMIO and PIO device managers
do not own the buses. Instead, introduce a DeviceManager object which
holds the buses, the resource allocator and includes also all types of
device managers (at the moment MMIO, PIO and ACPI).
Signed-off-by: Babis Chalios <[email protected]>1 parent 8db6954 commit 564c7c0
File tree
12 files changed
+772
-512
lines changed- src/vmm
- src
- acpi
- arch
- aarch64
- x86_64
- device_manager
- tests
12 files changed
+772
-512
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments