kernel/task: Add comment saying registers are not saved across yields

This commit is contained in:
Ry 2023-02-02 16:21:29 -08:00
parent e83676567e
commit 2688e8082d

View File

@ -27,6 +27,8 @@ new_task:
; fall-through
; switch to the next task in the queue
; no registers are saved upon task yield
; if a register must be saved across a yield, push it before the yield and pop it after the yield
; inputs:
; none
; outputs: