• Julien Grall's avatar
    iommu: split generic code · 5979e0c9
    Julien Grall authored
    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: default avatarJulien Grall <julien.grall@linaro.org>
    Acked-by: default avatarJan Beulich <jbeulich@suse.com>
iommu.h 1.39 KB