Changes in kernel/arch/mips32/src/exception.c [5d97627:bab75df6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/exception.c
r5d97627 rbab75df6 47 47 #include <symtab.h> 48 48 #include <log.h> 49 #include <arch/machine_func.h>50 49 51 50 static const char *exctable[] = { … … 175 174 176 175 unsigned int i; 177 for (i = 0; i < MIPS_INTERRUPTS; i++) {176 for (i = 0; i < 8; i++) { 178 177 179 178 /* … … 184 183 */ 185 184 if (im & ip & (1 << i)) { 186 if (int_handler[i]) 187 int_handler[i](i); 188 else { 185 irq_t *irq = irq_dispatch_and_lock(i); 186 if (irq) { 187 /* 188 * The IRQ handler was found. 189 */ 190 irq->handler(irq); 191 irq_spinlock_unlock(&irq->lock, false); 192 } else { 189 193 /* 190 194 * Spurious interrupt.
Note:
See TracChangeset
for help on using the changeset viewer.