Home
last modified time | relevance | path

Searched refs:IrqFlagsGuard (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.7/kernel/src/exception/
Dmod.rs15 unsafe fn save_and_disable_irq() -> IrqFlagsGuard; in save_and_disable_irq()
51 pub struct IrqFlagsGuard { struct
55 impl IrqFlagsGuard { implementation
64 IrqFlagsGuard { flags } in new()
67 impl Drop for IrqFlagsGuard { implementation
/DragonOS-0.1.7/kernel/src/arch/x86_64/interrupt/
Dmod.rs7 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()
/DragonOS-0.1.7/docs/community/ChangeLog/V0.1.x/
DV0.1.7.md59 - irq: 新增IrqArch抽象。以及IrqFlagsGuard。以简化关中断-恢复中断的过程 (#253)