zephyr/arch
Yong Cong Sin f3da086ac3 arch: common: sw_isr: make sure that the table index is within range
Assert that the `local_irq` of each levels should only ranges
from `0` to `CONFIG_MAX_IRQ_PER_AGGREGATOR`, so that it doesn't
overflow the other aggregators.

Also, assert that the output of `z_get_sw_isr_table_idx` shouldn't
overflow the ISR table.

Update the `sw_isr_table` tests to test the range of
`CONFIG_MAX_IRQ_PER_AGGREGATOR` instead of the entire range of
level bits.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
2023-12-08 08:40:41 -05:00
..
arc arch: introduce DSP_SHARING and CPU_HAS_DSP configs 2023-11-27 09:05:54 +00:00
arm arch: arm: cortex_m: Remove CPU_HAS_*CACHE from CPU_CORTEX_M7 2023-12-05 10:19:15 +00:00
arm64 arch: arm64: avoid invalidating of RO mem after mem map 2023-11-09 10:19:12 +00:00
common arch: common: sw_isr: make sure that the table index is within range 2023-12-08 08:40:41 -05:00
mips COVERAGE: Fix COVERAGE_GCOV dependencies 2023-08-24 15:36:31 +02:00
nios2 arch: nios2: Remove unused absolute symbols 2023-04-18 10:51:28 -04:00
posix native_simulator: Allow to pass extra options for localizing symbols 2023-12-06 09:25:41 +00:00
riscv arch: riscv: fix hangup in boot if hart0 is not boot hart 2023-11-14 09:24:17 +01:00
sparc SPARC: Update the Flush windows software trap 2023-10-25 09:54:31 -05:00
x86 debug: gdbstub: kconfig: Add GDBSTUB_TRACE config option 2023-12-06 17:52:18 +00:00
xtensa llext: xtensa: add support for local symbol relocations 2023-12-01 10:08:12 -05:00
CMakeLists.txt cmake: enable -Wshadow partially for in-tree code 2023-08-22 11:39:58 +02:00
Kconfig arch/Kconfig: Fix ARCH_POSIX comment 2023-12-07 10:39:31 +00:00