Syscall hander: Fix a3 save address
(SDK doesn't use syscall exception so bug probably never hit?)
This commit is contained in:
parent
1cb2de5b96
commit
d685581829
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ UserIntExit:
|
||||||
UserSyscallHandler:
|
UserSyscallHandler:
|
||||||
addi sp, sp, -0x10
|
addi sp, sp, -0x10
|
||||||
s32i a2, sp, 0x08
|
s32i a2, sp, 0x08
|
||||||
s32i a2, sp, 0x0c
|
s32i a3, sp, 0x0c
|
||||||
rsr.epc1 a2
|
rsr.epc1 a2
|
||||||
addi a3, a2, 0x3
|
addi a3, a2, 0x3
|
||||||
wsr.epc1 a3
|
wsr.epc1 a3
|
||||||
|
|
Loading…
Reference in a new issue