XINU
|
Go to the source code of this file.
Functions | |
int32 | initintc () |
void | irq_dispatch () |
int32 | set_evec (uint32 xnum, uint32 handler) |
void | userret (void) |
プロセスが最上位の関数に戻る時に呼ばれる。現在のプロセスを終了させる。 More... | |
Variables | |
char | expmsg1 [] = "Unhandled exception. Link Register: 0x%x" |
char | expmsg2 [] = "**** EXCEPTION ****" |
uint32 | intc_vector [128] |
int32 initintc | ( | void | ) |
Definition at line 18 of file evec.c.
References INTC_SYSCONFIG_SOFTRESET, INTC_SYSSTATUS_RESETDONE, OK, intc_csreg::sysconfig, and intc_csreg::sysstatus.
Referenced by platinit().
void irq_dispatch | ( | ) |
Definition at line 72 of file evec.c.
References intc_csreg::control, currpid, DEFER_START, DEFER_STOP, disable(), INTC_CONTROL_NEWIRQAGR, intc_vector, kprintf(), panic(), proctab, resched_cntl(), intc_csreg::sir_irq, and trap().
Definition at line 37 of file evec.c.
References intc_csreg::banks, intc_vector, intc_bank::mir, OK, and SYSERR.
Referenced by clkinit(), ethinit(), gpioinit(), and ttyinit().
void userret | ( | void | ) |
uint32 intc_vector[128] |
Definition at line 11 of file evec.c.
Referenced by irq_dispatch(), and set_evec().