Home
last modified time | relevance | path

Searched refs:RiscVSbiTimer (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/driver/clocksource/
H A Dtimer_riscv.rs30 pub struct RiscVSbiTimer; struct
37 impl RiscVSbiTimer { implementation
89 riscv_intc_hwirq_to_virq(RiscVSbiTimer::TIMER_IRQ).unwrap(), in riscv_sbi_timer_init_local()
100 RiscVSbiTimer::enable(); in riscv_sbi_timer_init_local()
108 let virq = riscv_intc_assicate_irq(RiscVSbiTimer::TIMER_IRQ).unwrap(); in riscv_sbi_timer_irq_desc_init()
135 RiscVSbiTimer::handle_irq(trap_frame).unwrap(); in handle()
/DragonOS/kernel/src/driver/irqchip/
H A Driscv_intc.rs7 driver::clocksource::timer_riscv::{riscv_sbi_timer_irq_desc_init, RiscVSbiTimer},
227 if hwirq.data() == RiscVSbiTimer::TIMER_IRQ.data() { in riscv_intc_irq()