Function report |
Source Code:kernel\irq\manage.c |
Create Date:2022-07-28 10:09:34 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Interrupt handler thread
Proto:static int irq_thread(void *data)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
void * | data |
1064 | desc = Interrupt to descriptor |
1065 | irqreturn_t( * handler_fn)(struct irq_desc * desc, struct irqaction * action) |
1071 | Else handler_fn = Interrupts explicitly requested as threaded interrupts want to be* preemtible - many of them need to sleep and wait for slow busses to* complete. |
1074 | init_task_work( & on_exit_work, irq_thread_dtor) |
1077 | irq_thread_check_affinity(desc, action) |
1079 | When Not irq_wait_for_interrupt(action) cycle |
1082 | irq_thread_check_affinity(desc, action) |
1084 | action_ret = handler_fn(desc, action) |
1085 | If action_ret == IRQ_WAKE_THREAD Then irq_wake_secondary(desc, action) |
1088 | wake_threads_waitq(desc) |
1098 | Return 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |