camkes-vm
camkes-vm copied to clipboard
vm_arm: move vpci code to dedicated module
This PR is on top of https://github.com/seL4/camkes-vm/pull/73 and uses the DTB generation refactoring to move the vpci support imto a dedicate module.
I'm working on generalizing that cross-VM connector. My intention is to support mapping as RAM and providing MMIO-style interface in addition to that PCI interface. So perhaps crossvm.c
should not depend on PCI support that hard.
I'm working on generalizing that cross-VM connector. My intention is to support mapping as RAM and providing MMIO-style interface in addition to that PCI interface. So perhaps
crossvm.c
should not depend on PCI support that hard.
It would take another PR for this file to relax the dependency then. At the moment that seem a big practical dependency, that is why I made this change.
After some more refactoring, making a VPCI module seems not really useful, as this would be just a wrapper around the vPCI helper coede in libsel4vmmplatsupport
then. The refactoring seem an improvement, though.