0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef _UAPI__ASM_ARM_UNISTD_H
0015 #define _UAPI__ASM_ARM_UNISTD_H
0016
0017 #define __NR_OABI_SYSCALL_BASE 0x900000
0018 #define __NR_SYSCALL_MASK 0x0fffff
0019
0020 #if defined(__thumb__) || defined(__ARM_EABI__)
0021 #define __NR_SYSCALL_BASE 0
0022 #include <asm/unistd-eabi.h>
0023 #else
0024 #define __NR_SYSCALL_BASE __NR_OABI_SYSCALL_BASE
0025 #include <asm/unistd-oabi.h>
0026 #endif
0027
0028 #define __NR_sync_file_range2 __NR_arm_sync_file_range
0029
0030
0031
0032
0033 #define __ARM_NR_BASE (__NR_SYSCALL_BASE+0x0f0000)
0034 #define __ARM_NR_breakpoint (__ARM_NR_BASE+1)
0035 #define __ARM_NR_cacheflush (__ARM_NR_BASE+2)
0036 #define __ARM_NR_usr26 (__ARM_NR_BASE+3)
0037 #define __ARM_NR_usr32 (__ARM_NR_BASE+4)
0038 #define __ARM_NR_set_tls (__ARM_NR_BASE+5)
0039 #define __ARM_NR_get_tls (__ARM_NR_BASE+6)
0040
0041 #endif