Module aster_frame::trap
source · Expand description
Handles trap across kernel and user space.
Re-exports
pub use softirq::SoftIrqLine;
Modules
- Software interrupt.
Structs
- A guard for disabled local IRQs.
- An Interrupt ReQuest(IRQ) line. User can use
alloc
oralloc_specific
to get specific IRQ line. - Trap frame of kernel interrupt
Functions
- Disables all IRQs on the current CPU (i.e., locally).
- Enables all IRQs on the current CPU.
- Returns whether we are in the interrupt context.
Type Aliases
- Type alias for the irq callback function.