017cf89a83
This commit introduces all the necessary changes for enabling the usage of shared interrupts. This works by using a second interrupt table: _shared_sw_isr_table which keeps track of all of the ISR/arg pairs sharing the same interrupt line. Whenever a second ISR/arg pair is registered on the same interrupt line using IRQ_CONNECT(), the entry in _sw_isr_table will be overwriten by a (shared_isr, _shared_sw_isr_table[irq]) pair. In turn, shared_isr() will invoke all of the ISR/arg pairs registered on the same interrupt line. This feature only works statically, meaning you can only make use of shared interrupts using IRQ_CONNECT(). Attempting to dynamically register a ISR/arg pair will overwrite the hijacked _sw_isr_table entry. Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com> |
||
---|---|---|
.. | ||
check_init_priorities.py | ||
check_init_priorities_test.py | ||
dir_is_writeable.py | ||
elf_parser.py | ||
file2hex.py | ||
gen_app_partitions.py | ||
gen_cfb_font_header.py | ||
gen_device_deps.py | ||
gen_image_info.py | ||
gen_isr_tables.py | ||
gen_kobject_list.py | ||
gen_kobject_placeholders.py | ||
gen_offset_header.py | ||
gen_relocate_app.py | ||
gen_strerror_table.py | ||
gen_strsignal_table.py | ||
gen_syscalls.py | ||
mergehex.py | ||
parse_syscalls.py | ||
process_gperf.py | ||
subfolder_list.py | ||
uf2conv.py | ||
user_wordsize.py |