diff options
Diffstat (limited to 'include/asm-x86/io_apic.h')
-rw-r--r-- | include/asm-x86/io_apic.h | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/include/asm-x86/io_apic.h b/include/asm-x86/io_apic.h index dc0f55f2b034..8b1f5684842e 100644 --- a/include/asm-x86/io_apic.h +++ b/include/asm-x86/io_apic.h | |||
@@ -121,21 +121,32 @@ extern int nr_ioapic_registers[MAX_IO_APICS]; | |||
121 | 121 | ||
122 | #define MP_MAX_IOAPIC_PIN 127 | 122 | #define MP_MAX_IOAPIC_PIN 127 |
123 | 123 | ||
124 | struct mp_ioapic_routing { | 124 | struct mp_config_ioapic { |
125 | int apic_id; | 125 | unsigned long mp_apicaddr; |
126 | int gsi_base; | 126 | unsigned int mp_apicid; |
127 | int gsi_end; | 127 | unsigned char mp_type; |
128 | DECLARE_BITMAP(pin_programmed, MP_MAX_IOAPIC_PIN + 1); | 128 | unsigned char mp_apicver; |
129 | unsigned char mp_flags; | ||
130 | }; | ||
131 | |||
132 | struct mp_config_intsrc { | ||
133 | unsigned int mp_dstapic; | ||
134 | unsigned char mp_type; | ||
135 | unsigned char mp_irqtype; | ||
136 | unsigned short mp_irqflag; | ||
137 | unsigned char mp_srcbus; | ||
138 | unsigned char mp_srcbusirq; | ||
139 | unsigned char mp_dstirq; | ||
129 | }; | 140 | }; |
130 | 141 | ||
131 | /* I/O APIC entries */ | 142 | /* I/O APIC entries */ |
132 | extern struct mpc_config_ioapic mp_ioapics[MAX_IO_APICS]; | 143 | extern struct mp_config_ioapic mp_ioapics[MAX_IO_APICS]; |
133 | 144 | ||
134 | /* # of MP IRQ source entries */ | 145 | /* # of MP IRQ source entries */ |
135 | extern int mp_irq_entries; | 146 | extern int mp_irq_entries; |
136 | 147 | ||
137 | /* MP IRQ source entries */ | 148 | /* MP IRQ source entries */ |
138 | extern struct mpc_config_intsrc mp_irqs[MAX_IRQ_SOURCES]; | 149 | extern struct mp_config_intsrc mp_irqs[MAX_IRQ_SOURCES]; |
139 | 150 | ||
140 | /* non-0 if default (table-less) MP configuration */ | 151 | /* non-0 if default (table-less) MP configuration */ |
141 | extern int mpc_default_type; | 152 | extern int mpc_default_type; |