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