aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/iommu.h
diff options
context:
space:
mode:
authorAllen Kay <allen.m.kay@intel.com>2011-04-02 15:49:25 +0100
committerAllen Kay <allen.m.kay@intel.com>2011-04-02 15:49:25 +0100
commit0be477c900b73d6a2d7cceb0cded9df0d48179f2 (patch)
treefe6b1ce9708d47c95e5b892b6c27943d849e1174 /xen/include/xen/iommu.h
parent9da48f2428c5970f0350c74e07c4ca479d3fa06d (diff)
downloadxen-0be477c900b73d6a2d7cceb0cded9df0d48179f2.tar.gz
xen-0be477c900b73d6a2d7cceb0cded9df0d48179f2.tar.bz2
xen-0be477c900b73d6a2d7cceb0cded9df0d48179f2.zip
[VTD] check BIOS settings before enabling interrupt remapping or x2apic
Check flags field in ACPI DMAR structure before enabling interrupt remapping or x2apic. This allows platform vendors to disable interrupt remapping or x2apic features if on board BIOS does not support them. Signed-off-by: Allen Kay <allen.m.kay@intel.com>
Diffstat (limited to 'xen/include/xen/iommu.h')
-rw-r--r--xen/include/xen/iommu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/include/xen/iommu.h b/xen/include/xen/iommu.h
index 4b93c31e38..b7f20ed61f 100644
--- a/xen/include/xen/iommu.h
+++ b/xen/include/xen/iommu.h
@@ -63,8 +63,8 @@ struct iommu {
int iommu_setup(void);
int iommu_supports_eim(void);
-int iommu_enable_IR(void);
-void iommu_disable_IR(void);
+int iommu_enable_x2apic_IR(void);
+void iommu_disable_x2apic_IR(void);
int iommu_add_device(struct pci_dev *pdev);
int iommu_remove_device(struct pci_dev *pdev);