Home
last modified time | relevance | path

Searched defs:IrqCommonMsg (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci_irq.rs74 pub struct IrqCommonMsg { struct
75 irq_index: u16, //要install的中断号在PCI设备中的irq_vector的index
76 irq_name: CString, //中断名
77 irq_parameter: u16, //中断额外参数,可传入中断处理函
78 irq_hander: unsafe extern "C" fn(irq_num: ul, parameter: ul, regs: *mut pt_regs), // 中断处理函
79 …ption<unsafe extern "C" fn(irq_num: ul)>, // 中断的ack,可为None,若为None则中断处理中会正常通知中断结束,不为None则调用传入的函数行回复