1a6b53f03c7c03c5bd28a1d582585b2b86fe70d59Ben Cheng/**************************************************************************** 2a6b53f03c7c03c5bd28a1d582585b2b86fe70d59Ben Cheng **************************************************************************** 3a6b53f03c7c03c5bd28a1d582585b2b86fe70d59Ben Cheng *** 4a6b53f03c7c03c5bd28a1d582585b2b86fe70d59Ben Cheng *** This header was automatically generated from a Linux kernel header 5a6b53f03c7c03c5bd28a1d582585b2b86fe70d59Ben Cheng *** of the same name, to make information necessary for userspace to 6a6b53f03c7c03c5bd28a1d582585b2b86fe70d59Ben Cheng *** call into the kernel available to libc. It contains only constants, 7a6b53f03c7c03c5bd28a1d582585b2b86fe70d59Ben Cheng *** structures, and macros generated from the original header, and thus, 8a6b53f03c7c03c5bd28a1d582585b2b86fe70d59Ben Cheng *** contains no copyrightable information. 9a6b53f03c7c03c5bd28a1d582585b2b86fe70d59Ben Cheng *** 10a6b53f03c7c03c5bd28a1d582585b2b86fe70d59Ben Cheng *** To edit the content of this header, modify the corresponding 11a6b53f03c7c03c5bd28a1d582585b2b86fe70d59Ben Cheng *** source file (e.g. under external/kernel-headers/original/) then 12a6b53f03c7c03c5bd28a1d582585b2b86fe70d59Ben Cheng *** run bionic/libc/kernel/tools/update_all.py 13a6b53f03c7c03c5bd28a1d582585b2b86fe70d59Ben Cheng *** 14a6b53f03c7c03c5bd28a1d582585b2b86fe70d59Ben Cheng *** Any manual change here will be lost the next time this script will 15a6b53f03c7c03c5bd28a1d582585b2b86fe70d59Ben Cheng *** be run. You've been warned! 16a6b53f03c7c03c5bd28a1d582585b2b86fe70d59Ben Cheng *** 17a6b53f03c7c03c5bd28a1d582585b2b86fe70d59Ben Cheng **************************************************************************** 18a6b53f03c7c03c5bd28a1d582585b2b86fe70d59Ben Cheng ****************************************************************************/ 19a6b53f03c7c03c5bd28a1d582585b2b86fe70d59Ben Cheng#ifndef _UAPI__ASM_ARM_UNISTD_H 20a6b53f03c7c03c5bd28a1d582585b2b86fe70d59Ben Cheng#define _UAPI__ASM_ARM_UNISTD_H 21a6b53f03c7c03c5bd28a1d582585b2b86fe70d59Ben Cheng#define __NR_OABI_SYSCALL_BASE 0x900000 22a6b53f03c7c03c5bd28a1d582585b2b86fe70d59Ben Cheng#define __NR_SYSCALL_BASE 0 2348af7cb2e205dcc2f09a1a1b8a1a37c93e1943f0Christopher Ferris#include <asm/unistd-eabi.h> 2448af7cb2e205dcc2f09a1a1b8a1a37c93e1943f0Christopher Ferris#include <asm/unistd-common.h> 25a6b53f03c7c03c5bd28a1d582585b2b86fe70d59Ben Cheng#define __NR_sync_file_range2 __NR_arm_sync_file_range 26106b3a8a7dc03c19a45e322de425ac56aafac358Christopher Ferris#define __ARM_NR_BASE (__NR_SYSCALL_BASE + 0x0f0000) 27d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao#define __ARM_NR_breakpoint (__ARM_NR_BASE + 1) 28d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao#define __ARM_NR_cacheflush (__ARM_NR_BASE + 2) 29d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao#define __ARM_NR_usr26 (__ARM_NR_BASE + 3) 30d7db594b8d1dab36b711bd887a9dd21675c87243Tao Bao#define __ARM_NR_usr32 (__ARM_NR_BASE + 4) 3148af7cb2e205dcc2f09a1a1b8a1a37c93e1943f0Christopher Ferris#define __ARM_NR_set_tls (__ARM_NR_BASE + 5) 32934ec9495505d234b2c2fa284470c2f44aae9de9Christopher Ferris#define __ARM_NR_get_tls (__ARM_NR_BASE + 6) 33a6b53f03c7c03c5bd28a1d582585b2b86fe70d59Ben Cheng#endif 34