diff options
Diffstat (limited to 'include/asm-x86/io_apic.h')
| -rw-r--r-- | include/asm-x86/io_apic.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/asm-x86/io_apic.h b/include/asm-x86/io_apic.h index be62847ab07e..8ec68a50cf10 100644 --- a/include/asm-x86/io_apic.h +++ b/include/asm-x86/io_apic.h | |||
| @@ -107,6 +107,20 @@ struct IO_APIC_route_entry { | |||
| 107 | 107 | ||
| 108 | } __attribute__ ((packed)); | 108 | } __attribute__ ((packed)); |
| 109 | 109 | ||
| 110 | struct IR_IO_APIC_route_entry { | ||
| 111 | __u64 vector : 8, | ||
| 112 | zero : 3, | ||
| 113 | index2 : 1, | ||
| 114 | delivery_status : 1, | ||
| 115 | polarity : 1, | ||
| 116 | irr : 1, | ||
| 117 | trigger : 1, | ||
| 118 | mask : 1, | ||
| 119 | reserved : 31, | ||
| 120 | format : 1, | ||
| 121 | index : 15; | ||
| 122 | } __attribute__ ((packed)); | ||
| 123 | |||
| 110 | #ifdef CONFIG_X86_IO_APIC | 124 | #ifdef CONFIG_X86_IO_APIC |
| 111 | 125 | ||
| 112 | /* | 126 | /* |
| @@ -183,6 +197,12 @@ extern int io_apic_set_pci_routing(int ioapic, int pin, int irq, | |||
| 183 | extern int (*ioapic_renumber_irq)(int ioapic, int irq); | 197 | extern int (*ioapic_renumber_irq)(int ioapic, int irq); |
| 184 | extern void ioapic_init_mappings(void); | 198 | extern void ioapic_init_mappings(void); |
| 185 | 199 | ||
| 200 | #ifdef CONFIG_X86_64 | ||
| 201 | extern int save_mask_IO_APIC_setup(void); | ||
| 202 | extern void restore_IO_APIC_setup(void); | ||
| 203 | extern void reinit_intr_remapped_IO_APIC(int); | ||
| 204 | #endif | ||
| 205 | |||
| 186 | #else /* !CONFIG_X86_IO_APIC */ | 206 | #else /* !CONFIG_X86_IO_APIC */ |
| 187 | #define io_apic_assign_pci_irqs 0 | 207 | #define io_apic_assign_pci_irqs 0 |
| 188 | static const int timer_through_8259 = 0; | 208 | static const int timer_through_8259 = 0; |
