Changes in kernel/arch/amd64/src/interrupt.c [4b0206c:9bf4488] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/interrupt.c
r4b0206c r9bf4488 34 34 35 35 #include <arch/interrupt.h> 36 #include <assert.h> 36 37 #include <print.h> 37 38 #include <log.h> 38 #include <debug.h>39 39 #include <panic.h> 40 40 #include <arch/drivers/i8259.h> … … 175 175 static void irq_interrupt(unsigned int n, istate_t *istate) 176 176 { 177 ASSERT(n >= IVT_IRQBASE);177 assert(n >= IVT_IRQBASE); 178 178 179 179 unsigned int inum = n - IVT_IRQBASE; 180 180 bool ack = false; 181 ASSERT(inum < IRQ_COUNT);182 ASSERT((inum != IRQ_PIC_SPUR) && (inum != IRQ_PIC1));181 assert(inum < IRQ_COUNT); 182 assert((inum != IRQ_PIC_SPUR) && (inum != IRQ_PIC1)); 183 183 184 184 irq_t *irq = irq_dispatch_and_lock(inum);
Note:
See TracChangeset
for help on using the changeset viewer.