From edea0d431bd3c2a1505a1f761fcaf505ed5a8b4f Mon Sep 17 00:00:00 2001 From: daurnimator Date: Fri, 20 Sep 2019 21:36:47 +1000 Subject: [PATCH] std: update riscv64 syscalls --- std/os/bits/linux/riscv64.zig | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/std/os/bits/linux/riscv64.zig b/std/os/bits/linux/riscv64.zig index cb3124792d..a4aad078d9 100644 --- a/std/os/bits/linux/riscv64.zig +++ b/std/os/bits/linux/riscv64.zig @@ -243,7 +243,10 @@ pub const SYS_rt_tgsigqueueinfo = 240; pub const SYS_perf_event_open = 241; pub const SYS_accept4 = 242; pub const SYS_recvmmsg = 243; + pub const SYS_arch_specific_syscall = 244; +pub const SYS_riscv_flush_icache = SYS_arch_specific_syscall + 15; + pub const SYS_wait4 = 260; pub const SYS_prlimit64 = 261; pub const SYS_fanotify_init = 262; @@ -275,5 +278,17 @@ pub const SYS_pwritev2 = 287; pub const SYS_pkey_mprotect = 288; pub const SYS_pkey_alloc = 289; pub const SYS_pkey_free = 290; -pub const SYS_sysriscv = 244; -pub const SYS_riscv_flush_icache = SYS_sysriscv + 15; +pub const SYS_statx = 291; +pub const SYS_io_pgetevents = 292; +pub const SYS_rseq = 293; +pub const SYS_kexec_file_load = 294; +pub const SYS_pidfd_send_signal = 424; +pub const SYS_io_uring_setup = 425; +pub const SYS_io_uring_enter = 426; +pub const SYS_io_uring_register = 427; +pub const SYS_open_tree = 428; +pub const SYS_move_mount = 429; +pub const SYS_fsopen = 430; +pub const SYS_fsconfig = 431; +pub const SYS_fsmount = 432; +pub const SYS_fspick = 433;