Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是我的问题。手册说:“当内核收到中断时,所有注册的处理程序都会被调用。” 我想知道是否有任何规则,指定调用处理程序的顺序?
核函数request_irq调用setup_irq(in kernel/irq/manage.c)。它们按照与 IRQ 关联的顺序链接。也就是说,每个 ISR 都被添加到列表的末尾。
request_irq
setup_irq
kernel/irq/manage.c