1. Linux2.6中断数据结构:
extern struct irq_desc irq_desc[NR_IRQS]; //中断描述符表
struct irqaction {
irq_handler_t handler;//中断注册函数
unsigned long flags;
cpumask_t mask;
const char *name;
void *dev_id;
s
1. Linux2.6中断数据结构:
extern struct irq_desc irq_desc[NR_IRQS]; //中断描述符表
struct irqaction {
irq_handler_t handler;//中断注册函数
unsigned long flags;
cpumask_t mask;
const char *name;
void *dev_id;
s