amd iommu: add 2 helper functions: iommu_is_pte_present and iommu_next_level
authorWei Wang <wei.wang2@amd.com>
Tue, 11 Sep 2012 12:00:04 +0000 (14:00 +0200)
committerWei Wang <wei.wang2@amd.com>
Tue, 11 Sep 2012 12:00:04 +0000 (14:00 +0200)
commit1bb26ca6e29f05b6595261676ce94a094ea13cca
treefacf5bb68135de5909cc8bfc9783e82bb6b682d3
parent9b1195b8cc41a2fc93a87ca75c06da6f5f8e7dcc
amd iommu: add 2 helper functions: iommu_is_pte_present and iommu_next_level

Signed-off-by: Wei Wang <wei.wang2@amd.com>
Committed-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/passthrough/amd/iommu_map.c
xen/drivers/passthrough/amd/pci_amd_iommu.c
xen/include/asm-x86/hvm/svm/amd-iommu-proto.h