Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/arch/riscv64/interrupt/
Dmod.rs33 riscv::register::sstatus::read().sie() in is_irq_enabled()
37 let sie = riscv::register::sstatus::read().sie(); in save_and_disable_irq() localVariable
38 IrqFlagsGuard::new(IrqFlags::new(sie.into())) in save_and_disable_irq()
42 let sie: bool = flags.flags() != 0; in restore_irq() localVariable
43 if sie { in restore_irq()
/DragonOS-0.1.9/kernel/src/driver/irqchip/
Driscv_intc.rs37 unsafe { riscv::register::sie::clear_bits(1 << irq.hardware_irq().data()) }; in irq_mask()
42 unsafe { riscv::register::sie::set_bits(1 << irq.hardware_irq().data()) }; in irq_unmask()