zephyr/tests/kernel/interrupt
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
..
src arch: common: sw_isr: make sure that the table index is within range 2023-12-08 08:40:41 -05:00
CMakeLists.txt arch: common: irq: relocate internal functions into a private header 2023-11-09 11:20:42 +01:00
prj.conf tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
testcase.yaml tests: kernel: interrupt: Add testcase for shared interrupts 2023-09-14 08:35:12 +02:00