zephyr/include/arch
Andrew Boie 527cd1c5b4 x86: put ISR stubs in their own text section
Rather than embedding the ISR stub directly inside the function that
invokes IRQ_CONNECT(), stick all the generated stubs in the
.text.irqstubs section.

In this way, we make things easier to debug since the stub code isn't
mixed in with the "calling" function's assembly, and we no longer
need an instruction to jump over it.

Since these are now in their own section and not embedded inside an
unrelated init function, we unconditionally generate descriptive
symbol names for each stub based on the name of the handler and the
IRQ line.

Example for HPET timer on IRQ #2:

00100440 T _timer_int_handler            <-- driver ISR
00100590 T _timer_int_handler_irq2_stub  <-- generated stub

Change-Id: I49425aef7775edbca8ad7f61d2d4f9c41cb0d39d
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2016-07-28 14:26:00 +00:00
..
arc arc: move special-purpose irq priorities to flags 2016-07-26 15:06:28 +00:00
arm net/yaip: revert merge 2016-07-22 04:43:09 +00:00
nios2 nios2: map all sys_write* to 32-bit to work around CPU bug 2016-07-15 19:31:11 +00:00
x86 x86: put ISR stubs in their own text section 2016-07-28 14:26:00 +00:00
cpu.h nios2: basic build, non-functional 2016-05-03 23:18:45 +00:00