Expand description
Interrupt management system
This module provides a comprehensive interrupt management system for the Scarlet kernel. It supports both local interrupts (via CLINT) and external interrupts (via PLIC) on RISC-V architecture.
Modules§
- controllers
- Interrupt controller trait definitions
Structs§
- Interrupt
Handle - Handle for managing interrupt processing
- Interrupt
Manager - Unified interrupt manager
Enums§
- Interrupt
Error - Errors that can occur during interrupt management
Functions§
- are_
interrupts_ enabled - Check if interrupts are currently enabled
- disable_
interrupts - Disable interrupts globally
- enable_
interrupts - Enable interrupts globally
- with_
interrupts_ disabled - Execute a closure with interrupts disabled
Type Aliases§
- CpuId
- CPU ID type
- External
Interrupt Handler - Handler function type for external interrupts
- Interrupt
Id - Interrupt ID type
- Interrupt
Result - Result type for interrupt operations
- Local
Interrupt Handler - Handler function type for local interrupts (timer, software)
- Priority
- Priority level for interrupts