From 3d3b39a9ed07329cb555311f347d35b95f1b4428 Mon Sep 17 00:00:00 2001 From: Nathanne Isip Date: Wed, 15 May 2024 01:26:42 +0800 Subject: [PATCH] Syscall for Runtime::get_fork_string() on RishkaVM. --- src/rishka_vm.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rishka_vm.cpp b/src/rishka_vm.cpp index e93b5fe..50a1aa9 100644 --- a/src/rishka_vm.cpp +++ b/src/rishka_vm.cpp @@ -944,6 +944,9 @@ uint64_t RishkaVM::handleSyscall(uint64_t code) { RishkaSyscall::Runtime::yield(); break; + case RISHKA_SC_RT_FORK_STREAM: + return RishkaSyscall::Runtime::get_fork_string(); + default: this->panic("Invalid system call."); break;