bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH gnumach] i386/irq: Add missing enumeration for high interrupts


From: Damien Zammit
Subject: [PATCH gnumach] i386/irq: Add missing enumeration for high interrupts
Date: Sat, 28 Dec 2024 04:20:23 +0000

Because we support up to 64 irqs with 2 IOAPICs.

---
 i386/i386/irq.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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
-- 
2.45.2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]