Searched refs:IrqFlagsGuard (Results 1 – 3 of 3) sorted by relevance
15 unsafe fn save_and_disable_irq() -> IrqFlagsGuard; in save_and_disable_irq()51 pub struct IrqFlagsGuard { struct55 impl IrqFlagsGuard { implementation64 IrqFlagsGuard { flags } in new()67 impl Drop for IrqFlagsGuard { implementation
7 use crate::exception::{InterruptArch, IrqFlags, IrqFlagsGuard};46 unsafe fn save_and_disable_irq() -> IrqFlagsGuard { in save_and_disable_irq()51 let guard = IrqFlagsGuard::new(flags); in save_and_disable_irq()
59 - irq: 新增IrqArch抽象。以及IrqFlagsGuard。以简化关中断-恢复中断的过程 (#253)