Thanks for the detailled explanation.
Hope this helps. Note that x86 has a different mechanism involvingassembly language stubs and a special tool to generate the IDT, I need to
check if it also forbids enumerations. If using enums is very desirable we
could consider revising the ARM/ARC/Nios implementation.
As mentionned by Carles and Piotr, since enum implementation is part of
CMSIS standard and hence should be adopted by other ARM vendors, new
implemmentation le IRQ_CONNECT would be very much welcomed. Should we fill
a JIRA change for this?