甜美刺猬

文章
11
资源
0
加入时间
3年2月3天

Linux interrupt一、linux中中断的实现二、中断号三、中断的标志四、中断源对应的中断服务程序五、中断服务程序与原子上下文六、等待队列七、源码

一、linux中中断的实现#include <linux/interrupt.h>linux系统针对底层的中断处理过程做了封装,使用linux提供函数,可以实现中断的响应和处理。1. 申请中断int __must_check request_irq(unsigned int irq, irq_handler_t handler, unsigned long flags, const char *name, void *dev)参数说明:unsigned int