mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-10 07:06:34 +00:00
kern: fix spsr register in RestoreContext
This commit is contained in:
parent
9e7b56b33c
commit
c10265676f
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ _ZN3ams4kern3svc14RestoreContextEm:
|
||||||
|
|
||||||
#if defined(MESOSPHERE_ENABLE_HARDWARE_SINGLE_STEP)
|
#if defined(MESOSPHERE_ENABLE_HARDWARE_SINGLE_STEP)
|
||||||
/* Since we're returning from an exception, set SPSR.SS so that we advance an instruction if single-stepping. */
|
/* Since we're returning from an exception, set SPSR.SS so that we advance an instruction if single-stepping. */
|
||||||
orr x22, x22, #(1 << 21)
|
orr x10, x10, #(1 << 21)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
msr sp_el0, x8
|
msr sp_el0, x8
|
||||||
|
|
Loading…
Reference in a new issue