From 6d3586aa42409fc720e30856cb5df5284329463a Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 13 Nov 2022 06:11:43 +0200 Subject: ~700k ipc requests + Eliminated need for save/load_regs, now the register save area is behind a pointer which _slightly_ increases overall syscall delay, but speeds up ipc requests by a fair bit. --- arch/riscv64/asm/asm-offsets.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arch/riscv64/asm/asm-offsets.c') diff --git a/arch/riscv64/asm/asm-offsets.c b/arch/riscv64/asm/asm-offsets.c index 3619765..1239489 100644 --- a/arch/riscv64/asm/asm-offsets.c +++ b/arch/riscv64/asm/asm-offsets.c @@ -83,4 +83,9 @@ void asm_offsets() OFFSETOF(ar3, struct sys_ret); OFFSETOF(ar4, struct sys_ret); SIZEOF(sys_ret, struct sys_ret); + + OFFSETOF(exec, struct tcb); + OFFSETOF(regs, struct tcb); + OFFSETOF(tcbd, struct tcb); + SIZEOF(tcb, struct tcb); } -- cgit v1.3