aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/iommu.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-08-13 14:58:06 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-08-13 14:58:06 +0100
commit88616ac08c303ae20a55fcd8f6e2882af9e43175 (patch)
tree585f9411087890e001ed49ee54fadf96c52b8bfa /xen/include/xen/iommu.h
parent01420271f83ad1ef64194bb022954ee443995b34 (diff)
downloadxen-88616ac08c303ae20a55fcd8f6e2882af9e43175.tar.gz
xen-88616ac08c303ae20a55fcd8f6e2882af9e43175.tar.bz2
xen-88616ac08c303ae20a55fcd8f6e2882af9e43175.zip
x2APIC: Improve x2APIC suspend/resume
x2apic depends on interrupt remapping, so it should disable interrupt remapping behind x2apic disabling. And also this patch wraps __enable_x2apic to get rid of duplicated code. Signed-off-by: Weidong Han <weidong.han@intel.com>
Diffstat (limited to 'xen/include/xen/iommu.h')
-rw-r--r--xen/include/xen/iommu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/xen/iommu.h b/xen/include/xen/iommu.h
index a5ab59dddb..8b4e7a55be 100644
--- a/xen/include/xen/iommu.h
+++ b/xen/include/xen/iommu.h
@@ -59,6 +59,7 @@ struct iommu {
int iommu_setup(void);
int iommu_supports_eim(void);
int iommu_enable_IR(void);
+void iommu_disable_IR(void);
int intremap_enabled(void);
int iommu_add_device(struct pci_dev *pdev);