void init_intrinfo (void)
Initialize the intrinfo structure.
- x86
- You would need to change this only if your hardware doesn't have the
standard PC-compatible dual 8259 configuration.
- MIPS
- The default library version sets up the internal MIPS interrupt controller.
- PowerPC
- No default version exists; you must supply one.
- ARM
- No default version exists; you must supply one.
- SH
- The default library version sets up the SH-4 on-chip peripheral interrupt.
You need to provide the external interrupt code.
If you're providing your own function, make sure it
initializes:
- the interrupt controller hardware as appropriate (e.g. on
the x86 it should program the two 8259 interrupt
controllers)
- the intrinfo structure with the details of the
interrupt controller hardware.
This initialization of the structure is done via a
call to the function add_interrupt_array().