aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2024-12-28 04:20:23 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-12-29 01:45:32 +0100
commit0bd3b64ff3af9a7c1b65bafb5cbf5189c52dc85a (patch)
tree2f3ab2000aba24a1a27d8deceac48df2acbbae46
parent831ab600e46756d0795e4060813650c391e90dda (diff)
downloadgnumach-0bd3b64ff3af9a7c1b65bafb5cbf5189c52dc85a.tar.gz
gnumach-0bd3b64ff3af9a7c1b65bafb5cbf5189c52dc85a.tar.bz2
gnumach-0bd3b64ff3af9a7c1b65bafb5cbf5189c52dc85a.zip
i386/irq: Add missing enumeration for high interrupts
Because we support up to 64 irqs with 2 IOAPICs. Message-ID: <20241228042008.704671-1-damien@zamaudio.com>
-rw-r--r--i386/i386/irq.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/i386/i386/irq.c b/i386/i386/irq.c
index 3c2f1748..91318f67 100644
--- a/i386/i386/irq.c
+++ b/i386/i386/irq.c
@@ -65,7 +65,9 @@ __enable_irq (irq_t irq_nr)
struct irqdev irqtab = {
"irq", irq_eoi, &main_intr_queue, 0,
#ifdef APIC
- {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23},
+ {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
+ 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
+ 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63},
#else
{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15},
#endif