Files | |
file | interrupt.h |
file | interrupt.c |
Defines | |
#define | IVT_ITEMS 40 |
#define | INT_OFFSET 32 |
#define | IRQ_COUNT 8 |
#define | int_register(it, name, handler) exc_register(((it)+INT_OFFSET),name,handler) |
#define | IRQ2 2 |
#define | IRQ3 3 |
#define | IRQ7 7 |
#define | TIMER_IRQ IRQ7 |
Functions | |
void | interrupt_init (void) |
ipl_t | interrupts_disable (void) |
ipl_t | interrupts_enable (void) |
void | interrupts_restore (ipl_t ipl) |
ipl_t | interrupts_read (void) |
static void | timer_start (void) |
static void | timer_exception (int n, istate_t *istate) |
static void | swint0 (int n, istate_t *istate) |
static void | swint1 (int n, istate_t *istate) |
static void | ipc_int (int n, istate_t *istate) |
void | irq_ipc_bind_arch (__native irq) |
Variables | |
static unsigned long | nextcount |
|
Definition at line 41 of file interrupt.h. Referenced by interrupt_exception(), and ipc_int(). |
|
Definition at line 44 of file interrupt.h. Referenced by arc_console(), interrupt_init(), irq_ipc_bind_arch(), msim_console(), msim_kbd_grab(), msim_kbd_release(), and serial_console(). |
|
Definition at line 46 of file interrupt.h. |
|
Definition at line 47 of file interrupt.h. |
|
Definition at line 48 of file interrupt.h. |
|
Definition at line 42 of file interrupt.h. Referenced by ipc_init(), sys_ipc_register_irq(), and sys_ipc_unregister_irq(). |
|
Definition at line 40 of file interrupt.h. |
|
Definition at line 50 of file interrupt.h. Referenced by arc_console(), arch_pre_mm_init(), interrupt_init(), irq_ipc_bind_arch(), and serial_console(). |
|
Definition at line 121 of file interrupt.c. References int_register, swint0(), swint1(), timer_exception(), TIMER_IRQ, and timer_start(). Referenced by arch_pre_mm_init(). Here is the call graph for this function: ![]() |
|
|
Enable interrupts.
Definition at line 60 of file interrupt.c. References cp0_status_ie_enabled_bit. Referenced by cushion(), and find_best_thread(). |
|
Read interrupt priority level.
Definition at line 80 of file interrupt.c. Referenced by thread_create(). |
|
|
Definition at line 129 of file interrupt.c. References INT_OFFSET, and ipc_irq_send_notif(). Referenced by irq_ipc_bind_arch(). Here is the call graph for this function: ![]() |
|
Definition at line 135 of file interrupt.c. References int_register, ipc_int(), and TIMER_IRQ. Referenced by sys_ipc_register_irq(). Here is the call graph for this function: ![]() |
|
Definition at line 108 of file interrupt.c. References ipc_irq_send_notif(). Referenced by interrupt_init(). Here is the call graph for this function: ![]() |
|
Definition at line 114 of file interrupt.c. References ipc_irq_send_notif(). Referenced by interrupt_init(). Here is the call graph for this function: ![]() |
|
Definition at line 94 of file interrupt.c. References clock(), cp0_compare_value, CPU, and nextcount. Referenced by interrupt_init(). Here is the call graph for this function: ![]() |
|
Start hardware clock Definition at line 88 of file interrupt.c. References cp0_compare_value, and nextcount. Referenced by interrupt_init(). |
|
Definition at line 86 of file interrupt.c. Referenced by timer_exception(), and timer_start(). |