aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dmar.h
diff options
context:
space:
mode:
authorSuresh Siddha <suresh.b.siddha@intel.com>2008-07-10 14:16:44 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-12 02:44:54 -0400
commitb6fcb33ad6c05f152a672f7c96c1fab006527b80 (patch)
tree9926a4914b7d929f31794315dc21768f38c3628e /include/linux/dmar.h
parent2ae21010694e56461a63bfc80e960090ce0a5ed9 (diff)
x64, x2apic/intr-remap: routines managing Interrupt remapping table entries.
Routines handling the management of interrupt remapping table entries. Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Cc: akpm@linux-foundation.org Cc: arjan@linux.intel.com Cc: andi@firstfloor.org Cc: ebiederm@xmission.com Cc: jbarnes@virtuousgeek.org Cc: steiner@sgi.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/dmar.h')
-rw-r--r--include/linux/dmar.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/dmar.h b/include/linux/dmar.h
index 8a0238dd2c11..324bbca85a26 100644
--- a/include/linux/dmar.h
+++ b/include/linux/dmar.h
@@ -98,7 +98,19 @@ struct irte {
98 __u64 high; 98 __u64 high;
99 }; 99 };
100}; 100};
101extern int get_irte(int irq, struct irte *entry);
102extern int modify_irte(int irq, struct irte *irte_modified);
103extern int alloc_irte(struct intel_iommu *iommu, int irq, u16 count);
104extern int set_irte_irq(int irq, struct intel_iommu *iommu, u16 index,
105 u16 sub_handle);
106extern int map_irq_to_irte_handle(int irq, u16 *sub_handle);
107extern int clear_irte_irq(int irq, struct intel_iommu *iommu, u16 index);
108extern int flush_irte(int irq);
109extern int free_irte(int irq);
110
111extern int irq_remapped(int irq);
101#else 112#else
113#define irq_remapped(irq) (0)
102#define enable_intr_remapping(mode) (-1) 114#define enable_intr_remapping(mode) (-1)
103#define intr_remapping_enabled (0) 115#define intr_remapping_enabled (0)
104#endif 116#endif