tests: coredump: Add exception for cva6
The nullpointer address (0x0) is mapped to the debug module in cva6, making it a valid address. Thus, in the coredump test, trigger an exception using k_panic() instead. Signed-off-by: Eric Ackermann <eric.ackermann@cispa.de>
This commit is contained in:
parent
51eaf02626
commit
f9331854c8
1 changed files with 2 additions and 1 deletions
|
@ -40,7 +40,8 @@ __no_optimization void func_3(uint32_t *addr)
|
|||
defined(CONFIG_BOARD_QEMU_XTENSA) || \
|
||||
defined(CONFIG_BOARD_RISCV32_VIRTUAL) || \
|
||||
defined(CONFIG_SOC_FAMILY_INTEL_ISH) || \
|
||||
defined(CONFIG_SOC_FAMILY_INTEL_ADSP)
|
||||
defined(CONFIG_SOC_FAMILY_INTEL_ADSP) || \
|
||||
defined(CONFIG_SOC_FAMILY_OPENHWGROUP_CVA6)
|
||||
ARG_UNUSED(addr);
|
||||
/* Call k_panic() directly so Renode doesn't pause execution.
|
||||
* Needed on ADSP as well, since null pointer derefence doesn't
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue