summaryrefslogtreecommitdiff
path: root/coroutine/riscv64/Context.h
diff options
context:
space:
mode:
Diffstat (limited to 'coroutine/riscv64/Context.h')
-rw-r--r--coroutine/riscv64/Context.h1
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);