kern: fix spsr register in RestoreContext

This commit is contained in:
Michael Scire committed 2021-09-11 19:40:10 -07:00
1 parent d7c93c44f4
commit 325ae30067
1 file changed
+1 -1
@@ -92,7 +92,7 @@ _ZN3ams4kern3svc14RestoreContextEm:
#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. */
orr x22, x22, #(1 << 21)
orr x10, x10, #(1 << 21)
#endif
msr sp_el0, x8