#include <kernel.h>
#include <mips.h>
#include <interrupt.h>
Go to the source code of this file.
Functions | |
void | xtrap (long cause, long *frame) |
Variables | |
char * | trap_names [] |
char * | irq_names [] |
Definition in file xtrap.c.
void xtrap | ( | long | cause, | |
long * | frame | |||
) |
Generic XINU Trap (Interrupt) Handler.
cause | the contents of the cause register used to decode the trap | |
frame | pointer to the interrupt frame with saved status |
Definition at line 68 of file xtrap.c.
References interruptVector, irq_names, IRQREC_A0, IRQREC_A1, IRQREC_A2, IRQREC_A3, IRQREC_AT, IRQREC_CAUSE, IRQREC_EPC, IRQREC_FP, IRQREC_GP, IRQREC_HI, IRQREC_K0, IRQREC_K1, IRQREC_LO, IRQREC_RA, IRQREC_S0, IRQREC_S1, IRQREC_S2, IRQREC_S3, IRQREC_S4, IRQREC_S5, IRQREC_S6, IRQREC_S7, IRQREC_SP, IRQREC_STATUS, IRQREC_T0, IRQREC_T1, IRQREC_T2, IRQREC_T3, IRQREC_T4, IRQREC_T5, IRQREC_T6, IRQREC_T7, IRQREC_T8, IRQREC_T9, IRQREC_V0, IRQREC_V1, IRQREC_ZER, kprintf(), NULL, and trap_names.
char* irq_names[] |
Initial value:
{ "Software interrupt request 0", "Software interrupt request 1", "Hardware interrupt request 0, eth1", "Hardware interrupt request 1, UART", "Hardware interrupt request 2, eth0", "Hardware interrupt request 3", "Hardware interrupt request 4", "Hardware interrupt request 5, Timer" }
Definition at line 49 of file xtrap.c.
Referenced by xtrap().
char* trap_names[] |