Changes in kernel/arch/ia32/src/interrupt.c [33f86a3:4b0206c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/interrupt.c
r33f86a3 r4b0206c 34 34 35 35 #include <arch/interrupt.h> 36 #include <assert.h>37 36 #include <syscall/syscall.h> 38 37 #include <print.h> … … 85 84 86 85 printf("esi=%0#10" PRIx32 "\tedi=%0#10" PRIx32 "\t" 87 "ebp=%0#10" PRIx32 "\tesp=%0#10" PRIx n"\n",86 "ebp=%0#10" PRIx32 "\tesp=%0#10" PRIx32 "\n", 88 87 istate->esi, istate->edi, istate->ebp, 89 88 istate_from_uspace(istate) ? istate->esp : … … 184 183 static void irq_interrupt(unsigned int n, istate_t *istate __attribute__((unused))) 185 184 { 186 assert(n >= IVT_IRQBASE);185 ASSERT(n >= IVT_IRQBASE); 187 186 188 187 unsigned int inum = n - IVT_IRQBASE; 189 188 bool ack = false; 190 assert(inum < IRQ_COUNT);191 assert((inum != IRQ_PIC_SPUR) && (inum != IRQ_PIC1));189 ASSERT(inum < IRQ_COUNT); 190 ASSERT((inum != IRQ_PIC_SPUR) && (inum != IRQ_PIC1)); 192 191 193 192 irq_t *irq = irq_dispatch_and_lock(inum);
Note:
See TracChangeset
for help on using the changeset viewer.