diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-11-13 06:11:43 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-11-13 06:11:43 +0200 |
| commit | 6d3586aa42409fc720e30856cb5df5284329463a (patch) | |
| tree | 571136fdb4f6fb333c1bb4b1274a76eb70263de9 /arch/riscv64/asm | |
| parent | 7da8912c0eee10315dac37cecd4c84f11e5dad59 (diff) | |
| download | kmi-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.c | 5 |
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); } |
