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 | */ |
Ben Cheng | a6b53f0 | 2013-11-06 15:51:05 -0800 | [diff] [blame] | 7 | #ifndef _UAPI__ASM_ARM_UNISTD_H |
| 8 | #define _UAPI__ASM_ARM_UNISTD_H |
| 9 | #define __NR_OABI_SYSCALL_BASE 0x900000 |
Christopher Ferris | 2abfa9e | 2021-11-01 16:26:06 -0700 | [diff] [blame] | 10 | #define __NR_SYSCALL_MASK 0x0fffff |
Ben Cheng | a6b53f0 | 2013-11-06 15:51:05 -0800 | [diff] [blame] | 11 | #define __NR_SYSCALL_BASE 0 |
Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 12 | #include <asm/unistd-eabi.h> |
Ben Cheng | a6b53f0 | 2013-11-06 15:51:05 -0800 | [diff] [blame] | 13 | #define __NR_sync_file_range2 __NR_arm_sync_file_range |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 14 | #define __ARM_NR_BASE (__NR_SYSCALL_BASE + 0x0f0000) |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 15 | #define __ARM_NR_breakpoint (__ARM_NR_BASE + 1) |
| 16 | #define __ARM_NR_cacheflush (__ARM_NR_BASE + 2) |
| 17 | #define __ARM_NR_usr26 (__ARM_NR_BASE + 3) |
| 18 | #define __ARM_NR_usr32 (__ARM_NR_BASE + 4) |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 19 | #define __ARM_NR_set_tls (__ARM_NR_BASE + 5) |
Christopher Ferris | 934ec94 | 2018-01-31 15:29:16 -0800 | [diff] [blame] | 20 | #define __ARM_NR_get_tls (__ARM_NR_BASE + 6) |
Ben Cheng | a6b53f0 | 2013-11-06 15:51:05 -0800 | [diff] [blame] | 21 | #endif |