zephyr/arch/common
Laurentiu Mihalcea 02f52503bb arch: Add support for dynamic shared interrupts
This works by overwriting z_isr_install()'s definition
(possible since the symbol is now weak) with our own definiton.

Whenever trying to register a new ISR/arg pair, z_isr_install()
will check to see if the interrupt line is already in use. If it's
not then it will not share the interrupt and will work exactly
as the old z_isr_install(), meaning it will just write the new
ISR/arg pair to _sw_isr_table.

If the interrupt line is already being used by an ISR/arg pair
then that line will become shared, meaning we'll overwrite
_sw_isr_table with our own (z_shared_isr, z_shared_sw_isr_table[irq])
pair.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2023-09-14 08:35:12 +02:00
..
CMakeLists.txt arch: Add support for static shared interrupts 2023-09-14 08:35:12 +02:00
fill_with_zeros.ld arch: common: Force linker to fill empty spaces in rom_start with 0x00 2023-09-13 11:46:56 +02:00
isr_tables.c arch: Add support for static shared interrupts 2023-09-14 08:35:12 +02:00
Kconfig arch: common: dedicated SEMIHOST symbol 2022-04-21 13:04:52 +02:00
nocache.ld cmake: Add support to add symbols to nocache section 2022-08-29 11:19:48 +02:00
ramfunc.ld cmake: Add support to add symbols to ramfunc section 2022-04-18 17:24:12 -07:00
rom_start_address.ld arch/common: Fix moving location counter backwards when using LLD 2023-07-14 12:08:02 +02:00
rom_start_offset.ld arch/common: Fix moving location counter backwards when using LLD 2023-07-14 12:08:02 +02:00
semihost.c arch: common: semihost: add semihosting operations 2022-04-21 13:04:52 +02:00
shared_irq.c arch: Add support for dynamic shared interrupts 2023-09-14 08:35:12 +02:00
sw_isr_common.c arch: Add support for dynamic shared interrupts 2023-09-14 08:35:12 +02:00
timing.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00