Searched refs:IrqFlagsGuard (Results 1 – 5 of 5) sorted by relevance
16 unsafe fn save_and_disable_irq() -> IrqFlagsGuard; in save_and_disable_irq()52 pub struct IrqFlagsGuard { struct56 impl IrqFlagsGuard { implementation65 IrqFlagsGuard { flags } in new()68 impl Drop for IrqFlagsGuard { implementation
10 use crate::exception::{InterruptArch, IrqFlags, IrqFlagsGuard};49 unsafe fn save_and_disable_irq() -> IrqFlagsGuard { in save_and_disable_irq()53 let guard = IrqFlagsGuard::new(flags); in save_and_disable_irq()
48 let irq_guard: crate::exception::IrqFlagsGuard = in nanosleep()
57 - feature: 替换 local_irq_save 为 IrqFlagsGuard 实现 (#317)258 替换 local_irq_save 为 IrqFlagsGuard 实现 (#317)
59 - irq: 新增IrqArch抽象。以及IrqFlagsGuard。以简化关中断-恢复中断的过程 (#253)