1
2
3
4
5
6
7
8
9
10
11
12
13
14 #ifndef _UAPI__ASM_ARM_UNISTD_H
15 #define _UAPI__ASM_ARM_UNISTD_H
16
17 #define __NR_OABI_SYSCALL_BASE 0x900000
18
19 #if defined(__thumb__) || defined(__ARM_EABI__)
20 #define __NR_SYSCALL_BASE 0
21 #include <asm/unistd-eabi.h>
22 #else
23 #define __NR_SYSCALL_BASE __NR_OABI_SYSCALL_BASE
24 #include <asm/unistd-oabi.h>
25 #endif
26
27 #include <asm/unistd-common.h>
28 #define __NR_sync_file_range2 __NR_arm_sync_file_range
29
30
31
32
33 #define __ARM_NR_BASE (__NR_SYSCALL_BASE+0x0f0000)
34 #define __ARM_NR_breakpoint (__ARM_NR_BASE+1)
35 #define __ARM_NR_cacheflush (__ARM_NR_BASE+2)
36 #define __ARM_NR_usr26 (__ARM_NR_BASE+3)
37 #define __ARM_NR_usr32 (__ARM_NR_BASE+4)
38 #define __ARM_NR_set_tls (__ARM_NR_BASE+5)
39 #define __ARM_NR_get_tls (__ARM_NR_BASE+6)
40
41 #endif