From e6dc962ef7758c438039d7f8ac7e2bf3ebcb5c10 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 13 Nov 2022 15:15:22 +0200 Subject: improve documentation on new features --- arch/riscv64/asm/asm-offsets.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/riscv64/asm') diff --git a/arch/riscv64/asm/asm-offsets.c b/arch/riscv64/asm/asm-offsets.c index 1239489..731dd4a 100644 --- a/arch/riscv64/asm/asm-offsets.c +++ b/arch/riscv64/asm/asm-offsets.c @@ -86,6 +86,9 @@ void asm_offsets() OFFSETOF(exec, struct tcb); OFFSETOF(regs, struct tcb); + /* At the moment tcbd is just a single register slot, so this works, but + * if it's expanded in the future I'll need to figure out a way to + * target specific substructure members. */ OFFSETOF(tcbd, struct tcb); SIZEOF(tcb, struct tcb); } -- cgit v1.3