isr_tables: Simplify how the sw_irq_handler function is used

This is a migration from using code generation to using the C language
which we in the general case we should aways strive towards.

It is equivalent to the simplification that was done with
_irq_spurious here:
https://github.com/zephyrproject-rtos/zephyr/pull/7574

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
This commit is contained in:
Sebastian Bøe 2018-05-16 14:08:47 +02:00 committed by Anas Nashif
commit aed0b6c4bd
3 changed files with 18 additions and 22 deletions

View file

@ -10,7 +10,6 @@
* What we create here is a data structure:
*
* struct {
* void *sw_irq_handler;
* u32_t num_isrs;
* u32_t num_vectors;
* struct _isr_list isrs[]; <- of size num_isrs