Merge branch 'bugfix/exception_handling' into 'master'
Fix exception handler to jump to correct vector instead of crashing to the double exception vector. One-character fix... basically, this caused the exception handler to crash into the double-exception handler instead of nicy panic'ing. See merge request !323
This commit is contained in:
commit
4c86aba160
1 changed files with 1 additions and 1 deletions
|
@ -713,7 +713,7 @@ _xt_user_exc:
|
||||||
|
|
||||||
rsr a2, EXCCAUSE /* recover exc cause */
|
rsr a2, EXCCAUSE /* recover exc cause */
|
||||||
movi a3, _xt_exception_table
|
movi a3, _xt_exception_table
|
||||||
get_percpu_entry_for a3, a4
|
get_percpu_entry_for a2, a4
|
||||||
addx4 a4, a2, a3 /* a4 = address of exception table entry */
|
addx4 a4, a2, a3 /* a4 = address of exception table entry */
|
||||||
l32i a4, a4, 0 /* a4 = handler address */
|
l32i a4, a4, 0 /* a4 = handler address */
|
||||||
#ifdef __XTENSA_CALL0_ABI__
|
#ifdef __XTENSA_CALL0_ABI__
|
||||||
|
|
Loading…
Reference in a new issue