pub fn enable_irq(irq: IrqNumber) -> KernelResult<()>Expand description
Enable an IRQ line on the hardware interrupt controller.
Delegates to the architecture-specific controller:
- x86_64: unmasks the IRQ in the I/O APIC
- AArch64: enables the interrupt in the GIC distributor
- RISC-V: enables the interrupt source in the PLIC
§Errors
KernelError::NotInitializedif the interrupt controller has not been initialized.