Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame] | 1 | /* |
| 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 Hughes | 5e7f8f1 | 2022-10-01 15:10:58 +0000 | [diff] [blame] | 7 | #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 Ferris | 37c3f3c | 2023-07-10 10:59:05 -0700 | [diff] [blame] | 18 | #ifndef __NR_riscv_hwprobe |
| 19 | #define __NR_riscv_hwprobe (__NR_arch_specific_syscall + 14) |
| 20 | #endif |
| 21 | __SYSCALL(__NR_riscv_hwprobe, sys_riscv_hwprobe) |