diff options
Diffstat (limited to 'arch/riscv64/asm')
| -rw-r--r-- | arch/riscv64/asm/asm-offsets.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); } |
