Elliott Hughes | abd6261 | 2013-11-08 11:45:48 -0800 | [diff] [blame] | 1 | /**************************************************************************** |
| 2 | **************************************************************************** |
| 3 | *** |
| 4 | *** This header was automatically generated from a Linux kernel header |
| 5 | *** of the same name, to make information necessary for userspace to |
| 6 | *** call into the kernel available to libc. It contains only constants, |
| 7 | *** structures, and macros generated from the original header, and thus, |
| 8 | *** contains no copyrightable information. |
| 9 | *** |
| 10 | *** To edit the content of this header, modify the corresponding |
| 11 | *** source file (e.g. under external/kernel-headers/original/) then |
| 12 | *** run bionic/libc/kernel/tools/update_all.py |
| 13 | *** |
| 14 | *** Any manual change here will be lost the next time this script will |
| 15 | *** be run. You've been warned! |
| 16 | *** |
| 17 | **************************************************************************** |
| 18 | ****************************************************************************/ |
| 19 | #ifndef _UAPI_ASM_UNISTD_H |
| 20 | #define _UAPI_ASM_UNISTD_H |
| 21 | #include <asm/sgidefs.h> |
| 22 | #if _MIPS_SIM == _MIPS_SIM_ABI32 |
Elliott Hughes | abd6261 | 2013-11-08 11:45:48 -0800 | [diff] [blame] | 23 | #define __NR_Linux 4000 |
Christopher Ferris | d842e43 | 2019-03-07 10:21:59 -0800 | [diff] [blame^] | 24 | #include <asm/unistd_o32.h> |
Elliott Hughes | abd6261 | 2013-11-08 11:45:48 -0800 | [diff] [blame] | 25 | #endif |
Christopher Ferris | 6a9755d | 2017-01-13 14:09:31 -0800 | [diff] [blame] | 26 | #if _MIPS_SIM == _MIPS_SIM_ABI64 |
Elliott Hughes | abd6261 | 2013-11-08 11:45:48 -0800 | [diff] [blame] | 27 | #define __NR_Linux 5000 |
Christopher Ferris | d842e43 | 2019-03-07 10:21:59 -0800 | [diff] [blame^] | 28 | #include <asm/unistd_n64.h> |
Elliott Hughes | abd6261 | 2013-11-08 11:45:48 -0800 | [diff] [blame] | 29 | #endif |
Christopher Ferris | 6a9755d | 2017-01-13 14:09:31 -0800 | [diff] [blame] | 30 | #if _MIPS_SIM == _MIPS_SIM_NABI32 |
Elliott Hughes | abd6261 | 2013-11-08 11:45:48 -0800 | [diff] [blame] | 31 | #define __NR_Linux 6000 |
Christopher Ferris | d842e43 | 2019-03-07 10:21:59 -0800 | [diff] [blame^] | 32 | #include <asm/unistd_n32.h> |
Christopher Ferris | 106b3a8 | 2016-08-24 12:15:38 -0700 | [diff] [blame] | 33 | #endif |
Christopher Ferris | 6a9755d | 2017-01-13 14:09:31 -0800 | [diff] [blame] | 34 | #endif |