From b8cc2491d8d2f239df29a6f85ad8b21e0221e8d1 Mon Sep 17 00:00:00 2001 From: johannst Date: Sat, 19 Sep 2020 19:16:39 +0200 Subject: added basic executor --- lib/thread_create.s | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/thread_create.s') 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: -- cgit v1.2.3