From 42130a64f02294dc8025af3a51bda518c67ab33d Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Sat, 26 Jun 2021 10:17:26 +1200 Subject: Replace copy coroutine with pthread implementation. --- coroutine/riscv64/Context.h | 1 + 1 file changed, 1 insertion(+) (limited to 'coroutine/riscv64') diff --git a/coroutine/riscv64/Context.h b/coroutine/riscv64/Context.h index 5ec03266b2..9ce1140e0b 100644 --- a/coroutine/riscv64/Context.h +++ b/coroutine/riscv64/Context.h @@ -12,6 +12,7 @@ enum {COROUTINE_REGISTERS = 0xd0 / 8}; struct coroutine_context { void **stack_pointer; + void *argument; }; typedef COROUTINE(* coroutine_start)(struct coroutine_context *from, struct coroutine_context *self); -- cgit v1.2.3