Skip to main content Skip to main content
Pigweed's logo Pigweed
code_xml
  1. Home
  2. Reference
  3. Rust
  4. pw_kernel
  5. syscall_defs
  6. interrupt_ack

interrupt_ack

Function interrupt_ack 

Source
pub unsafe extern "C" fn interrupt_ack(
    object_handle: u32,
    signal_mask: Signals,
) -> isize
Expand description

Acknowledges the signaled interrupts allowing them to be signaled again.

This must be called by the interrupt handler after processing the interrupts received via an interrupt object. It signals to the underlying interrupt controller that the interrupt handling is complete and can be signaled again.

§Returns

  • 0: On success.
  • Error::InvalidArgument: object_handle is not a valid Interrupt object, or the signal_mask is invalid.