aboutsummaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys')
-rw-r--r--src/sys/schedule.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys/schedule.S b/src/sys/schedule.S
index 8f8ae52..8cfb238 100644
--- a/src/sys/schedule.S
+++ b/src/sys/schedule.S
@@ -61,6 +61,7 @@ cleanup:
// cleanup stack
svc #3
// usrloop -> rthread
+ ldr r3, =scheduler
ldr r2, =usrloopthread
str r2, [r3, #0]
ldr sp, [r2, #4]