aboutsummaryrefslogtreecommitdiff
path: root/lib/thread_create.s
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2020-09-19 19:16:39 +0200
committerjohannst <johannes.stoelp@gmail.com>2020-09-19 19:39:01 +0200
commitb8cc2491d8d2f239df29a6f85ad8b21e0221e8d1 (patch)
treeb8f1f354586198d78168fc8f6e0905a4cce128cb /lib/thread_create.s
parent1f415f839ccdcc0f455d8b4c9adacbf0f60fc89f (diff)
downloadmatcha-threads-b8cc2491d8d2f239df29a6f85ad8b21e0221e8d1.tar.gz
matcha-threads-b8cc2491d8d2f239df29a6f85ad8b21e0221e8d1.zip
added basic executor
Diffstat (limited to 'lib/thread_create.s')
-rw-r--r--lib/thread_create.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/thread_create.s b/lib/thread_create.s
index 6ebcd86..d5dd092 100644
--- a/lib/thread_create.s
+++ b/lib/thread_create.s
@@ -23,9 +23,9 @@ thread_create:
.size thread_create, .-thread_create
- # extern "C" void yield(void* new_stack, void** old_stack);
- # ^^^^^^^^^ ^^^^^^^^^
- # rdi rsi
+ # extern "C" void yield(const void* new_stack, void* const* old_stack);
+ # ^^^^^^^^^ ^^^^^^^^^
+ # rdi rsi
.global yield
.type yield, @function
yield: