Home
last modified time | relevance | path

Searched refs:SoftirqVec (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.7/docs/kernel/core_api/
Dsoftirq.md9   当我们需要注册一个新的软中断时,需要为软中断处理程序实现`SoftirqVec`特征,然后调用`register_softirq`函数,将软中断处理程序注册到软中断机制内。
26 ### 3.1. SoftirqVec特征
29 pub trait SoftirqVec: Send + Sync + Debug {
42 handler: Arc<dyn SoftirqVec>,
50 - hanlder:中断函数对应的结构体,需要指向实现了`SoftirqVec`特征的结构体变量
113 impl SoftirqVec for SoftirqExample {
/DragonOS-0.1.7/kernel/src/driver/video/
Dmod.rs9 exception::softirq::{softirq_vectors, SoftirqNumber, SoftirqVec},
18 impl SoftirqVec for VideoRefreshFramebuffer {
/DragonOS-0.1.7/kernel/src/exception/
Dsoftirq.rs96 pub trait SoftirqVec: Send + Sync + Debug { trait
102 table: RwLock<[Option<Arc<dyn SoftirqVec>>; MAX_SOFTIRQ_NUM as usize]>,
106 let mut data: [MaybeUninit<Option<Arc<dyn SoftirqVec>>>; MAX_SOFTIRQ_NUM as usize] = in new()
113 let data: [Option<Arc<dyn SoftirqVec>>; MAX_SOFTIRQ_NUM as usize] = unsafe { in new()
114 mem::transmute::<_, [Option<Arc<dyn SoftirqVec>>; MAX_SOFTIRQ_NUM as usize]>(data) in new()
130 handler: Arc<dyn SoftirqVec>, in register_softirq() argument
/DragonOS-0.1.7/kernel/src/time/
Dtimer.rs15 exception::softirq::{softirq_vectors, SoftirqNumber, SoftirqVec},
150 impl SoftirqVec for DoTimerSoftirq {