122851890Sopenharmony_ci/* 222851890Sopenharmony_ci * This header was generated from the Linux kernel headers by update_headers.py, 322851890Sopenharmony_ci * to provide necessary information from kernel to userspace, such as constants, 422851890Sopenharmony_ci * structures, and macros, and thus, contains no copyrightable information. 522851890Sopenharmony_ci */ 622851890Sopenharmony_ci#ifndef __ASM_ARM_UNISTD_H 722851890Sopenharmony_ci#define __ASM_ARM_UNISTD_H 822851890Sopenharmony_ci#define __NR_OABI_SYSCALL_BASE 0x900000 922851890Sopenharmony_ci#if defined(__thumb__) || defined(__ARM_EABI__) 1022851890Sopenharmony_ci#define __NR_SYSCALL_BASE 0 1122851890Sopenharmony_ci#include <asm/unistd-eabi.h> 1222851890Sopenharmony_ci#else 1322851890Sopenharmony_ci#define __NR_SYSCALL_BASE __NR_OABI_SYSCALL_BASE 1422851890Sopenharmony_ci#include <asm/unistd-oabi.h> 1522851890Sopenharmony_ci#endif 1622851890Sopenharmony_ci#include <asm/unistd-common.h> 1722851890Sopenharmony_ci#define __NR_sync_file_range2 __NR_arm_sync_file_range 1822851890Sopenharmony_ci#define __ARM_NR_BASE (__NR_SYSCALL_BASE+0x0f0000) 1922851890Sopenharmony_ci#define __ARM_NR_breakpoint (__ARM_NR_BASE+1) 2022851890Sopenharmony_ci#define __ARM_NR_cacheflush (__ARM_NR_BASE+2) 2122851890Sopenharmony_ci#define __ARM_NR_usr26 (__ARM_NR_BASE+3) 2222851890Sopenharmony_ci#define __ARM_NR_usr32 (__ARM_NR_BASE+4) 2322851890Sopenharmony_ci#define __ARM_NR_set_tls (__ARM_NR_BASE+5) 2422851890Sopenharmony_ci#define __ARM_NR_get_tls (__ARM_NR_BASE+6) 2522851890Sopenharmony_ci#endif 26