Skip to content

IrqRearm

Unmasks a device's interrupt line after BindIrq() delivered it.

Number Selector Blocking Since
0x08 SVC_MANAGEHANDLE MNGHNDL_IRQ_REARM (6) no 2.0
Err IrqRearm(Handle dev_handle);

Registers: (device) -> r0 status

Clear the interrupt in the device first, or it fires again immediately.

Parameters

Name Direction Description
dev_handle in Device handle with PERM_MAP whose interrupt this space bound.

Returns

ZUZU_OK, or an error code.

Errors

Error Condition
ERR_BADHANDLE dev_handle is not a live handle.
ERR_BADTYPE dev_handle is not a device.
ERR_BADARG The device has no interrupt.
ERR_NOPERM dev_handle lacks PERM_MAP, or this space did not bind the interrupt.