Searched refs:SoftirqVec (Results 1 – 4 of 4) sorted by relevance
/DragonOS-0.1.8/docs/kernel/core_api/ |
D | softirq.md | 9   当我们需要注册一个新的软中断时,需要为软中断处理程序实现`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.8/kernel/src/driver/video/ |
D | mod.rs | 9 exception::softirq::{softirq_vectors, SoftirqNumber, SoftirqVec}, 18 impl SoftirqVec for VideoRefreshFramebuffer {
|
/DragonOS-0.1.8/kernel/src/exception/ |
D | softirq.rs | 96 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.8/kernel/src/time/ |
D | timer.rs | 16 softirq::{softirq_vectors, SoftirqNumber, SoftirqVec}, 165 impl SoftirqVec for DoTimerSoftirq {
|