|
@@ -93,6 +93,8 @@
|
|
and tsk, tsk, #~(THREAD_SIZE - 1) // Ensure MDSCR_EL1.SS is clear,
|
|
and tsk, tsk, #~(THREAD_SIZE - 1) // Ensure MDSCR_EL1.SS is clear,
|
|
ldr x19, [tsk, #TI_FLAGS] // since we can unmask debug
|
|
ldr x19, [tsk, #TI_FLAGS] // since we can unmask debug
|
|
disable_step_tsk x19, x20 // exceptions when scheduling.
|
|
disable_step_tsk x19, x20 // exceptions when scheduling.
|
|
|
|
+
|
|
|
|
+ mov x29, xzr // fp pointed to user-space
|
|
.else
|
|
.else
|
|
add x21, sp, #S_FRAME_SIZE
|
|
add x21, sp, #S_FRAME_SIZE
|
|
.endif
|
|
.endif
|