nios2: properly set NANO_ESF pointer for _Fault()
We want to pass along the stack pointer, not dereference it. Change-Id: I554eff316bffe50654942746e7960b561abb413b Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
a0464b802b
commit
2de74a93ea
|
@ -194,7 +194,7 @@ SECTION_FUNC(exception.entry, _exception_enter_fault)
|
|||
* C domain
|
||||
*/
|
||||
|
||||
ldw r4, 0(sp)
|
||||
mov r4, sp
|
||||
call _Fault
|
||||
jmpi _exception_exit
|
||||
|
||||
|
|
Loading…
Reference in a new issue