Skip to content
Commit 5b6f8605 authored by Wayne Ren's avatar Wayne Ren Committed by Maureen Helm
Browse files

arch: arc: use a separate stack for exception handling



* use a separate stack for exception handling, this
will gurantee the exception handling always work, not
affected by some speical cases, e.g., stack check exception
or mem. protection exception at the exception entry.

* this commit can fix the second case of #8092

* note: the thread switch is still possible in exception
handling, e.g, caused by thread_abort. But the switched out
thread cannot be recovered, as the thread context is not
setup.

Signed-off-by: default avatarWayne Ren <wei.ren@synopsys.com>
parent c6c856bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment