iommu: split generic code
The generic IOMMU framework code (xen/drivers/passthrough/iommu.c) contains functions specific to x86 and PCI. Split the framework in 3 distincts files: - iommu.c: contains generic functions shared between x86 and ARM (when it will be supported) - pci.c: contains specific functions for PCI passthrough - x86/iommu.c: contains specific functions for x86 io.c contains x86 HVM specific code. Only compile for x86. This patch is mostly code movement in new files. Signed-off-by:Julien Grall <julien.grall@linaro.org> Acked-by:
Jan Beulich <jbeulich@suse.com>
Showing
This diff is collapsed.
This diff is collapsed.
xen/include/asm-x86/iommu.h
0 → 100644
Please register or sign in to comment