Home
last modified time | relevance | path

Searched hist:e2eade366c39a6781f9b0cd37134b960ff636820 (Results 1 – 1 of 1) sorted by relevance

/optee_os/lib/libutee/arch/riscv/
H A Dutee_syscalls_rv.Se2eade366c39a6781f9b0cd37134b960ff636820 Fri Jun 02 03:40:00 UTC 2023 Alvin Chang <alvinga@andestech.com> libutee: riscv: Fix the arguments of __utee_panic() for unwinding

To unwind stack from synchronous panic, the ra and s0(fp) registers
should be saved onto stack, and the a1 should be assigned as sp.
The save_panic_regs_rv_ta() can handle these registers for abort usage.

Signed-off-by: Alvin Chang <alvinga@andestech.com>
Tested-by: Marouene Boubakri <marouene.boubakri@nxp.com>
Reviewed-by: Marouene Boubakri <marouene.boubakri@nxp.com>