commit | 52a03d87132d25d417f8852789ea950325ce1201 | [log] [tgz] |
---|---|---|
author | swissChili <swisschili@fastmail.com> | Sun Jul 18 15:22:14 2021 -0700 |
committer | swissChili <swisschili@fastmail.com> | Sun Jul 18 15:22:14 2021 -0700 |
tree | 67bda42940860fa219524253f78678ce3eaab7c6 | |
parent | cbd43632a8ad7e8d8d2b9a079bec7ce7d0a59f37 [diff] [blame] |
Add synchornization primitives, `waiting` to task
diff --git a/src/kernel/task_api.s b/src/kernel/task_api.s index 01f3ca4..c862c21 100644 --- a/src/kernel/task_api.s +++ b/src/kernel/task_api.s
@@ -11,9 +11,7 @@ ;; add esp, 12 ; Clear the arguments popa ; Reset everything xor eax, eax ; Return 0 - - pop ebx ; This is just to make debugging easy - jmp ebx + ret [global _switch_to_task] ;; _switch_to_task(uint page_directory, uint eip, uint ebp, uint esp)