# Interrupt management

This unit at [drv/sunxi/intr.fs] provides words to enable interrupts
and write IRQ handlers.  The GIC-400 Generic Interrupt Controller on
Allwinner H3 and A64 devices will be configured to simply forward all
IRQs to CPU0, with the interrupt vectors live at $00000000.

## API

### Words

intr$ ( -- )
  Enable IRQs.

isrsave, ( -- )
  Compile code that sets rSP to $60 and pushs r0, r1 and rW to it.

isrrestore, ( -- )
  Compile code that pops rW, r1, r0 and acknowledge the interrupt.
