Function report |
Source Code:kernel\irq\manage.c |
Create Date:2022-07-28 10:09:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:setup_irq_thread
Proto:static int setup_irq_thread(struct irqaction *new, unsigned int irq, bool secondary)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct irqaction * | new | |
unsigned int | irq | |
bool | secondary |
1221 | struct sched_param param = {sched_priority = Maximum user real-time process priority / 2, } |
1225 | If Not secondary Then |
1226 | t = Create kernel thread(Interrupt handler thread, new, "irq/%d-%s", irq, name) |
1228 | Else |
1229 | t = Create kernel thread(Interrupt handler thread, new, "irq/%d-s-%s", irq, name) |
1231 | sched_priority -= 1 |
1244 | thread = get_task_struct(t) |
1255 | Return 0 |
Name | Describe |
---|---|
__setup_irq | register an interrupt |
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 |