blob: 0c58887d9f7c8b24880703e534fa4763db28253e [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Elliott Hughes5e7f8f12022-10-01 15:10:58 +00007#if defined(__LP64__) && !defined(__SYSCALL_COMPAT)
8#define __ARCH_WANT_NEW_STAT
9#define __ARCH_WANT_SET_GET_RLIMIT
10#endif
11#define __ARCH_WANT_SYS_CLONE3
12#define __ARCH_WANT_MEMFD_SECRET
13#include <asm-generic/unistd.h>
14#ifndef __NR_riscv_flush_icache
15#define __NR_riscv_flush_icache (__NR_arch_specific_syscall + 15)
16#endif
17__SYSCALL(__NR_riscv_flush_icache, sys_riscv_flush_icache)
Christopher Ferris37c3f3c2023-07-10 10:59:05 -070018#ifndef __NR_riscv_hwprobe
19#define __NR_riscv_hwprobe (__NR_arch_specific_syscall + 14)
20#endif
21__SYSCALL(__NR_riscv_hwprobe, sys_riscv_hwprobe)