nuttx/arch
Maarten Zanders 3631256219 arch/arm/imx9: irq: replace hardcoded NVIC register lists with loops.
Use NVIC_IRQ_ENABLE(n) and NVIC_IRQ_PRIORITY(n) macros in
imx9_dumpnvic() to iterate over all NVIC registers programmatically
based on CONFIG_ARCH_NINTS (IMX9_IRQ_NEXTINT), rather than
enumerating named per-range register defines. Output is grouped
4-per-line for priority and 4-per-line for enable registers,
matching the original layout.
This avoids accessing registers which don't exist when extending
the interrupt count.

Also replace named NVIC_IRQxx_yy_ENABLE constants in imx9_irqinfo()
with NVIC_IRQ_ENABLE(n), avoiding naming conflicts between chips
with different IRQ counts.

Fix the upper boundary in the >192 IRQ branch from 219 to 224 to
align with the 32-interrupt register granularity.

Change %08x to %08lx to silence warnings from the compiler for
the debug dump.

No functional change for existing i.MX95-M7 builds.

Signed-off-by: Maarten Zanders <maarten@zanders.be>
2026-02-28 10:30:06 +08:00
..
arm arch/arm/imx9: irq: replace hardcoded NVIC register lists with loops. 2026-02-28 10:30:06 +08:00
arm64 arm64/cmake: fix typo in CMAKE_STRIP flag 2026-02-26 12:12:35 +01:00
avr Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00
ceva protect: move us_heap to userspace_data_s 2026-02-02 11:06:53 +08:00
dummy
hc Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00
mips Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00
misoc Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00
or1k Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00
renesas Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00
risc-v arch/risc-v/src/common: Create SoC-specific initialization routine 2026-02-27 08:12:19 -03:00
sim arch/sim: fix warning ‘sim_buttonmap’ defined but not used 2026-02-27 19:54:46 +08:00
sparc sched/signal: Optimize code logic 2026-01-27 21:24:31 +08:00
tricore serial/uart_rpmsg: add _raw version of driver 2026-02-23 09:19:57 -03:00
x86 Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00
x86_64 Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00
xtensa arch/xtensa/src/common: Create SoC-specific initialization routine 2026-02-27 08:12:19 -03:00
z16 sched/signal: Optimize code logic 2026-01-27 21:24:31 +08:00
z80 netdev_driver: add carrier_on to xxx_ifup where carrier_on is absent 2026-02-02 13:23:05 +08:00
CMakeLists.txt arch/z80: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
Kconfig arch/delays: Invalid default value for BOARD_LOOPSPERMSEC 2026-02-25 15:00:03 -03:00