kernel/task: Add comment saying registers are not saved across yields
This commit is contained in:
parent
e83676567e
commit
2688e8082d
|
@ -27,6 +27,8 @@ new_task:
|
||||||
; fall-through
|
; fall-through
|
||||||
|
|
||||||
; switch to the next task in the queue
|
; 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:
|
; inputs:
|
||||||
; none
|
; none
|
||||||
; outputs:
|
; outputs:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user