diff options
author | Samuel Williams <[email protected]> | 2021-06-26 10:17:26 +1200 |
---|---|---|
committer | Samuel Williams <[email protected]> | 2021-07-01 11:23:03 +1200 |
commit | 42130a64f02294dc8025af3a51bda518c67ab33d (patch) | |
tree | e81c181770e4cc9d3e87e960a25a870e9a4774f5 /coroutine/riscv64 | |
parent | 9c9531950c007872d7726f050a1dc0cb6f8f0490 (diff) |
Replace copy coroutine with pthread implementation.
Diffstat (limited to 'coroutine/riscv64')
-rw-r--r-- | coroutine/riscv64/Context.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |