1 /* 2 * This header was generated from the Linux kernel headers by update_headers.py, 3 * to provide necessary information from kernel to userspace, such as constants, 4 * structures, and macros, and thus, contains no copyrightable information. 5 */ 6 #ifndef __ASM_ARM_UNISTD_H 7 #define __ASM_ARM_UNISTD_H 8 #define __NR_OABI_SYSCALL_BASE 0x900000 9 #if defined(__thumb__) || defined(__ARM_EABI__) 10 #define __NR_SYSCALL_BASE 0 11 #include <asm/unistd-eabi.h> 12 #else 13 #define __NR_SYSCALL_BASE __NR_OABI_SYSCALL_BASE 14 #include <asm/unistd-oabi.h> 15 #endif 16 #include <asm/unistd-common.h> 17 #define __NR_sync_file_range2 __NR_arm_sync_file_range 18 #define __ARM_NR_BASE (__NR_SYSCALL_BASE+0x0f0000) 19 #define __ARM_NR_breakpoint (__ARM_NR_BASE+1) 20 #define __ARM_NR_cacheflush (__ARM_NR_BASE+2) 21 #define __ARM_NR_usr26 (__ARM_NR_BASE+3) 22 #define __ARM_NR_usr32 (__ARM_NR_BASE+4) 23 #define __ARM_NR_set_tls (__ARM_NR_BASE+5) 24 #define __ARM_NR_get_tls (__ARM_NR_BASE+6) 25 #endif 26