aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv64/asm
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-11-13 06:11:43 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2022-11-13 06:11:43 +0200
commit6d3586aa42409fc720e30856cb5df5284329463a (patch)
tree571136fdb4f6fb333c1bb4b1274a76eb70263de9 /arch/riscv64/asm
parent7da8912c0eee10315dac37cecd4c84f11e5dad59 (diff)
downloadkmi-6d3586aa42409fc720e30856cb5df5284329463a.tar.gz
kmi-6d3586aa42409fc720e30856cb5df5284329463a.zip
~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.
Diffstat (limited to 'arch/riscv64/asm')
-rw-r--r--arch/riscv64/asm/asm-offsets.c5
1 files changed, 5 insertions, 0 deletions
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);
}