Searched refs:sie (Results 1 – 2 of 2) sorted by relevance
33 riscv::register::sstatus::read().sie() in is_irq_enabled()37 let sie = riscv::register::sstatus::read().sie(); in save_and_disable_irq() localVariable38 IrqFlagsGuard::new(IrqFlags::new(sie.into())) in save_and_disable_irq()42 let sie: bool = flags.flags() != 0; in restore_irq() localVariable43 if sie { in restore_irq()
37 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()