Go to file
Andrew Boie 630280c464 build: fix issue with static interrupts on ARC/ARM
Static interrupts rely on a trick where the _sw_isr_table array
is declared with each element in a different .gnu.linkonce
section, initially pointing to the spurious IRQ handler.

When drivers or apps declare their own interrupts, they override
the element with their own containing the real ISR and parameter.

However, this only works if the initial declaration of the
_sw_isr_table array with the spurious handlers is linked last.
App-specific code was being linked later than the core code,
causing static interrupts declared in apps not to be installed
correctly.

If the _sw_isr_table is moved from SOC-specific code to core arch
code, interrupts configured under soc/ should still also work.

Change-Id: Iec7df47386dfbbf2956a807da27dc8aa6e01b268
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2016-02-05 20:25:25 -05:00
arch build: fix issue with static interrupts on ARC/ARM 2016-02-05 20:25:25 -05:00
boards boards: Quark SE based boards have a different SPI interrupt flag 2016-02-05 20:25:23 -05:00
doc doc: Fix cross-reference and toctree on index.rst and about_zephyr.rst 2016-02-05 20:25:25 -05:00
drivers i2c: Fix i2c_qmsi_configure() 2016-02-05 20:25:24 -05:00
include irq: fix declared _sw_isr_table size on ARC 2016-02-05 20:25:25 -05:00
kernel idle: fix tasks waiting when NANO_TIMEOUTS is enabled 2016-02-05 20:25:24 -05:00
lib Integration of TinyCrypt v2: ECC, CMAC, AES-CCM with test cases for CMAC and CCM. 2016-02-05 20:25:23 -05:00
misc mem_safe: prevent writing to .text in XIP systems 2016-02-05 20:25:24 -05:00
net net: Ensure stacks are properly aligned 2016-02-05 20:25:23 -05:00
samples test_mem_safe: support ARM 2016-02-05 20:25:24 -05:00
scripts toolchain: remove yocto variant, now using zephyr variant 2016-02-05 20:25:23 -05:00
.checkpatch.conf
.gitattributes
.gitignore
.mailmap
Kbuild
Kconfig
Kconfig.zephyr
LICENSE
Makefile build: fix issue with static interrupts on ARC/ARM 2016-02-05 20:25:25 -05:00
Makefile.inc mingw: change backslashes to forward slashes 2016-02-05 20:25:17 -05:00
zephyr-env.sh