Lines Matching refs:vector
30 static void rt_hw_interrupt_handle(int vector, void *param) in rt_hw_interrupt_handle() argument
32 rt_kprintf("Unhandled interrupt %d occured!!!\n", vector); in rt_hw_interrupt_handle()
83 void rt_hw_interrupt_mask(int vector) in rt_hw_interrupt_mask() argument
85 *(RP)(INTC_IMR) |= 1 << vector; in rt_hw_interrupt_mask()
92 void rt_hw_interrupt_umask(int vector) in rt_hw_interrupt_umask() argument
94 if(vector == 16) in rt_hw_interrupt_umask()
96 rt_kprintf("Interrupt vec %d is not used!\n", vector); in rt_hw_interrupt_umask()
99 *(RP)(INTC_IMR) &= ~(1 << vector); in rt_hw_interrupt_umask()
109 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument
114 if(vector < MAX_HANDLERS) in rt_hw_interrupt_install()
116 old_handler = isr_table[vector].handler; in rt_hw_interrupt_install()
121 rt_strncpy(isr_table[vector].name, name, RT_NAME_MAX); in rt_hw_interrupt_install()
123 isr_table[vector].handler = handler; in rt_hw_interrupt_install()
124 isr_table[vector].param = param; in rt_hw_interrupt_install()