Ensure we reserve room on the stack before starting the first task

Not 100% sure if this is actually needed, but this is just to make
sure that the following call to new_task doesn't get its return
address overwritten
This commit is contained in:
Ry 2022-06-23 00:21:00 -07:00
parent 68eb3777b0
commit 70fd0823dd

View File

@ -83,6 +83,7 @@ run_startup_task:
mov r1, r0
mov r0, 0
mov r2, rsp
sub r2, 4
call new_task
; when the startup file yields for the first time, we'll end up back here