Reorganize interrupt and IRQ handling on mips32
commit124bc22f2e33238e1d61bb6d9361a50fd47613e7
authorJakub Jermar <jakub@jermar.eu>
Thu, 4 Apr 2019 18:08:51 +0000 (4 20:08 +0200)
committerJakub Jermar <jakub@jermar.eu>
Thu, 4 Apr 2019 18:08:51 +0000 (4 20:08 +0200)
treed220ccf82ce753d868cae9d6f89b241e6723f4df
parente064102b80157d447412b71a989a3c26c6447a20
Reorganize interrupt and IRQ handling on mips32

This allows msim to use MIPS CPU interrupt numbers as IRQ numbers and
Malta to use ISA IRQ numbers as IRQ numbers. Common code can still
register MIPS CPU interrupts by their respective numbers.
kernel/arch/mips32/include/arch/exception.h
kernel/arch/mips32/include/arch/mach/malta/malta.h
kernel/arch/mips32/include/arch/machine_func.h
kernel/arch/mips32/src/exception.c
kernel/arch/mips32/src/interrupt.c
kernel/arch/mips32/src/mach/malta/malta.c
kernel/arch/mips32/src/mach/msim/msim.c