diff options
author | Suresh Siddha <suresh.b.siddha@intel.com> | 2008-07-10 14:16:44 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-12 02:44:54 -0400 |
commit | b6fcb33ad6c05f152a672f7c96c1fab006527b80 (patch) | |
tree | 9926a4914b7d929f31794315dc21768f38c3628e /include/linux/dmar.h | |
parent | 2ae21010694e56461a63bfc80e960090ce0a5ed9 (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.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/dmar.h b/include/linux/dmar.h index 8a0238dd2c1..324bbca85a2 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 | }; |
101 | extern int get_irte(int irq, struct irte *entry); | ||
102 | extern int modify_irte(int irq, struct irte *irte_modified); | ||
103 | extern int alloc_irte(struct intel_iommu *iommu, int irq, u16 count); | ||
104 | extern int set_irte_irq(int irq, struct intel_iommu *iommu, u16 index, | ||
105 | u16 sub_handle); | ||
106 | extern int map_irq_to_irte_handle(int irq, u16 *sub_handle); | ||
107 | extern int clear_irte_irq(int irq, struct intel_iommu *iommu, u16 index); | ||
108 | extern int flush_irte(int irq); | ||
109 | extern int free_irte(int irq); | ||
110 | |||
111 | extern 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 |