aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/root.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/root.zig b/src/root.zig
index 0fd09ad..2c56957 100644
--- a/src/root.zig
+++ b/src/root.zig
@@ -60,3 +60,7 @@ pub fn launch(bytes: []align(@alignOf(std.elf.Elf64_Ehdr)) const u8) !usize {
if (result.error_code != 0) return SyscallError.Kernel;
return result.value;
}
+
+pub fn end() noreturn {
+ ecall(100003, .{});
+}