aboutsummaryrefslogtreecommitdiff
path: root/hw/ioapic.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-10-07 09:19:35 +0200
committerBlue Swirl <blauwirbel@gmail.com>2011-10-16 11:10:48 +0000
commitb881fbe9f7a60ceaef20b7a234c49473d009bf4d (patch)
treeaaa660e442e54b245389a8237e10bfe3aa7a216b /hw/ioapic.h
parent2e9947d2eaf1e9cbeb22ff15064bc70e7c9afe1e (diff)
downloadqemu-b881fbe9f7a60ceaef20b7a234c49473d009bf4d.zip
qemu-b881fbe9f7a60ceaef20b7a234c49473d009bf4d.tar.gz
qemu-b881fbe9f7a60ceaef20b7a234c49473d009bf4d.tar.bz2
pc: Generalize ISA IRQs to GSIs
The ISA bus IRQ range is 0..15. What isa_irq_handler and IsaIrqState are actually dealing with are the Global System Interrupts. Refactor the code to clarify this. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/ioapic.h')
-rw-r--r--hw/ioapic.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/ioapic.h b/hw/ioapic.h
index cb2642a..86e63da 100644
--- a/hw/ioapic.h
+++ b/hw/ioapic.h
@@ -17,4 +17,11 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef HW_IOAPIC_H
+#define HW_IOAPIC_H
+
+#define IOAPIC_NUM_PINS 24
+
void ioapic_eoi_broadcast(int vector);
+
+#endif /* !HW_IOAPIC_H */