diff options
Diffstat (limited to 'src/kernel')
-rw-r--r-- | src/kernel/execbuf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kernel/execbuf.c b/src/kernel/execbuf.c index 6136d0e..b96188d 100644 --- a/src/kernel/execbuf.c +++ b/src/kernel/execbuf.c @@ -31,6 +31,10 @@ _Noreturn void execbuf_run(struct process *proc) { try_fetch(proc, buf, 5); _syscall(buf[0], buf[1], buf[2], buf[3], buf[4]); break; + case EXECBUF_JMP: + try_fetch(proc, buf, 1); + proc->regs.rcx = buf[0]; + break; default: halt(proc); } |