Home
last modified time | relevance | path

Searched hist:"4 a2528f8fbbae0e497a505c9468cb21210ff8772" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/arch/riscv/kernel/
H A Dthread_rv.S4a2528f8fbbae0e497a505c9468cb21210ff8772 Wed Sep 11 07:51:09 UTC 2024 Alvin Chang <alvinga@andestech.com> core: riscv: Fix misconfiguration of XSCRATCH when XRET to kernel mode

When the program wants to XRET to kernel mode, the value of XSCRATCH
must be cleared to zero.

Signed-off-by: Alvin Chang <alvinga@andestech.com>
Reviewed-by: Yu Chien Peter Lin <peterlin@andestech.com>