⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

unregister_handler

Function unregister_handler 

Source
pub fn unregister_handler(irq: IrqNumber) -> KernelResult<()>
Expand description

Unregister the IRQ handler for the given interrupt number.

§Errors

  • KernelError::NotInitialized if the IRQ manager has not been initialized.
  • KernelError::NotFound if no handler is registered for this IRQ.