authorgravatar for quae@daurnimator.comdaurnimator <quae@daurnimator.com> 2019-09-20 21:36:47+10:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-09-20 15:01:47-04:00
logedea0d431bd3c2a1505a1f761fcaf505ed5a8b4f
tree6b648bd5b86c1b3a12b5e2c09cf61fe893066676
parent74d0b5bf7c5bdb5013cec7d6eb6b474fe1ad703a
signature Commit is signed but in an unrecognized format.

std: update riscv64 syscalls


1 files changed, 17 insertions(+), 2 deletions(-)

std/os/bits/linux/riscv64.zig+17-2
......@@ -243,7 +243,10 @@ pub const SYS_rt_tgsigqueueinfo = 240;
243243pub const SYS_perf_event_open = 241;
244244pub const SYS_accept4 = 242;
245245pub const SYS_recvmmsg = 243;
246
246247pub const SYS_arch_specific_syscall = 244;
248pub const SYS_riscv_flush_icache = SYS_arch_specific_syscall + 15;
249
247250pub const SYS_wait4 = 260;
248251pub const SYS_prlimit64 = 261;
249252pub const SYS_fanotify_init = 262;
......@@ -275,5 +278,17 @@ pub const SYS_pwritev2 = 287;
275278pub const SYS_pkey_mprotect = 288;
276279pub const SYS_pkey_alloc = 289;
277280pub const SYS_pkey_free = 290;
278pub const SYS_sysriscv = 244;
279pub const SYS_riscv_flush_icache = SYS_sysriscv + 15;
281pub const SYS_statx = 291;
282pub const SYS_io_pgetevents = 292;
283pub const SYS_rseq = 293;
284pub const SYS_kexec_file_load = 294;
285pub const SYS_pidfd_send_signal = 424;
286pub const SYS_io_uring_setup = 425;
287pub const SYS_io_uring_enter = 426;
288pub const SYS_io_uring_register = 427;
289pub const SYS_open_tree = 428;
290pub const SYS_move_mount = 429;
291pub const SYS_fsopen = 430;
292pub const SYS_fsconfig = 431;
293pub const SYS_fsmount = 432;
294pub const SYS_fspick = 433;