diff options
Diffstat (limited to '8/platforms/android-14')
121 files changed, 2061 insertions, 1583 deletions
diff --git a/8/platforms/android-14/arch-arm/usr/include/asm-generic/mman-common.h b/8/platforms/android-14/arch-arm/usr/include/asm-generic/mman-common.h new file mode 100644 index 0000000..157353b --- /dev/null +++ b/8/platforms/android-14/arch-arm/usr/include/asm-generic/mman-common.h @@ -0,0 +1,60 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ +#ifndef __ASM_GENERIC_MMAN_COMMON_H +#define __ASM_GENERIC_MMAN_COMMON_H +#define PROT_READ 0x1 +#define PROT_WRITE 0x2 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define PROT_EXEC 0x4 +#define PROT_SEM 0x8 +#define PROT_NONE 0x0 +#define PROT_GROWSDOWN 0x01000000 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define PROT_GROWSUP 0x02000000 +#define MAP_SHARED 0x01 +#define MAP_PRIVATE 0x02 +#define MAP_TYPE 0x0f +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MAP_FIXED 0x10 +#define MAP_ANONYMOUS 0x20 +#define MAP_UNINITIALIZED 0x0 +#define MS_ASYNC 1 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MS_INVALIDATE 2 +#define MS_SYNC 4 +#define MADV_NORMAL 0 +#define MADV_RANDOM 1 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MADV_SEQUENTIAL 2 +#define MADV_WILLNEED 3 +#define MADV_DONTNEED 4 +#define MADV_REMOVE 9 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MADV_DONTFORK 10 +#define MADV_DOFORK 11 +#define MADV_HWPOISON 100 +#define MADV_SOFT_OFFLINE 101 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MADV_MERGEABLE 12 +#define MADV_UNMERGEABLE 13 +#define MADV_HUGEPAGE 14 +#define MADV_NOHUGEPAGE 15 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MAP_FILE 0 +#endif diff --git a/8/platforms/android-14/arch-arm/usr/include/asm-generic/mman.h b/8/platforms/android-14/arch-arm/usr/include/asm-generic/mman.h index 98d2783..6eaf900 100644 --- a/8/platforms/android-14/arch-arm/usr/include/asm-generic/mman.h +++ b/8/platforms/android-14/arch-arm/usr/include/asm-generic/mman.h @@ -7,40 +7,30 @@ *** structures, and macros generated from the original header, and thus, *** contains no copyrightable information. *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** **************************************************************************** ****************************************************************************/ -#ifndef _ASM_GENERIC_MMAN_H -#define _ASM_GENERIC_MMAN_H - -#define PROT_READ 0x1 -#define PROT_WRITE 0x2 -#define PROT_EXEC 0x4 -#define PROT_SEM 0x8 -#define PROT_NONE 0x0 -#define PROT_GROWSDOWN 0x01000000 -#define PROT_GROWSUP 0x02000000 - -#define MAP_SHARED 0x01 -#define MAP_PRIVATE 0x02 -#define MAP_TYPE 0x0f -#define MAP_FIXED 0x10 -#define MAP_ANONYMOUS 0x20 - -#define MS_ASYNC 1 -#define MS_INVALIDATE 2 -#define MS_SYNC 4 - -#define MADV_NORMAL 0 -#define MADV_RANDOM 1 -#define MADV_SEQUENTIAL 2 -#define MADV_WILLNEED 3 -#define MADV_DONTNEED 4 - -#define MADV_REMOVE 9 -#define MADV_DONTFORK 10 -#define MADV_DOFORK 11 - -#define MAP_ANON MAP_ANONYMOUS -#define MAP_FILE 0 - +#ifndef __ASM_GENERIC_MMAN_H +#define __ASM_GENERIC_MMAN_H +#include <asm-generic/mman-common.h> +#define MAP_GROWSDOWN 0x0100 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MAP_DENYWRITE 0x0800 +#define MAP_EXECUTABLE 0x1000 +#define MAP_LOCKED 0x2000 +#define MAP_NORESERVE 0x4000 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MAP_POPULATE 0x8000 +#define MAP_NONBLOCK 0x10000 +#define MAP_STACK 0x20000 +#define MAP_HUGETLB 0x40000 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MCL_CURRENT 1 +#define MCL_FUTURE 2 #endif diff --git a/8/platforms/android-14/arch-arm/usr/include/asm-generic/pgtable-nopmd.h b/8/platforms/android-14/arch-arm/usr/include/asm-generic/pgtable-nopmd.h new file mode 100644 index 0000000..ac3f40c --- /dev/null +++ b/8/platforms/android-14/arch-arm/usr/include/asm-generic/pgtable-nopmd.h @@ -0,0 +1,48 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ +#ifndef _PGTABLE_NOPMD_H +#define _PGTABLE_NOPMD_H +#ifndef __ASSEMBLY__ +#include <asm-generic/pgtable-nopud.h> +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +struct mm_struct; +#define __PAGETABLE_PMD_FOLDED +typedef struct { pud_t pud; } pmd_t; +#define PMD_SHIFT PUD_SHIFT +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define PTRS_PER_PMD 1 +#define PMD_SIZE (1UL << PMD_SHIFT) +#define PMD_MASK (~(PMD_SIZE-1)) +#define pmd_ERROR(pmd) (pud_ERROR((pmd).pud)) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define pud_populate(mm, pmd, pte) do { } while (0) +#define set_pud(pudptr, pudval) set_pmd((pmd_t *)(pudptr), (pmd_t) { pudval }) +#define pmd_val(x) (pud_val((x).pud)) +#define __pmd(x) ((pmd_t) { __pud(x) } ) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define pud_page(pud) (pmd_page((pmd_t){ pud })) +#define pud_page_vaddr(pud) (pmd_page_vaddr((pmd_t){ pud })) +#define pmd_alloc_one(mm, address) NULL +#define __pmd_free_tlb(tlb, x, a) do { } while (0) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#undef pmd_addr_end +#define pmd_addr_end(addr, end) (end) +#endif +#endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ diff --git a/8/platforms/android-14/arch-arm/usr/include/asm-generic/socket.h b/8/platforms/android-14/arch-arm/usr/include/asm-generic/socket.h new file mode 100644 index 0000000..fb3876e --- /dev/null +++ b/8/platforms/android-14/arch-arm/usr/include/asm-generic/socket.h @@ -0,0 +1,81 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ +#ifndef __ASM_GENERIC_SOCKET_H +#define __ASM_GENERIC_SOCKET_H +#include <asm/sockios.h> +#define SOL_SOCKET 1 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_DEBUG 1 +#define SO_REUSEADDR 2 +#define SO_TYPE 3 +#define SO_ERROR 4 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_DONTROUTE 5 +#define SO_BROADCAST 6 +#define SO_SNDBUF 7 +#define SO_RCVBUF 8 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_SNDBUFFORCE 32 +#define SO_RCVBUFFORCE 33 +#define SO_KEEPALIVE 9 +#define SO_OOBINLINE 10 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_NO_CHECK 11 +#define SO_PRIORITY 12 +#define SO_LINGER 13 +#define SO_BSDCOMPAT 14 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#ifndef SO_PASSCRED +#define SO_PASSCRED 16 +#define SO_PEERCRED 17 +#define SO_RCVLOWAT 18 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_SNDLOWAT 19 +#define SO_RCVTIMEO 20 +#define SO_SNDTIMEO 21 +#endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_SECURITY_AUTHENTICATION 22 +#define SO_SECURITY_ENCRYPTION_TRANSPORT 23 +#define SO_SECURITY_ENCRYPTION_NETWORK 24 +#define SO_BINDTODEVICE 25 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_ATTACH_FILTER 26 +#define SO_DETACH_FILTER 27 +#define SO_PEERNAME 28 +#define SO_TIMESTAMP 29 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SCM_TIMESTAMP SO_TIMESTAMP +#define SO_ACCEPTCONN 30 +#define SO_PEERSEC 31 +#define SO_PASSSEC 34 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_TIMESTAMPNS 35 +#define SCM_TIMESTAMPNS SO_TIMESTAMPNS +#define SO_MARK 36 +#define SO_TIMESTAMPING 37 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SCM_TIMESTAMPING SO_TIMESTAMPING +#define SO_PROTOCOL 38 +#define SO_DOMAIN 39 +#define SO_RXQ_OVFL 40 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_WIFI_STATUS 41 +#define SCM_WIFI_STATUS SO_WIFI_STATUS +#endif diff --git a/8/platforms/android-14/arch-mips/usr/include/asm/asmmacro.h b/8/platforms/android-14/arch-arm/usr/include/asm-generic/swab.h index e1e9804..8279332 100644 --- a/8/platforms/android-14/arch-mips/usr/include/asm/asmmacro.h +++ b/8/platforms/android-14/arch-arm/usr/include/asm-generic/swab.h @@ -16,8 +16,14 @@ *** **************************************************************************** ****************************************************************************/ -#ifndef _ASM_ASMMACRO_H -#define _ASM_ASMMACRO_H -#include <asm/hazards.h> +#ifndef _ASM_GENERIC_SWAB_H +#define _ASM_GENERIC_SWAB_H +#include <asm/bitsperlong.h> +#if __BITS_PER_LONG == 32 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#if defined(__GNUC__) && (!defined(__STRICT_ANSI__) || defined(__KERNEL__)) +#define __SWAB_64_THRU_32__ +#endif #endif /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#endif diff --git a/8/platforms/android-14/arch-arm/usr/include/asm/socket.h b/8/platforms/android-14/arch-arm/usr/include/asm/socket.h index 1f0050a..0741bad 100644 --- a/8/platforms/android-14/arch-arm/usr/include/asm/socket.h +++ b/8/platforms/android-14/arch-arm/usr/include/asm/socket.h @@ -7,55 +7,73 @@ *** structures, and macros generated from the original header, and thus, *** contains no copyrightable information. *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** **************************************************************************** ****************************************************************************/ #ifndef _ASMARM_SOCKET_H #define _ASMARM_SOCKET_H - #include <asm/sockios.h> - #define SOL_SOCKET 1 - +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SO_DEBUG 1 #define SO_REUSEADDR 2 #define SO_TYPE 3 #define SO_ERROR 4 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SO_DONTROUTE 5 #define SO_BROADCAST 6 #define SO_SNDBUF 7 #define SO_RCVBUF 8 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SO_SNDBUFFORCE 32 #define SO_RCVBUFFORCE 33 #define SO_KEEPALIVE 9 #define SO_OOBINLINE 10 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SO_NO_CHECK 11 #define SO_PRIORITY 12 #define SO_LINGER 13 #define SO_BSDCOMPAT 14 - +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SO_PASSCRED 16 #define SO_PEERCRED 17 #define SO_RCVLOWAT 18 #define SO_SNDLOWAT 19 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SO_RCVTIMEO 20 #define SO_SNDTIMEO 21 - #define SO_SECURITY_AUTHENTICATION 22 #define SO_SECURITY_ENCRYPTION_TRANSPORT 23 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SO_SECURITY_ENCRYPTION_NETWORK 24 - #define SO_BINDTODEVICE 25 - #define SO_ATTACH_FILTER 26 #define SO_DETACH_FILTER 27 - +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SO_PEERNAME 28 #define SO_TIMESTAMP 29 #define SCM_TIMESTAMP SO_TIMESTAMP - #define SO_ACCEPTCONN 30 - +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SO_PEERSEC 31 #define SO_PASSSEC 34 - +#define SO_TIMESTAMPNS 35 +#define SCM_TIMESTAMPNS SO_TIMESTAMPNS +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_MARK 36 +#define SO_TIMESTAMPING 37 +#define SCM_TIMESTAMPING SO_TIMESTAMPING +#define SO_PROTOCOL 38 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_DOMAIN 39 +#define SO_RXQ_OVFL 40 +#define SO_WIFI_STATUS 41 +#define SCM_WIFI_STATUS SO_WIFI_STATUS +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #endif diff --git a/8/platforms/android-14/arch-arm/usr/include/asm/unistd.h b/8/platforms/android-14/arch-arm/usr/include/asm/unistd.h index 9a30ddc..454ed89 100644 --- a/8/platforms/android-14/arch-arm/usr/include/asm/unistd.h +++ b/8/platforms/android-14/arch-arm/usr/include/asm/unistd.h @@ -7,353 +7,480 @@ *** structures, and macros generated from the original header, and thus, *** contains no copyrightable information. *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** **************************************************************************** ****************************************************************************/ #ifndef __ASM_ARM_UNISTD_H #define __ASM_ARM_UNISTD_H - #define __NR_OABI_SYSCALL_BASE 0x900000 - #if defined(__thumb__) || defined(__ARM_EABI__) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_SYSCALL_BASE 0 #else #define __NR_SYSCALL_BASE __NR_OABI_SYSCALL_BASE #endif - +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_restart_syscall (__NR_SYSCALL_BASE+ 0) #define __NR_exit (__NR_SYSCALL_BASE+ 1) #define __NR_fork (__NR_SYSCALL_BASE+ 2) #define __NR_read (__NR_SYSCALL_BASE+ 3) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_write (__NR_SYSCALL_BASE+ 4) #define __NR_open (__NR_SYSCALL_BASE+ 5) #define __NR_close (__NR_SYSCALL_BASE+ 6) - #define __NR_creat (__NR_SYSCALL_BASE+ 8) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_link (__NR_SYSCALL_BASE+ 9) #define __NR_unlink (__NR_SYSCALL_BASE+ 10) #define __NR_execve (__NR_SYSCALL_BASE+ 11) #define __NR_chdir (__NR_SYSCALL_BASE+ 12) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_time (__NR_SYSCALL_BASE+ 13) #define __NR_mknod (__NR_SYSCALL_BASE+ 14) #define __NR_chmod (__NR_SYSCALL_BASE+ 15) #define __NR_lchown (__NR_SYSCALL_BASE+ 16) - +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_lseek (__NR_SYSCALL_BASE+ 19) #define __NR_getpid (__NR_SYSCALL_BASE+ 20) #define __NR_mount (__NR_SYSCALL_BASE+ 21) #define __NR_umount (__NR_SYSCALL_BASE+ 22) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_setuid (__NR_SYSCALL_BASE+ 23) #define __NR_getuid (__NR_SYSCALL_BASE+ 24) #define __NR_stime (__NR_SYSCALL_BASE+ 25) #define __NR_ptrace (__NR_SYSCALL_BASE+ 26) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_alarm (__NR_SYSCALL_BASE+ 27) - #define __NR_pause (__NR_SYSCALL_BASE+ 29) #define __NR_utime (__NR_SYSCALL_BASE+ 30) - #define __NR_access (__NR_SYSCALL_BASE+ 33) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_nice (__NR_SYSCALL_BASE+ 34) - #define __NR_sync (__NR_SYSCALL_BASE+ 36) #define __NR_kill (__NR_SYSCALL_BASE+ 37) #define __NR_rename (__NR_SYSCALL_BASE+ 38) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_mkdir (__NR_SYSCALL_BASE+ 39) #define __NR_rmdir (__NR_SYSCALL_BASE+ 40) #define __NR_dup (__NR_SYSCALL_BASE+ 41) #define __NR_pipe (__NR_SYSCALL_BASE+ 42) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_times (__NR_SYSCALL_BASE+ 43) - #define __NR_brk (__NR_SYSCALL_BASE+ 45) #define __NR_setgid (__NR_SYSCALL_BASE+ 46) #define __NR_getgid (__NR_SYSCALL_BASE+ 47) - +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_geteuid (__NR_SYSCALL_BASE+ 49) #define __NR_getegid (__NR_SYSCALL_BASE+ 50) #define __NR_acct (__NR_SYSCALL_BASE+ 51) #define __NR_umount2 (__NR_SYSCALL_BASE+ 52) - +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_ioctl (__NR_SYSCALL_BASE+ 54) #define __NR_fcntl (__NR_SYSCALL_BASE+ 55) - #define __NR_setpgid (__NR_SYSCALL_BASE+ 57) - #define __NR_umask (__NR_SYSCALL_BASE+ 60) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_chroot (__NR_SYSCALL_BASE+ 61) #define __NR_ustat (__NR_SYSCALL_BASE+ 62) #define __NR_dup2 (__NR_SYSCALL_BASE+ 63) #define __NR_getppid (__NR_SYSCALL_BASE+ 64) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_getpgrp (__NR_SYSCALL_BASE+ 65) #define __NR_setsid (__NR_SYSCALL_BASE+ 66) #define __NR_sigaction (__NR_SYSCALL_BASE+ 67) - #define __NR_setreuid (__NR_SYSCALL_BASE+ 70) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_setregid (__NR_SYSCALL_BASE+ 71) #define __NR_sigsuspend (__NR_SYSCALL_BASE+ 72) #define __NR_sigpending (__NR_SYSCALL_BASE+ 73) #define __NR_sethostname (__NR_SYSCALL_BASE+ 74) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_setrlimit (__NR_SYSCALL_BASE+ 75) #define __NR_getrlimit (__NR_SYSCALL_BASE+ 76) #define __NR_getrusage (__NR_SYSCALL_BASE+ 77) #define __NR_gettimeofday (__NR_SYSCALL_BASE+ 78) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_settimeofday (__NR_SYSCALL_BASE+ 79) #define __NR_getgroups (__NR_SYSCALL_BASE+ 80) #define __NR_setgroups (__NR_SYSCALL_BASE+ 81) #define __NR_select (__NR_SYSCALL_BASE+ 82) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_symlink (__NR_SYSCALL_BASE+ 83) - #define __NR_readlink (__NR_SYSCALL_BASE+ 85) #define __NR_uselib (__NR_SYSCALL_BASE+ 86) #define __NR_swapon (__NR_SYSCALL_BASE+ 87) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_reboot (__NR_SYSCALL_BASE+ 88) #define __NR_readdir (__NR_SYSCALL_BASE+ 89) #define __NR_mmap (__NR_SYSCALL_BASE+ 90) #define __NR_munmap (__NR_SYSCALL_BASE+ 91) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_truncate (__NR_SYSCALL_BASE+ 92) #define __NR_ftruncate (__NR_SYSCALL_BASE+ 93) #define __NR_fchmod (__NR_SYSCALL_BASE+ 94) #define __NR_fchown (__NR_SYSCALL_BASE+ 95) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_getpriority (__NR_SYSCALL_BASE+ 96) #define __NR_setpriority (__NR_SYSCALL_BASE+ 97) - #define __NR_statfs (__NR_SYSCALL_BASE+ 99) #define __NR_fstatfs (__NR_SYSCALL_BASE+100) - +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_socketcall (__NR_SYSCALL_BASE+102) #define __NR_syslog (__NR_SYSCALL_BASE+103) #define __NR_setitimer (__NR_SYSCALL_BASE+104) #define __NR_getitimer (__NR_SYSCALL_BASE+105) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_stat (__NR_SYSCALL_BASE+106) #define __NR_lstat (__NR_SYSCALL_BASE+107) #define __NR_fstat (__NR_SYSCALL_BASE+108) - #define __NR_vhangup (__NR_SYSCALL_BASE+111) - +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_syscall (__NR_SYSCALL_BASE+113) #define __NR_wait4 (__NR_SYSCALL_BASE+114) #define __NR_swapoff (__NR_SYSCALL_BASE+115) #define __NR_sysinfo (__NR_SYSCALL_BASE+116) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_ipc (__NR_SYSCALL_BASE+117) #define __NR_fsync (__NR_SYSCALL_BASE+118) #define __NR_sigreturn (__NR_SYSCALL_BASE+119) #define __NR_clone (__NR_SYSCALL_BASE+120) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_setdomainname (__NR_SYSCALL_BASE+121) #define __NR_uname (__NR_SYSCALL_BASE+122) - #define __NR_adjtimex (__NR_SYSCALL_BASE+124) #define __NR_mprotect (__NR_SYSCALL_BASE+125) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_sigprocmask (__NR_SYSCALL_BASE+126) - #define __NR_init_module (__NR_SYSCALL_BASE+128) #define __NR_delete_module (__NR_SYSCALL_BASE+129) - #define __NR_quotactl (__NR_SYSCALL_BASE+131) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_getpgid (__NR_SYSCALL_BASE+132) #define __NR_fchdir (__NR_SYSCALL_BASE+133) #define __NR_bdflush (__NR_SYSCALL_BASE+134) #define __NR_sysfs (__NR_SYSCALL_BASE+135) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_personality (__NR_SYSCALL_BASE+136) - #define __NR_setfsuid (__NR_SYSCALL_BASE+138) #define __NR_setfsgid (__NR_SYSCALL_BASE+139) #define __NR__llseek (__NR_SYSCALL_BASE+140) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_getdents (__NR_SYSCALL_BASE+141) #define __NR__newselect (__NR_SYSCALL_BASE+142) #define __NR_flock (__NR_SYSCALL_BASE+143) #define __NR_msync (__NR_SYSCALL_BASE+144) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_readv (__NR_SYSCALL_BASE+145) #define __NR_writev (__NR_SYSCALL_BASE+146) #define __NR_getsid (__NR_SYSCALL_BASE+147) #define __NR_fdatasync (__NR_SYSCALL_BASE+148) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR__sysctl (__NR_SYSCALL_BASE+149) #define __NR_mlock (__NR_SYSCALL_BASE+150) #define __NR_munlock (__NR_SYSCALL_BASE+151) #define __NR_mlockall (__NR_SYSCALL_BASE+152) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_munlockall (__NR_SYSCALL_BASE+153) #define __NR_sched_setparam (__NR_SYSCALL_BASE+154) #define __NR_sched_getparam (__NR_SYSCALL_BASE+155) #define __NR_sched_setscheduler (__NR_SYSCALL_BASE+156) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_sched_getscheduler (__NR_SYSCALL_BASE+157) #define __NR_sched_yield (__NR_SYSCALL_BASE+158) #define __NR_sched_get_priority_max (__NR_SYSCALL_BASE+159) #define __NR_sched_get_priority_min (__NR_SYSCALL_BASE+160) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_sched_rr_get_interval (__NR_SYSCALL_BASE+161) #define __NR_nanosleep (__NR_SYSCALL_BASE+162) #define __NR_mremap (__NR_SYSCALL_BASE+163) #define __NR_setresuid (__NR_SYSCALL_BASE+164) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_getresuid (__NR_SYSCALL_BASE+165) - #define __NR_poll (__NR_SYSCALL_BASE+168) #define __NR_nfsservctl (__NR_SYSCALL_BASE+169) #define __NR_setresgid (__NR_SYSCALL_BASE+170) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_getresgid (__NR_SYSCALL_BASE+171) #define __NR_prctl (__NR_SYSCALL_BASE+172) #define __NR_rt_sigreturn (__NR_SYSCALL_BASE+173) #define __NR_rt_sigaction (__NR_SYSCALL_BASE+174) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_rt_sigprocmask (__NR_SYSCALL_BASE+175) #define __NR_rt_sigpending (__NR_SYSCALL_BASE+176) #define __NR_rt_sigtimedwait (__NR_SYSCALL_BASE+177) #define __NR_rt_sigqueueinfo (__NR_SYSCALL_BASE+178) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_rt_sigsuspend (__NR_SYSCALL_BASE+179) #define __NR_pread64 (__NR_SYSCALL_BASE+180) #define __NR_pwrite64 (__NR_SYSCALL_BASE+181) #define __NR_chown (__NR_SYSCALL_BASE+182) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_getcwd (__NR_SYSCALL_BASE+183) #define __NR_capget (__NR_SYSCALL_BASE+184) #define __NR_capset (__NR_SYSCALL_BASE+185) #define __NR_sigaltstack (__NR_SYSCALL_BASE+186) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_sendfile (__NR_SYSCALL_BASE+187) - #define __NR_vfork (__NR_SYSCALL_BASE+190) #define __NR_ugetrlimit (__NR_SYSCALL_BASE+191) #define __NR_mmap2 (__NR_SYSCALL_BASE+192) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_truncate64 (__NR_SYSCALL_BASE+193) #define __NR_ftruncate64 (__NR_SYSCALL_BASE+194) #define __NR_stat64 (__NR_SYSCALL_BASE+195) #define __NR_lstat64 (__NR_SYSCALL_BASE+196) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_fstat64 (__NR_SYSCALL_BASE+197) #define __NR_lchown32 (__NR_SYSCALL_BASE+198) #define __NR_getuid32 (__NR_SYSCALL_BASE+199) #define __NR_getgid32 (__NR_SYSCALL_BASE+200) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_geteuid32 (__NR_SYSCALL_BASE+201) #define __NR_getegid32 (__NR_SYSCALL_BASE+202) #define __NR_setreuid32 (__NR_SYSCALL_BASE+203) #define __NR_setregid32 (__NR_SYSCALL_BASE+204) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_getgroups32 (__NR_SYSCALL_BASE+205) #define __NR_setgroups32 (__NR_SYSCALL_BASE+206) #define __NR_fchown32 (__NR_SYSCALL_BASE+207) #define __NR_setresuid32 (__NR_SYSCALL_BASE+208) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_getresuid32 (__NR_SYSCALL_BASE+209) #define __NR_setresgid32 (__NR_SYSCALL_BASE+210) #define __NR_getresgid32 (__NR_SYSCALL_BASE+211) #define __NR_chown32 (__NR_SYSCALL_BASE+212) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_setuid32 (__NR_SYSCALL_BASE+213) #define __NR_setgid32 (__NR_SYSCALL_BASE+214) #define __NR_setfsuid32 (__NR_SYSCALL_BASE+215) #define __NR_setfsgid32 (__NR_SYSCALL_BASE+216) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_getdents64 (__NR_SYSCALL_BASE+217) #define __NR_pivot_root (__NR_SYSCALL_BASE+218) #define __NR_mincore (__NR_SYSCALL_BASE+219) #define __NR_madvise (__NR_SYSCALL_BASE+220) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_fcntl64 (__NR_SYSCALL_BASE+221) - #define __NR_gettid (__NR_SYSCALL_BASE+224) #define __NR_readahead (__NR_SYSCALL_BASE+225) #define __NR_setxattr (__NR_SYSCALL_BASE+226) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_lsetxattr (__NR_SYSCALL_BASE+227) #define __NR_fsetxattr (__NR_SYSCALL_BASE+228) #define __NR_getxattr (__NR_SYSCALL_BASE+229) #define __NR_lgetxattr (__NR_SYSCALL_BASE+230) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_fgetxattr (__NR_SYSCALL_BASE+231) #define __NR_listxattr (__NR_SYSCALL_BASE+232) #define __NR_llistxattr (__NR_SYSCALL_BASE+233) #define __NR_flistxattr (__NR_SYSCALL_BASE+234) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_removexattr (__NR_SYSCALL_BASE+235) #define __NR_lremovexattr (__NR_SYSCALL_BASE+236) #define __NR_fremovexattr (__NR_SYSCALL_BASE+237) #define __NR_tkill (__NR_SYSCALL_BASE+238) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_sendfile64 (__NR_SYSCALL_BASE+239) #define __NR_futex (__NR_SYSCALL_BASE+240) #define __NR_sched_setaffinity (__NR_SYSCALL_BASE+241) #define __NR_sched_getaffinity (__NR_SYSCALL_BASE+242) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_io_setup (__NR_SYSCALL_BASE+243) #define __NR_io_destroy (__NR_SYSCALL_BASE+244) #define __NR_io_getevents (__NR_SYSCALL_BASE+245) #define __NR_io_submit (__NR_SYSCALL_BASE+246) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_io_cancel (__NR_SYSCALL_BASE+247) #define __NR_exit_group (__NR_SYSCALL_BASE+248) #define __NR_lookup_dcookie (__NR_SYSCALL_BASE+249) #define __NR_epoll_create (__NR_SYSCALL_BASE+250) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_epoll_ctl (__NR_SYSCALL_BASE+251) #define __NR_epoll_wait (__NR_SYSCALL_BASE+252) #define __NR_remap_file_pages (__NR_SYSCALL_BASE+253) - #define __NR_set_tid_address (__NR_SYSCALL_BASE+256) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_timer_create (__NR_SYSCALL_BASE+257) #define __NR_timer_settime (__NR_SYSCALL_BASE+258) #define __NR_timer_gettime (__NR_SYSCALL_BASE+259) #define __NR_timer_getoverrun (__NR_SYSCALL_BASE+260) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_timer_delete (__NR_SYSCALL_BASE+261) #define __NR_clock_settime (__NR_SYSCALL_BASE+262) #define __NR_clock_gettime (__NR_SYSCALL_BASE+263) #define __NR_clock_getres (__NR_SYSCALL_BASE+264) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_clock_nanosleep (__NR_SYSCALL_BASE+265) #define __NR_statfs64 (__NR_SYSCALL_BASE+266) #define __NR_fstatfs64 (__NR_SYSCALL_BASE+267) #define __NR_tgkill (__NR_SYSCALL_BASE+268) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_utimes (__NR_SYSCALL_BASE+269) #define __NR_arm_fadvise64_64 (__NR_SYSCALL_BASE+270) #define __NR_pciconfig_iobase (__NR_SYSCALL_BASE+271) #define __NR_pciconfig_read (__NR_SYSCALL_BASE+272) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_pciconfig_write (__NR_SYSCALL_BASE+273) #define __NR_mq_open (__NR_SYSCALL_BASE+274) #define __NR_mq_unlink (__NR_SYSCALL_BASE+275) #define __NR_mq_timedsend (__NR_SYSCALL_BASE+276) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_mq_timedreceive (__NR_SYSCALL_BASE+277) #define __NR_mq_notify (__NR_SYSCALL_BASE+278) #define __NR_mq_getsetattr (__NR_SYSCALL_BASE+279) #define __NR_waitid (__NR_SYSCALL_BASE+280) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_socket (__NR_SYSCALL_BASE+281) #define __NR_bind (__NR_SYSCALL_BASE+282) #define __NR_connect (__NR_SYSCALL_BASE+283) #define __NR_listen (__NR_SYSCALL_BASE+284) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_accept (__NR_SYSCALL_BASE+285) #define __NR_getsockname (__NR_SYSCALL_BASE+286) #define __NR_getpeername (__NR_SYSCALL_BASE+287) #define __NR_socketpair (__NR_SYSCALL_BASE+288) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_send (__NR_SYSCALL_BASE+289) #define __NR_sendto (__NR_SYSCALL_BASE+290) #define __NR_recv (__NR_SYSCALL_BASE+291) #define __NR_recvfrom (__NR_SYSCALL_BASE+292) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_shutdown (__NR_SYSCALL_BASE+293) #define __NR_setsockopt (__NR_SYSCALL_BASE+294) #define __NR_getsockopt (__NR_SYSCALL_BASE+295) #define __NR_sendmsg (__NR_SYSCALL_BASE+296) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_recvmsg (__NR_SYSCALL_BASE+297) #define __NR_semop (__NR_SYSCALL_BASE+298) #define __NR_semget (__NR_SYSCALL_BASE+299) #define __NR_semctl (__NR_SYSCALL_BASE+300) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_msgsnd (__NR_SYSCALL_BASE+301) #define __NR_msgrcv (__NR_SYSCALL_BASE+302) #define __NR_msgget (__NR_SYSCALL_BASE+303) #define __NR_msgctl (__NR_SYSCALL_BASE+304) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_shmat (__NR_SYSCALL_BASE+305) #define __NR_shmdt (__NR_SYSCALL_BASE+306) #define __NR_shmget (__NR_SYSCALL_BASE+307) #define __NR_shmctl (__NR_SYSCALL_BASE+308) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_add_key (__NR_SYSCALL_BASE+309) #define __NR_request_key (__NR_SYSCALL_BASE+310) #define __NR_keyctl (__NR_SYSCALL_BASE+311) #define __NR_semtimedop (__NR_SYSCALL_BASE+312) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_vserver (__NR_SYSCALL_BASE+313) #define __NR_ioprio_set (__NR_SYSCALL_BASE+314) #define __NR_ioprio_get (__NR_SYSCALL_BASE+315) #define __NR_inotify_init (__NR_SYSCALL_BASE+316) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_inotify_add_watch (__NR_SYSCALL_BASE+317) #define __NR_inotify_rm_watch (__NR_SYSCALL_BASE+318) #define __NR_mbind (__NR_SYSCALL_BASE+319) #define __NR_get_mempolicy (__NR_SYSCALL_BASE+320) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_set_mempolicy (__NR_SYSCALL_BASE+321) - +#define __NR_openat (__NR_SYSCALL_BASE+322) +#define __NR_mkdirat (__NR_SYSCALL_BASE+323) +#define __NR_mknodat (__NR_SYSCALL_BASE+324) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_fchownat (__NR_SYSCALL_BASE+325) +#define __NR_futimesat (__NR_SYSCALL_BASE+326) +#define __NR_fstatat64 (__NR_SYSCALL_BASE+327) +#define __NR_unlinkat (__NR_SYSCALL_BASE+328) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_renameat (__NR_SYSCALL_BASE+329) +#define __NR_linkat (__NR_SYSCALL_BASE+330) +#define __NR_symlinkat (__NR_SYSCALL_BASE+331) +#define __NR_readlinkat (__NR_SYSCALL_BASE+332) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_fchmodat (__NR_SYSCALL_BASE+333) +#define __NR_faccessat (__NR_SYSCALL_BASE+334) +#define __NR_pselect6 (__NR_SYSCALL_BASE+335) +#define __NR_ppoll (__NR_SYSCALL_BASE+336) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_unshare (__NR_SYSCALL_BASE+337) +#define __NR_set_robust_list (__NR_SYSCALL_BASE+338) +#define __NR_get_robust_list (__NR_SYSCALL_BASE+339) +#define __NR_splice (__NR_SYSCALL_BASE+340) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_arm_sync_file_range (__NR_SYSCALL_BASE+341) +#define __NR_sync_file_range2 __NR_arm_sync_file_range +#define __NR_tee (__NR_SYSCALL_BASE+342) +#define __NR_vmsplice (__NR_SYSCALL_BASE+343) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_move_pages (__NR_SYSCALL_BASE+344) +#define __NR_getcpu (__NR_SYSCALL_BASE+345) +#define __NR_epoll_pwait (__NR_SYSCALL_BASE+346) +#define __NR_kexec_load (__NR_SYSCALL_BASE+347) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_utimensat (__NR_SYSCALL_BASE+348) +#define __NR_signalfd (__NR_SYSCALL_BASE+349) +#define __NR_timerfd_create (__NR_SYSCALL_BASE+350) +#define __NR_eventfd (__NR_SYSCALL_BASE+351) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_fallocate (__NR_SYSCALL_BASE+352) +#define __NR_timerfd_settime (__NR_SYSCALL_BASE+353) +#define __NR_timerfd_gettime (__NR_SYSCALL_BASE+354) +#define __NR_signalfd4 (__NR_SYSCALL_BASE+355) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_eventfd2 (__NR_SYSCALL_BASE+356) +#define __NR_epoll_create1 (__NR_SYSCALL_BASE+357) +#define __NR_dup3 (__NR_SYSCALL_BASE+358) +#define __NR_pipe2 (__NR_SYSCALL_BASE+359) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_inotify_init1 (__NR_SYSCALL_BASE+360) +#define __NR_preadv (__NR_SYSCALL_BASE+361) +#define __NR_pwritev (__NR_SYSCALL_BASE+362) +#define __NR_rt_tgsigqueueinfo (__NR_SYSCALL_BASE+363) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_perf_event_open (__NR_SYSCALL_BASE+364) +#define __NR_recvmmsg (__NR_SYSCALL_BASE+365) +#define __NR_accept4 (__NR_SYSCALL_BASE+366) +#define __NR_fanotify_init (__NR_SYSCALL_BASE+367) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_fanotify_mark (__NR_SYSCALL_BASE+368) +#define __NR_prlimit64 (__NR_SYSCALL_BASE+369) +#define __NR_name_to_handle_at (__NR_SYSCALL_BASE+370) +#define __NR_open_by_handle_at (__NR_SYSCALL_BASE+371) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_clock_adjtime (__NR_SYSCALL_BASE+372) +#define __NR_syncfs (__NR_SYSCALL_BASE+373) +#define __NR_sendmmsg (__NR_SYSCALL_BASE+374) +#define __NR_setns (__NR_SYSCALL_BASE+375) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_process_vm_readv (__NR_SYSCALL_BASE+376) +#define __NR_process_vm_writev (__NR_SYSCALL_BASE+377) #define __ARM_NR_BASE (__NR_SYSCALL_BASE+0x0f0000) #define __ARM_NR_breakpoint (__ARM_NR_BASE+1) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __ARM_NR_cacheflush (__ARM_NR_BASE+2) #define __ARM_NR_usr26 (__ARM_NR_BASE+3) #define __ARM_NR_usr32 (__ARM_NR_BASE+4) #define __ARM_NR_set_tls (__ARM_NR_BASE+5) - -#if defined(__ARM_EABI__) && !defined(__KERNEL__) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#ifdef __ARM_EABI__ #undef __NR_time #undef __NR_umount #undef __NR_stime +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #undef __NR_alarm #undef __NR_utime #undef __NR_getrlimit #undef __NR_select +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #undef __NR_readdir #undef __NR_mmap #undef __NR_socketcall #undef __NR_syscall +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #undef __NR_ipc #endif - #endif diff --git a/8/platforms/android-14/arch-arm/usr/include/fenv.h b/8/platforms/android-14/arch-arm/usr/include/fenv.h index e7a8860..534b12c 100644 --- a/8/platforms/android-14/arch-arm/usr/include/fenv.h +++ b/8/platforms/android-14/arch-arm/usr/include/fenv.h @@ -29,10 +29,12 @@ #ifndef _FENV_H_ #define _FENV_H_ -#include <sys/_types.h> +#include <sys/types.h> -typedef __uint32_t fenv_t; -typedef __uint32_t fexcept_t; +__BEGIN_DECLS + +typedef uint32_t fenv_t; +typedef uint32_t fexcept_t; /* Exception flags */ #define FE_INVALID 0x0001 @@ -50,7 +52,6 @@ typedef __uint32_t fexcept_t; #define FE_DOWNWARD 0x0003 #define _ROUND_MASK (FE_TONEAREST | FE_DOWNWARD | \ FE_UPWARD | FE_TOWARDZERO) -__BEGIN_DECLS /* Default floating-point environment */ extern const fenv_t __fe_dfl_env; diff --git a/8/platforms/android-14/arch-arm/usr/include/link.h b/8/platforms/android-14/arch-arm/usr/include/link.h new file mode 100644 index 0000000..842b448 --- /dev/null +++ b/8/platforms/android-14/arch-arm/usr/include/link.h @@ -0,0 +1,55 @@ +/* + * Copyright (C) 2012 The Android Open Source Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ +#ifndef _LINK_H_ +#define _LINK_H_ + +#include <sys/types.h> +#include <elf.h> + +__BEGIN_DECLS + +/* bionic is currently only 32-bit. */ +#define ElfW(type) Elf32_##type + +struct dl_phdr_info { + ElfW(Addr) dlpi_addr; + const char* dlpi_name; + const ElfW(Phdr)* dlpi_phdr; + ElfW(Half) dlpi_phnum; +}; + +#ifdef __arm__ +typedef long unsigned int* _Unwind_Ptr; +_Unwind_Ptr dl_unwind_find_exidx(_Unwind_Ptr pc, int* pcount); +#else +int dl_iterate_phdr(int (*cb)(struct dl_phdr_info*, size_t, void*), void*); +#endif + +__END_DECLS + +#endif /* _LINK_H_ */ diff --git a/8/platforms/android-14/arch-arm/usr/include/linux/icmp.h b/8/platforms/android-14/arch-arm/usr/include/linux/icmp.h index c5b58bb..d69a0e2 100644 --- a/8/platforms/android-14/arch-arm/usr/include/linux/icmp.h +++ b/8/platforms/android-14/arch-arm/usr/include/linux/icmp.h @@ -66,7 +66,7 @@ struct icmphdr { } echo; __u32 gateway; struct { - __u16 __unused_field; + __u16 __linux_unused; __u16 mtu; } frag; } un; diff --git a/8/platforms/android-14/arch-arm/usr/include/linux/sysctl.h b/8/platforms/android-14/arch-arm/usr/include/linux/sysctl.h index 329e561..730c740 100644 --- a/8/platforms/android-14/arch-arm/usr/include/linux/sysctl.h +++ b/8/platforms/android-14/arch-arm/usr/include/linux/sysctl.h @@ -28,7 +28,7 @@ struct __sysctl_args { size_t __user *oldlenp; void __user *newval; size_t newlen; - unsigned long __unused[4]; + unsigned long __linux_unused[4]; }; enum diff --git a/8/platforms/android-14/arch-arm/usr/include/machine/_types.h b/8/platforms/android-14/arch-arm/usr/include/machine/_types.h index 6d10e12..3e779ca 100644 --- a/8/platforms/android-14/arch-arm/usr/include/machine/_types.h +++ b/8/platforms/android-14/arch-arm/usr/include/machine/_types.h @@ -46,8 +46,6 @@ typedef long ssize_t; typedef long ptrdiff_t; #endif -//#include <linux/types.h> - /* 7.18.1.1 Exact-width integer types */ typedef __signed char __int8_t; typedef unsigned char __uint8_t; diff --git a/8/platforms/android-14/arch-arm/usr/include/machine/asm.h b/8/platforms/android-14/arch-arm/usr/include/machine/asm.h index c7bd017..047e54d 100644 --- a/8/platforms/android-14/arch-arm/usr/include/machine/asm.h +++ b/8/platforms/android-14/arch-arm/usr/include/machine/asm.h @@ -70,7 +70,13 @@ #define _ASM_TYPE_FUNCTION #function #define _ASM_TYPE_OBJECT #object #define _ENTRY(x) \ - .text; _ALIGN_TEXT; .globl x; .type x,_ASM_TYPE_FUNCTION; x: + .text; _ALIGN_TEXT; .globl x; .type x,_ASM_TYPE_FUNCTION; x: .fnstart + +#define _ASM_SIZE(x) .size x, .-x; + +#define _END(x) \ + .fnend; \ + _ASM_SIZE(x) #ifdef GPROF # ifdef __ELF__ @@ -86,8 +92,16 @@ #define ENTRY(y) _ENTRY(_C_LABEL(y)); _PROF_PROLOGUE #define ENTRY_NP(y) _ENTRY(_C_LABEL(y)) +#define END(y) _END(_C_LABEL(y)) #define ASENTRY(y) _ENTRY(_ASM_LABEL(y)); _PROF_PROLOGUE #define ASENTRY_NP(y) _ENTRY(_ASM_LABEL(y)) +#define ASEND(y) _END(_ASM_LABEL(y)) + +#ifdef __ELF__ +#define ENTRY_PRIVATE(y) ENTRY(y); .hidden _C_LABEL(y) +#else +#define ENTRY_PRIVATE(y) ENTRY(y) +#endif #define ASMSTR .asciz diff --git a/8/platforms/android-14/arch-arm/usr/include/machine/cpu-features.h b/8/platforms/android-14/arch-arm/usr/include/machine/cpu-features.h index f836006..80d3fda 100644 --- a/8/platforms/android-14/arch-arm/usr/include/machine/cpu-features.h +++ b/8/platforms/android-14/arch-arm/usr/include/machine/cpu-features.h @@ -38,7 +38,7 @@ * IMPORTANT: We have no intention to support anything below an ARMv4T ! */ -/* _ARM_ARCH_REVISION is a number corresponding to the ARM revision +/* __ARM_ARCH__ is a number corresponding to the ARM revision * we're going to support * * it looks like our toolchain doesn't define __ARM_ARCH__ @@ -142,15 +142,50 @@ * * ldr pc, [<some address>] * - * note that this affects any instruction that explicitely changes the + * note that this affects any instruction that explicitly changes the * value of the pc register, including ldm { ...,pc } or 'add pc, #offset' */ #if __ARM_ARCH__ >= 5 # define __ARM_HAVE_PC_INTERWORK #endif +/* define __ARM_HAVE_LDREX_STREX for ARMv6 and ARMv7 architecture to be + * used in replacement of deprecated swp instruction + */ +#if __ARM_ARCH__ >= 6 +# define __ARM_HAVE_LDREX_STREX +#endif + +/* define __ARM_HAVE_DMB for ARMv7 architecture + */ +#if __ARM_ARCH__ >= 7 +# define __ARM_HAVE_DMB +#endif + +/* define __ARM_HAVE_LDREXD for ARMv7 architecture + * (also present in ARMv6K, but not implemented in ARMv7-M, neither of which + * we care about) + */ +#if __ARM_ARCH__ >= 7 +# define __ARM_HAVE_LDREXD +#endif + +/* define _ARM_HAVE_VFP if we have VFPv3 + */ +#if __ARM_ARCH__ >= 7 && defined __VFP_FP__ +# define __ARM_HAVE_VFP +#endif + +/* define _ARM_HAVE_NEON for ARMv7 architecture if we support the + * Neon SIMD instruction set extensions. This also implies + * that VFPv3-D32 is supported. + */ +#if __ARM_ARCH__ >= 7 && defined __ARM_NEON__ +# define __ARM_HAVE_NEON +#endif /* Assembly-only macros */ +#ifdef __ASSEMBLY__ /* define a handy PLD(address) macro since the cache preload * is an optional opcode @@ -161,4 +196,6 @@ # define PLD(reg,offset) /* nothing */ #endif +#endif /* ! __ASSEMBLY__ */ + #endif /* _ARM_MACHINE_CPU_FEATURES_H */ diff --git a/8/platforms/android-14/arch-arm/usr/include/machine/setjmp.h b/8/platforms/android-14/arch-arm/usr/include/machine/setjmp.h index f20cab2..0941202 100644 --- a/8/platforms/android-14/arch-arm/usr/include/machine/setjmp.h +++ b/8/platforms/android-14/arch-arm/usr/include/machine/setjmp.h @@ -1,87 +1,82 @@ -/* $OpenBSD: setjmp.h,v 1.1 2004/02/01 05:09:49 drahn Exp $ */ -/* $NetBSD: setjmp.h,v 1.2 2001/08/25 14:45:59 bjh21 Exp $ */ +/* + * Copyright (C) 2010 The Android Open Source Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ /* * machine/setjmp.h: machine dependent setjmp-related information. */ -#ifdef __ELF__ -#define _JBLEN 64 /* size, in longs, of a jmp_buf */ -#else -#define _JBLEN 29 /* size, in longs, of a jmp_buf */ -#endif +/* _JBLEN is the size of a jmp_buf in longs. + * Do not modify this value or you will break the ABI ! + * + * This value comes from the original OpenBSD ARM-specific header + * that was replaced by this one. + */ +#define _JBLEN 64 -/* - * NOTE: The internal structure of a jmp_buf is *PRIVATE* - * This information is provided as there is software - * that fiddles with this with obtain the stack pointer - * (yes really ! and its commercial !). +/* According to the ARM AAPCS document, we only need to save + * the following registers: * - * Description of the setjmp buffer + * Core r4-r14 * - * word 0 magic number (dependant on creator) - * 1 - 3 f4 fp register 4 - * 4 - 6 f5 fp register 5 - * 7 - 9 f6 fp register 6 - * 10 - 12 f7 fp register 7 - * 13 fpsr fp status register - * 14 r4 register 4 - * 15 r5 register 5 - * 16 r6 register 6 - * 17 r7 register 7 - * 18 r8 register 8 - * 19 r9 register 9 - * 20 r10 register 10 (sl) - * 21 r11 register 11 (fp) - * 22 r12 register 12 (ip) - * 23 r13 register 13 (sp) - * 24 r14 register 14 (lr) - * 25 signal mask (dependant on magic) - * 26 (con't) - * 27 (con't) - * 28 (con't) + * VFP d8-d15 (see section 5.1.2.1) * - * The magic number number identifies the jmp_buf and - * how the buffer was created as well as providing - * a sanity check + * Registers s16-s31 (d8-d15, q4-q7) must be preserved across subroutine + * calls; registers s0-s15 (d0-d7, q0-q3) do not need to be preserved + * (and can be used for passing arguments or returning results in standard + * procedure-call variants). Registers d16-d31 (q8-q15), if present, do + * not need to be preserved. * - * A side note I should mention - Please do not tamper - * with the floating point fields. While they are - * always saved and restored at the moment this cannot - * be garenteed especially if the compiler happens - * to be generating soft-float code so no fp - * registers will be used. + * FPSCR saved because GLibc does saves it too. * - * Whilst this can be seen an encouraging people to - * use the setjmp buffer in this way I think that it - * is for the best then if changes occur compiles will - * break rather than just having new builds falling over - * mysteriously. */ -#define _JB_MAGIC__SETJMP 0x4278f500 -#define _JB_MAGIC_SETJMP 0x4278f501 - -/* Valid for all jmp_buf's */ - -#define _JB_MAGIC 0 -#define _JB_REG_F4 1 -#define _JB_REG_F5 4 -#define _JB_REG_F6 7 -#define _JB_REG_F7 10 -#define _JB_REG_FPSR 13 -#define _JB_REG_R4 14 -#define _JB_REG_R5 15 -#define _JB_REG_R6 16 -#define _JB_REG_R7 17 -#define _JB_REG_R8 18 -#define _JB_REG_R9 19 -#define _JB_REG_R10 20 -#define _JB_REG_R11 21 -#define _JB_REG_R12 22 -#define _JB_REG_R13 23 -#define _JB_REG_R14 24 +/* The internal structure of a jmp_buf is totally private. + * Current layout (may change in the future): + * + * word name description + * 0 magic magic number + * 1 sigmask signal mask (not used with _setjmp / _longjmp) + * 2 float_base base of float registers (d8 to d15) + * 18 float_state floating-point status and control register + * 19 core_base base of core registers (r4 to r14) + * 30 reserved reserved entries (room to grow) + * 64 + * + * NOTE: float_base must be at an even word index, since the + * FP registers will be loaded/stored with instructions + * that expect 8-byte alignment. + */ -/* Only valid with the _JB_MAGIC_SETJMP magic */ +#define _JB_MAGIC 0 +#define _JB_SIGMASK (_JB_MAGIC+1) +#define _JB_FLOAT_BASE (_JB_SIGMASK+1) +#define _JB_FLOAT_STATE (_JB_FLOAT_BASE + (15-8+1)*2) +#define _JB_CORE_BASE (_JB_FLOAT_STATE+1) -#define _JB_SIGMASK 25 +#define _JB_MAGIC__SETJMP 0x4278f500 +#define _JB_MAGIC_SETJMP 0x4278f501 diff --git a/8/platforms/android-14/arch-arm/usr/include/malloc.h b/8/platforms/android-14/arch-arm/usr/include/malloc.h index a864286..ec21926 100644 --- a/8/platforms/android-14/arch-arm/usr/include/malloc.h +++ b/8/platforms/android-14/arch-arm/usr/include/malloc.h @@ -1,33 +1,27 @@ /* - * Copyright (C) 2008 The Android Open Source Project - * All rights reserved. + * Copyright (C) 2012 The Android Open Source Project * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT - * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ -#ifndef _MALLOC_H_ -#define _MALLOC_H_ +#ifndef LIBC_INCLUDE_MALLOC_H_ +#define LIBC_INCLUDE_MALLOC_H_ + +/* + * Declaration of malloc routines. Bionic uses dlmalloc (see + * upstream-dlmalloc) but doesn't directly include it here to keep the + * defined malloc.h interface small. + */ #include <sys/cdefs.h> #include <stddef.h> @@ -35,70 +29,33 @@ __BEGIN_DECLS extern __mallocfunc void* malloc(size_t); extern __mallocfunc void* calloc(size_t, size_t); -extern __mallocfunc void* realloc(void *, size_t); -extern void free(void *); +extern void* realloc(void *, size_t); +extern void free(void *); -extern void* memalign(size_t alignment, size_t bytesize); -extern void* valloc(size_t bytesize); -extern void* pvalloc(size_t bytesize); -extern int mallopt(int param_number, int param_value); -extern size_t malloc_footprint(void); -extern size_t malloc_max_footprint(void); +extern void* memalign(size_t alignment, size_t bytesize); +extern size_t malloc_usable_size(void*); +extern void* valloc(size_t bytesize); +extern void* pvalloc(size_t bytesize); + +#ifndef STRUCT_MALLINFO_DECLARED +#define STRUCT_MALLINFO_DECLARED 1 struct mallinfo { - size_t arena; /* non-mmapped space allocated from system */ - size_t ordblks; /* number of free chunks */ - size_t smblks; /* always 0 */ - size_t hblks; /* always 0 */ - size_t hblkhd; /* space in mmapped regions */ - size_t usmblks; /* maximum total allocated space */ - size_t fsmblks; /* always 0 */ - size_t uordblks; /* total allocated space */ - size_t fordblks; /* total free space */ - size_t keepcost; /* releasable (via malloc_trim) space */ + size_t arena; + size_t ordblks; + size_t smblks; + size_t hblks; + size_t hblkhd; + size_t usmblks; + size_t fsmblks; + size_t uordblks; + size_t fordblks; + size_t keepcost; }; +#endif /* STRUCT_MALLINFO_DECLARED */ -extern struct mallinfo mallinfo(void); - - -/* - malloc_usable_size(void* p); - - Returns the number of bytes you can actually use in - an allocated chunk, which may be more than you requested (although - often not) due to alignment and minimum size constraints. - You can use this many bytes without worrying about - overwriting other allocated objects. This is not a particularly great - programming practice. malloc_usable_size can be more useful in - debugging and assertions, for example: - - p = malloc(n); - assert(malloc_usable_size(p) >= 256); -*/ -extern size_t malloc_usable_size(void* block); - -/* - malloc_stats(); - Prints on stderr the amount of space obtained from the system (both - via sbrk and mmap), the maximum amount (which may be more than - current if malloc_trim and/or munmap got called), and the current - number of bytes allocated via malloc (or realloc, etc) but not yet - freed. Note that this is the number of bytes allocated, not the - number requested. It will be larger than the number requested - because of alignment and bookkeeping overhead. Because it includes - alignment wastage as being in use, this figure may be greater than - zero even when no user-level chunks are allocated. - - The reported current and maximum system memory can be inaccurate if - a program makes other calls to system memory allocation functions - (normally sbrk) outside of malloc. - - malloc_stats prints only the most commonly interesting statistics. - More information can be obtained by calling mallinfo. -*/ -extern void malloc_stats(void); +extern struct mallinfo mallinfo(void); __END_DECLS -#endif /* _MALLOC_H_ */ - +#endif /* LIBC_INCLUDE_MALLOC_H_ */ diff --git a/8/platforms/android-14/arch-arm/usr/include/stdint.h b/8/platforms/android-14/arch-arm/usr/include/stdint.h index e791475..49879cb 100644 --- a/8/platforms/android-14/arch-arm/usr/include/stdint.h +++ b/8/platforms/android-14/arch-arm/usr/include/stdint.h @@ -31,8 +31,6 @@ #include <stddef.h> #include <sys/_types.h> - - #if !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) # define __STDINT_LIMITS #endif @@ -41,20 +39,14 @@ # define __STDINT_MACROS #endif -#if !defined __STRICT_ANSI__ || __STDC_VERSION__ >= 199901L -# define __STDC_INT64__ -#endif - typedef __int8_t int8_t; typedef __uint8_t uint8_t; typedef __int16_t int16_t; typedef __uint16_t uint16_t; typedef __int32_t int32_t; typedef __uint32_t uint32_t; -#if defined(__STDC_INT64__) typedef __int64_t int64_t; typedef __uint64_t uint64_t; -#endif /* * int8_t & uint8_t @@ -93,7 +85,6 @@ typedef uint8_t uint_fast8_t; * int16_t & uint16_t */ - typedef int16_t int_least16_t; typedef int32_t int_fast16_t; @@ -156,17 +147,16 @@ typedef uint32_t uint_fast32_t; # define UINT_FAST32_C(c) UINT32_C(c) #endif -#if defined(__STDC_INT64__) /* * int64_t */ + typedef int64_t int_least64_t; typedef int64_t int_fast64_t; typedef uint64_t uint_least64_t; typedef uint64_t uint_fast64_t; - #ifdef __STDINT_LIMITS # define INT64_MIN (__INT64_C(-9223372036854775807)-1) # define INT64_MAX (__INT64_C(9223372036854775807)) @@ -193,13 +183,10 @@ typedef uint64_t uint_fast64_t; # define UINT_FAST64_C(c) UINT64_C(c) #endif - # define __PRI64_RANK "ll" # define __PRIFAST_RANK "" # define __PRIPTR_RANK "" -#endif /* __STDC_INT64__ */ - /* * intptr_t & uintptr_t */ @@ -221,14 +208,10 @@ typedef unsigned int uintptr_t; # define PTRDIFF_C(c) INT32_C(c) #endif - - /* * intmax_t & uintmax_t */ -#if defined(__STDC_INT64__) - typedef uint64_t uintmax_t; typedef int64_t intmax_t; @@ -243,25 +226,6 @@ typedef int64_t intmax_t; # define UINTMAX_C(c) UINT64_C(c) #endif -#else /* !__STDC_INT64__ */ - -typedef uint32_t uintmax_t; -typedef int32_t intmax_t; - -#ifdef __STDINT_LIMITS -# define INTMAX_MIN INT32_MIN -# define INTMAX_MAX INT32_MAX -# define UINTMAX_MAX UINT32_MAX -#endif - -#ifdef __STDINT_MACROS -# define INTMAX_C(c) INT32_C(c) -# define UINTMAX_C(c) UINT32_C(c) -#endif - -#endif /* !__STDC_INT64__ */ - - /* size_t is defined by the GCC-specific <stddef.h> */ #ifndef _SSIZE_T_DEFINED_ #define _SSIZE_T_DEFINED_ diff --git a/8/platforms/android-14/arch-arm/usr/include/sys/linux-unistd.h b/8/platforms/android-14/arch-arm/usr/include/sys/linux-unistd.h deleted file mode 100644 index 23853da..0000000 --- a/8/platforms/android-14/arch-arm/usr/include/sys/linux-unistd.h +++ /dev/null @@ -1,212 +0,0 @@ -/* auto-generated by gensyscalls.py, do not touch */ -#ifndef _BIONIC_LINUX_UNISTD_H_ - -#ifdef __cplusplus -extern "C" { -#endif - -void _exit (int); -void _exit_thread (int); -pid_t __fork (void); -pid_t _waitpid (pid_t, int*, int, struct rusage*); -int __waitid (int, pid_t, struct siginfo_t*, int,void*); -pid_t __sys_clone (int, void*, int*, void*, int*); -int execve (const char*, char* const*, char* const*); -int __setuid (uid_t); -uid_t getuid (void); -gid_t getgid (void); -uid_t geteuid (void); -gid_t getegid (void); -uid_t getresuid (void); -gid_t getresgid (void); -pid_t gettid (void); -int getgroups (int, gid_t *); -pid_t getpgid (pid_t); -pid_t getppid (void); -pid_t setsid (void); -int setgid (gid_t); -int seteuid (uid_t); -int __setreuid (uid_t, uid_t); -int __setresuid (uid_t, uid_t, uid_t); -int setresgid (gid_t, gid_t, gid_t); -void* __brk (void*); -int kill (pid_t, int); -int tkill (pid_t tid, int sig); -int __ptrace (int request, int pid, void* addr, void* data); -int __set_thread_area (void* user_desc); -int __getpriority (int, int); -int setpriority (int, int, int); -int setrlimit (int resource, const struct rlimit *rlp); -int getrlimit (int resource, struct rlimit *rlp); -int getrusage (int who, struct rusage* r_usage); -int setgroups (int, const gid_t *); -pid_t getpgrp (void); -int setpgid (pid_t, pid_t); -pid_t vfork (void); -int setregid (gid_t, gid_t); -int chroot (const char *); -int prctl (int option, unsigned int arg2, unsigned int arg3, unsigned int arg4, unsigned int arg5); -int capget (cap_user_header_t header, cap_user_data_t data); -int capset (cap_user_header_t header, const cap_user_data_t data); -int sigaltstack (const stack_t*, stack_t*); -int acct (const char* filepath); -ssize_t read (int, void*, size_t); -ssize_t write (int, const void*, size_t); -ssize_t __pread64 (int, void *, size_t, off_t, off_t); -ssize_t __pwrite64 (int, void *, size_t, off_t, off_t); -int __open (const char*, int, mode_t); -int __openat (int, const char*, int, mode_t); -int close (int); -int creat (const char*, mode_t); -off_t lseek (int, off_t, int); -int __llseek (int, unsigned long, unsigned long, loff_t*, int); -pid_t getpid (void); -void * mmap (void *, size_t, int, int, int, long); -void * __mmap2 (void*, size_t, int, int, int, long); -int munmap (void *, size_t); -void * mremap (void *, size_t, size_t, unsigned long); -int msync (const void *, size_t, int); -int mprotect (const void *, size_t, int); -int madvise (const void *, size_t, int); -int mlock (const void *addr, size_t len); -int munlock (const void *addr, size_t len); -int mincore (void* start, size_t length, unsigned char* vec); -int __ioctl (int, int, void *); -int readv (int, const struct iovec *, int); -int writev (int, const struct iovec *, int); -int __fcntl (int, int, void*); -int flock (int, int); -int fchmod (int, mode_t); -int dup (int); -int pipe (int *); -int pipe2 (int *, int); -int dup2 (int, int); -int select (int, struct fd_set *, struct fd_set *, struct fd_set *, struct timeval *); -int ftruncate (int, off_t); -int getdents (unsigned int, struct dirent *, unsigned int); -int fsync (int); -int fdatasync (int); -int fchown (int, uid_t, gid_t); -void sync (void); -int __fcntl64 (int, int, void *); -int __fstatfs64 (int, size_t, struct statfs *); -ssize_t sendfile (int out_fd, int in_fd, off_t *offset, size_t count); -int fstatat (int dirfd, const char *path, struct stat *buf, int flags); -int mkdirat (int dirfd, const char *pathname, mode_t mode); -int fchownat (int dirfd, const char *path, uid_t owner, gid_t group, int flags); -int fchmodat (int dirfd, const char *path, mode_t mode, int flags); -int renameat (int olddirfd, const char *oldpath, int newdirfd, const char *newpath); -int link (const char*, const char*); -int unlink (const char*); -int unlinkat (int, const char *, int); -int chdir (const char*); -int mknod (const char*, mode_t, dev_t); -int chmod (const char*,mode_t); -int chown (const char *, uid_t, gid_t); -int lchown (const char*, uid_t, gid_t); -int mount (const char*, const char*, const char*, unsigned long, const void*); -int umount (const char*); -int umount2 (const char*, int); -int fstat (int, struct stat*); -int stat (const char *, struct stat *); -int lstat (const char *, struct stat *); -int mkdir (const char *, mode_t); -int readlink (const char *, char *, size_t); -int rmdir (const char *); -int rename (const char *, const char *); -int __getcwd (char * buf, size_t size); -int access (const char *, int); -int symlink (const char *, const char *); -int fchdir (int); -int truncate (const char*, off_t); -int __statfs64 (const char *, size_t, struct statfs *); -int pause (void); -int gettimeofday (struct timeval*, struct timezone*); -int settimeofday (const struct timeval*, const struct timezone*); -clock_t times (struct tms *); -int nanosleep (const struct timespec *, struct timespec *); -int clock_gettime (clockid_t clk_id, struct timespec *tp); -int clock_settime (clockid_t clk_id, const struct timespec *tp); -int clock_getres (clockid_t clk_id, struct timespec *res); -int clock_nanosleep (const struct timespec *req, struct timespec *rem); -int getitimer (int, const struct itimerval *); -int setitimer (int, const struct itimerval *, struct itimerval *); -int __timer_create (clockid_t clockid, struct sigevent *evp, timer_t *timerid); -int __timer_settime (timer_t, int, const struct itimerspec*, struct itimerspec*); -int __timer_gettime (timer_t, struct itimerspec*); -int __timer_getoverrun (timer_t); -int __timer_delete (timer_t); -int utimes (const char*, const struct timeval tvp[2]); -int sigaction (int, const struct sigaction *, struct sigaction *); -int sigprocmask (int, const sigset_t *, sigset_t *); -int __sigsuspend (int unused1, int unused2, unsigned mask); -int __rt_sigaction (int sig, const struct sigaction *act, struct sigaction *oact, size_t sigsetsize); -int __rt_sigprocmask (int how, const sigset_t *set, sigset_t *oset, size_t sigsetsize); -int __rt_sigtimedwait (const sigset_t *set, struct siginfo_t *info, struct timespec_t *timeout, size_t sigset_size); -int sigpending (sigset_t *); -int socket (int, int, int); -int socketpair (int, int, int, int*); -int bind (int, struct sockaddr *, int); -int connect (int, struct sockaddr *, socklen_t); -int listen (int, int); -int accept (int, struct sockaddr *, socklen_t *); -int getsockname (int, struct sockaddr *, socklen_t *); -int getpeername (int, struct sockaddr *, socklen_t *); -int sendto (int, const void *, size_t, int, const struct sockaddr *, socklen_t); -int recvfrom (int, void *, size_t, unsigned int, struct sockaddr *, socklen_t *); -int shutdown (int, int); -int setsockopt (int, int, int, const void *, socklen_t); -int getsockopt (int, int, int, void *, socklen_t *); -int sendmsg (int, const struct msghdr *, unsigned int); -int recvmsg (int, struct msghdr *, unsigned int); -int socket (int, int, int); -int bind (int, struct sockaddr *, int); -int connect (int, struct sockaddr *, socklen_t); -int listen (int, int); -int accept (int, struct sockaddr *, socklen_t *); -int getsockname (int, struct sockaddr *, socklen_t *); -int getpeername (int, struct sockaddr *, socklen_t *); -int socketpair (int, int, int, int*); -int sendto (int, const void *, size_t, int, const struct sockaddr *, socklen_t); -int recvfrom (int, void *, size_t, unsigned int, struct sockaddr *, socklen_t *); -int shutdown (int, int); -int setsockopt (int, int, int, const void *, socklen_t); -int getsockopt (int, int, int, void *, socklen_t *); -int sendmsg (int, const struct msghdr *, unsigned int); -int recvmsg (int, struct msghdr *, unsigned int); -int __socketcall (int, unsigned long*); -int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); -int sched_getscheduler (pid_t pid); -int sched_yield (void); -int sched_setparam (pid_t pid, const struct sched_param *param); -int sched_getparam (pid_t pid, struct sched_param *param); -int sched_get_priority_max (int policy); -int sched_get_priority_min (int policy); -int sched_rr_get_interval (pid_t pid, struct timespec *interval); -int ioprio_set (int which, int who, int ioprio); -int ioprio_get (int which, int who); -int uname (struct utsname *); -pid_t __wait4 (pid_t pid, int *status, int options, struct rusage *rusage); -mode_t umask (mode_t); -int __reboot (int, int, int, void *); -int __syslog (int, char *, int); -int init_module (void *, unsigned long, const char *); -int delete_module (const char*, unsigned int); -int klogctl (int, char *, int); -int sysinfo (struct sysinfo *); -int futex (void *, int, int, void *, void *, int); -int epoll_create (int size); -int epoll_ctl (int epfd, int op, int fd, struct epoll_event *event); -int epoll_wait (int epfd, struct epoll_event *events, int max, int timeout); -int inotify_init (void); -int inotify_add_watch (int, const char *, unsigned int); -int inotify_rm_watch (int, unsigned int); -int poll (struct pollfd *, unsigned int, long); -int eventfd (unsigned int, int); -int __set_tls (void*); -int cacheflush (long start, long end, long flags); -#ifdef __cplusplus -} -#endif - -#endif /* _BIONIC_LINUX_UNISTD_H_ */ diff --git a/8/platforms/android-14/arch-arm/usr/lib/crtbegin_dynamic.o b/8/platforms/android-14/arch-arm/usr/lib/crtbegin_dynamic.o Binary files differindex a969511..e7b2e0d 100644 --- a/8/platforms/android-14/arch-arm/usr/lib/crtbegin_dynamic.o +++ b/8/platforms/android-14/arch-arm/usr/lib/crtbegin_dynamic.o diff --git a/8/platforms/android-14/arch-arm/usr/lib/crtbegin_so.o b/8/platforms/android-14/arch-arm/usr/lib/crtbegin_so.o Binary files differindex 2940ffb..d9809d6 100644 --- a/8/platforms/android-14/arch-arm/usr/lib/crtbegin_so.o +++ b/8/platforms/android-14/arch-arm/usr/lib/crtbegin_so.o diff --git a/8/platforms/android-14/arch-arm/usr/lib/crtbegin_static.o b/8/platforms/android-14/arch-arm/usr/lib/crtbegin_static.o Binary files differindex da4d83e..e64595e 100644 --- a/8/platforms/android-14/arch-arm/usr/lib/crtbegin_static.o +++ b/8/platforms/android-14/arch-arm/usr/lib/crtbegin_static.o diff --git a/8/platforms/android-14/arch-arm/usr/lib/crtend_android.o b/8/platforms/android-14/arch-arm/usr/lib/crtend_android.o Binary files differindex 7e8b1b2..50caf05 100644 --- a/8/platforms/android-14/arch-arm/usr/lib/crtend_android.o +++ b/8/platforms/android-14/arch-arm/usr/lib/crtend_android.o diff --git a/8/platforms/android-14/arch-arm/usr/lib/crtend_so.o b/8/platforms/android-14/arch-arm/usr/lib/crtend_so.o Binary files differindex f1adda7..1dc5dae 100644 --- a/8/platforms/android-14/arch-arm/usr/lib/crtend_so.o +++ b/8/platforms/android-14/arch-arm/usr/lib/crtend_so.o diff --git a/8/platforms/android-14/arch-arm/usr/lib/libEGL.so b/8/platforms/android-14/arch-arm/usr/lib/libEGL.so Binary files differindex 8e245db..66e8573 100755 --- a/8/platforms/android-14/arch-arm/usr/lib/libEGL.so +++ b/8/platforms/android-14/arch-arm/usr/lib/libEGL.so diff --git a/8/platforms/android-14/arch-arm/usr/lib/libGLESv1_CM.so b/8/platforms/android-14/arch-arm/usr/lib/libGLESv1_CM.so Binary files differindex 20ecaa4..4115550 100755 --- a/8/platforms/android-14/arch-arm/usr/lib/libGLESv1_CM.so +++ b/8/platforms/android-14/arch-arm/usr/lib/libGLESv1_CM.so diff --git a/8/platforms/android-14/arch-arm/usr/lib/libGLESv2.so b/8/platforms/android-14/arch-arm/usr/lib/libGLESv2.so Binary files differindex 9493c77..cc6face 100755 --- a/8/platforms/android-14/arch-arm/usr/lib/libGLESv2.so +++ b/8/platforms/android-14/arch-arm/usr/lib/libGLESv2.so diff --git a/8/platforms/android-14/arch-arm/usr/lib/libOpenMAXAL.so b/8/platforms/android-14/arch-arm/usr/lib/libOpenMAXAL.so Binary files differindex 439014c..2c36b82 100755 --- a/8/platforms/android-14/arch-arm/usr/lib/libOpenMAXAL.so +++ b/8/platforms/android-14/arch-arm/usr/lib/libOpenMAXAL.so diff --git a/8/platforms/android-14/arch-arm/usr/lib/libOpenSLES.so b/8/platforms/android-14/arch-arm/usr/lib/libOpenSLES.so Binary files differindex 6834517..fbc2836 100755 --- a/8/platforms/android-14/arch-arm/usr/lib/libOpenSLES.so +++ b/8/platforms/android-14/arch-arm/usr/lib/libOpenSLES.so diff --git a/8/platforms/android-14/arch-arm/usr/lib/libandroid.so b/8/platforms/android-14/arch-arm/usr/lib/libandroid.so Binary files differindex 69610f4..8f0a0d3 100755 --- a/8/platforms/android-14/arch-arm/usr/lib/libandroid.so +++ b/8/platforms/android-14/arch-arm/usr/lib/libandroid.so diff --git a/8/platforms/android-14/arch-arm/usr/lib/libc.so b/8/platforms/android-14/arch-arm/usr/lib/libc.so Binary files differindex 9ab0e60..66e4659 100755 --- a/8/platforms/android-14/arch-arm/usr/lib/libc.so +++ b/8/platforms/android-14/arch-arm/usr/lib/libc.so diff --git a/8/platforms/android-14/arch-arm/usr/lib/libdl.so b/8/platforms/android-14/arch-arm/usr/lib/libdl.so Binary files differindex b6fde67..db32225 100755 --- a/8/platforms/android-14/arch-arm/usr/lib/libdl.so +++ b/8/platforms/android-14/arch-arm/usr/lib/libdl.so diff --git a/8/platforms/android-14/arch-arm/usr/lib/libjnigraphics.so b/8/platforms/android-14/arch-arm/usr/lib/libjnigraphics.so Binary files differindex 6769c2a..5624fae 100755 --- a/8/platforms/android-14/arch-arm/usr/lib/libjnigraphics.so +++ b/8/platforms/android-14/arch-arm/usr/lib/libjnigraphics.so diff --git a/8/platforms/android-14/arch-arm/usr/lib/liblog.so b/8/platforms/android-14/arch-arm/usr/lib/liblog.so Binary files differindex 46ebf82..efae74c 100755 --- a/8/platforms/android-14/arch-arm/usr/lib/liblog.so +++ b/8/platforms/android-14/arch-arm/usr/lib/liblog.so diff --git a/8/platforms/android-14/arch-arm/usr/lib/libm.so b/8/platforms/android-14/arch-arm/usr/lib/libm.so Binary files differindex 9faea64..fd2dcd4 100755 --- a/8/platforms/android-14/arch-arm/usr/lib/libm.so +++ b/8/platforms/android-14/arch-arm/usr/lib/libm.so diff --git a/8/platforms/android-14/arch-arm/usr/lib/libstdc++.so b/8/platforms/android-14/arch-arm/usr/lib/libstdc++.so Binary files differindex 031dcd8..b011883 100755 --- a/8/platforms/android-14/arch-arm/usr/lib/libstdc++.so +++ b/8/platforms/android-14/arch-arm/usr/lib/libstdc++.so diff --git a/8/platforms/android-14/arch-arm/usr/lib/libthread_db.so b/8/platforms/android-14/arch-arm/usr/lib/libthread_db.so Binary files differindex 80dabb0..8eabe7f 100755 --- a/8/platforms/android-14/arch-arm/usr/lib/libthread_db.so +++ b/8/platforms/android-14/arch-arm/usr/lib/libthread_db.so diff --git a/8/platforms/android-14/arch-arm/usr/lib/libz.so b/8/platforms/android-14/arch-arm/usr/lib/libz.so Binary files differindex 251be1d..d3c94b9 100755 --- a/8/platforms/android-14/arch-arm/usr/lib/libz.so +++ b/8/platforms/android-14/arch-arm/usr/lib/libz.so diff --git a/8/platforms/android-14/arch-mips/usr/include/asm-generic/mman-common.h b/8/platforms/android-14/arch-mips/usr/include/asm-generic/mman-common.h new file mode 100644 index 0000000..157353b --- /dev/null +++ b/8/platforms/android-14/arch-mips/usr/include/asm-generic/mman-common.h @@ -0,0 +1,60 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ +#ifndef __ASM_GENERIC_MMAN_COMMON_H +#define __ASM_GENERIC_MMAN_COMMON_H +#define PROT_READ 0x1 +#define PROT_WRITE 0x2 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define PROT_EXEC 0x4 +#define PROT_SEM 0x8 +#define PROT_NONE 0x0 +#define PROT_GROWSDOWN 0x01000000 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define PROT_GROWSUP 0x02000000 +#define MAP_SHARED 0x01 +#define MAP_PRIVATE 0x02 +#define MAP_TYPE 0x0f +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MAP_FIXED 0x10 +#define MAP_ANONYMOUS 0x20 +#define MAP_UNINITIALIZED 0x0 +#define MS_ASYNC 1 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MS_INVALIDATE 2 +#define MS_SYNC 4 +#define MADV_NORMAL 0 +#define MADV_RANDOM 1 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MADV_SEQUENTIAL 2 +#define MADV_WILLNEED 3 +#define MADV_DONTNEED 4 +#define MADV_REMOVE 9 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MADV_DONTFORK 10 +#define MADV_DOFORK 11 +#define MADV_HWPOISON 100 +#define MADV_SOFT_OFFLINE 101 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MADV_MERGEABLE 12 +#define MADV_UNMERGEABLE 13 +#define MADV_HUGEPAGE 14 +#define MADV_NOHUGEPAGE 15 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MAP_FILE 0 +#endif diff --git a/8/platforms/android-14/arch-mips/usr/include/asm-generic/mman.h b/8/platforms/android-14/arch-mips/usr/include/asm-generic/mman.h index 98d2783..6eaf900 100644 --- a/8/platforms/android-14/arch-mips/usr/include/asm-generic/mman.h +++ b/8/platforms/android-14/arch-mips/usr/include/asm-generic/mman.h @@ -7,40 +7,30 @@ *** structures, and macros generated from the original header, and thus, *** contains no copyrightable information. *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** **************************************************************************** ****************************************************************************/ -#ifndef _ASM_GENERIC_MMAN_H -#define _ASM_GENERIC_MMAN_H - -#define PROT_READ 0x1 -#define PROT_WRITE 0x2 -#define PROT_EXEC 0x4 -#define PROT_SEM 0x8 -#define PROT_NONE 0x0 -#define PROT_GROWSDOWN 0x01000000 -#define PROT_GROWSUP 0x02000000 - -#define MAP_SHARED 0x01 -#define MAP_PRIVATE 0x02 -#define MAP_TYPE 0x0f -#define MAP_FIXED 0x10 -#define MAP_ANONYMOUS 0x20 - -#define MS_ASYNC 1 -#define MS_INVALIDATE 2 -#define MS_SYNC 4 - -#define MADV_NORMAL 0 -#define MADV_RANDOM 1 -#define MADV_SEQUENTIAL 2 -#define MADV_WILLNEED 3 -#define MADV_DONTNEED 4 - -#define MADV_REMOVE 9 -#define MADV_DONTFORK 10 -#define MADV_DOFORK 11 - -#define MAP_ANON MAP_ANONYMOUS -#define MAP_FILE 0 - +#ifndef __ASM_GENERIC_MMAN_H +#define __ASM_GENERIC_MMAN_H +#include <asm-generic/mman-common.h> +#define MAP_GROWSDOWN 0x0100 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MAP_DENYWRITE 0x0800 +#define MAP_EXECUTABLE 0x1000 +#define MAP_LOCKED 0x2000 +#define MAP_NORESERVE 0x4000 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MAP_POPULATE 0x8000 +#define MAP_NONBLOCK 0x10000 +#define MAP_STACK 0x20000 +#define MAP_HUGETLB 0x40000 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MCL_CURRENT 1 +#define MCL_FUTURE 2 #endif diff --git a/8/platforms/android-14/arch-mips/usr/include/asm-generic/pgtable-nopmd.h b/8/platforms/android-14/arch-mips/usr/include/asm-generic/pgtable-nopmd.h new file mode 100644 index 0000000..ac3f40c --- /dev/null +++ b/8/platforms/android-14/arch-mips/usr/include/asm-generic/pgtable-nopmd.h @@ -0,0 +1,48 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ +#ifndef _PGTABLE_NOPMD_H +#define _PGTABLE_NOPMD_H +#ifndef __ASSEMBLY__ +#include <asm-generic/pgtable-nopud.h> +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +struct mm_struct; +#define __PAGETABLE_PMD_FOLDED +typedef struct { pud_t pud; } pmd_t; +#define PMD_SHIFT PUD_SHIFT +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define PTRS_PER_PMD 1 +#define PMD_SIZE (1UL << PMD_SHIFT) +#define PMD_MASK (~(PMD_SIZE-1)) +#define pmd_ERROR(pmd) (pud_ERROR((pmd).pud)) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define pud_populate(mm, pmd, pte) do { } while (0) +#define set_pud(pudptr, pudval) set_pmd((pmd_t *)(pudptr), (pmd_t) { pudval }) +#define pmd_val(x) (pud_val((x).pud)) +#define __pmd(x) ((pmd_t) { __pud(x) } ) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define pud_page(pud) (pmd_page((pmd_t){ pud })) +#define pud_page_vaddr(pud) (pmd_page_vaddr((pmd_t){ pud })) +#define pmd_alloc_one(mm, address) NULL +#define __pmd_free_tlb(tlb, x, a) do { } while (0) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#undef pmd_addr_end +#define pmd_addr_end(addr, end) (end) +#endif +#endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ diff --git a/8/platforms/android-14/arch-mips/usr/include/asm-generic/socket.h b/8/platforms/android-14/arch-mips/usr/include/asm-generic/socket.h new file mode 100644 index 0000000..fb3876e --- /dev/null +++ b/8/platforms/android-14/arch-mips/usr/include/asm-generic/socket.h @@ -0,0 +1,81 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ +#ifndef __ASM_GENERIC_SOCKET_H +#define __ASM_GENERIC_SOCKET_H +#include <asm/sockios.h> +#define SOL_SOCKET 1 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_DEBUG 1 +#define SO_REUSEADDR 2 +#define SO_TYPE 3 +#define SO_ERROR 4 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_DONTROUTE 5 +#define SO_BROADCAST 6 +#define SO_SNDBUF 7 +#define SO_RCVBUF 8 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_SNDBUFFORCE 32 +#define SO_RCVBUFFORCE 33 +#define SO_KEEPALIVE 9 +#define SO_OOBINLINE 10 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_NO_CHECK 11 +#define SO_PRIORITY 12 +#define SO_LINGER 13 +#define SO_BSDCOMPAT 14 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#ifndef SO_PASSCRED +#define SO_PASSCRED 16 +#define SO_PEERCRED 17 +#define SO_RCVLOWAT 18 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_SNDLOWAT 19 +#define SO_RCVTIMEO 20 +#define SO_SNDTIMEO 21 +#endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_SECURITY_AUTHENTICATION 22 +#define SO_SECURITY_ENCRYPTION_TRANSPORT 23 +#define SO_SECURITY_ENCRYPTION_NETWORK 24 +#define SO_BINDTODEVICE 25 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_ATTACH_FILTER 26 +#define SO_DETACH_FILTER 27 +#define SO_PEERNAME 28 +#define SO_TIMESTAMP 29 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SCM_TIMESTAMP SO_TIMESTAMP +#define SO_ACCEPTCONN 30 +#define SO_PEERSEC 31 +#define SO_PASSSEC 34 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_TIMESTAMPNS 35 +#define SCM_TIMESTAMPNS SO_TIMESTAMPNS +#define SO_MARK 36 +#define SO_TIMESTAMPING 37 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SCM_TIMESTAMPING SO_TIMESTAMPING +#define SO_PROTOCOL 38 +#define SO_DOMAIN 39 +#define SO_RXQ_OVFL 40 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_WIFI_STATUS 41 +#define SCM_WIFI_STATUS SO_WIFI_STATUS +#endif diff --git a/8/platforms/android-14/arch-mips/usr/include/asm-generic/swab.h b/8/platforms/android-14/arch-mips/usr/include/asm-generic/swab.h new file mode 100644 index 0000000..8279332 --- /dev/null +++ b/8/platforms/android-14/arch-mips/usr/include/asm-generic/swab.h @@ -0,0 +1,29 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ +#ifndef _ASM_GENERIC_SWAB_H +#define _ASM_GENERIC_SWAB_H +#include <asm/bitsperlong.h> +#if __BITS_PER_LONG == 32 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#if defined(__GNUC__) && (!defined(__STRICT_ANSI__) || defined(__KERNEL__)) +#define __SWAB_64_THRU_32__ +#endif +#endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#endif diff --git a/8/platforms/android-14/arch-mips/usr/include/asm/cpu-features.h b/8/platforms/android-14/arch-mips/usr/include/asm/cpu-features.h index b3642c2..50ce572 100644 --- a/8/platforms/android-14/arch-mips/usr/include/asm/cpu-features.h +++ b/8/platforms/android-14/arch-mips/usr/include/asm/cpu-features.h @@ -161,26 +161,45 @@ #define cpu_has_userlocal (cpu_data[0].options & MIPS_CPU_ULRI) #endif /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#ifndef cpu_has_nofpuex +#define cpu_has_nofpuex (cpu_data[0].options & MIPS_CPU_NOFPUEX) +#endif +#ifndef cpu_has_64bits +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define cpu_has_64bits (cpu_data[0].isa_level & MIPS_CPU_ISA_64BIT) +#endif +#ifndef cpu_has_64bit_zero_reg +#define cpu_has_64bit_zero_reg (cpu_data[0].isa_level & MIPS_CPU_ISA_64BIT) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#endif +#ifndef cpu_has_64bit_gp_regs +#define cpu_has_64bit_gp_regs 0 +#endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#ifndef cpu_has_64bit_addresses +#define cpu_has_64bit_addresses 0 +#endif #ifndef cpu_has_vint +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define cpu_has_vint 0 #endif #ifndef cpu_has_veic -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define cpu_has_veic 0 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #endif #ifndef cpu_has_inclusive_pcaches #define cpu_has_inclusive_pcaches (cpu_data[0].options & MIPS_CPU_INCLUSIVE_CACHES) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #ifndef cpu_dcache_line_size #define cpu_dcache_line_size() cpu_data[0].dcache.linesz #endif -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #ifndef cpu_icache_line_size +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define cpu_icache_line_size() cpu_data[0].icache.linesz #endif #ifndef cpu_scache_line_size -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define cpu_scache_line_size() cpu_data[0].scache.linesz +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #endif #endif diff --git a/8/platforms/android-14/arch-mips/usr/include/asm/elf.h b/8/platforms/android-14/arch-mips/usr/include/asm/elf.h index 6ccb622..6f79694 100644 --- a/8/platforms/android-14/arch-mips/usr/include/asm/elf.h +++ b/8/platforms/android-14/arch-mips/usr/include/asm/elf.h @@ -186,29 +186,33 @@ typedef elf_greg_t elf_gregset_t[ELF_NGREG]; typedef double elf_fpreg_t; typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG]; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define elf_check_arch(hdr) ({ int __res = 1; struct elfhdr *__h = (hdr); if (__h->e_machine != EM_MIPS) __res = 0; if (__h->e_ident[EI_CLASS] != ELFCLASS32) __res = 0; if ((__h->e_flags & EF_MIPS_ABI2) != 0) __res = 0; if (((__h->e_flags & EF_MIPS_ABI) != 0) && ((__h->e_flags & EF_MIPS_ABI) != EF_MIPS_ABI_O32)) __res = 0; __res; }) +#define ELF_CLASS ELFCLASS32 #ifdef __MIPSEB__ #define ELF_DATA ELFDATA2MSB +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #elif __MIPSEL__ #define ELF_DATA ELFDATA2LSB -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #endif #define ELF_ARCH EM_MIPS +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #endif struct mips_abi; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SET_PERSONALITY(ex, ibcs2) do { if (ibcs2) set_personality(PER_SVR4); set_personality(PER_LINUX); current->thread.abi = &mips_abi; } while (0) struct task_struct; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ELF_CORE_COPY_REGS(elf_regs, regs) elf_dump_regs((elf_greg_t *)&(elf_regs), regs); #define ELF_CORE_COPY_TASK_REGS(tsk, elf_regs) dump_task_regs(tsk, elf_regs) #define ELF_CORE_COPY_FPREGS(tsk, elf_fpregs) dump_task_fpu(tsk, elf_fpregs) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define USE_ELF_CORE_DUMP +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ELF_EXEC_PAGESIZE PAGE_SIZE #define ELF_HWCAP (0) #define ELF_PLATFORM (NULL) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ELF_PLAT_INIT(_r, load_addr) do { _r->regs[1] = _r->regs[2] = _r->regs[3] = _r->regs[4] = 0; _r->regs[5] = _r->regs[6] = _r->regs[7] = _r->regs[8] = 0; _r->regs[9] = _r->regs[10] = _r->regs[11] = _r->regs[12] = 0; _r->regs[13] = _r->regs[14] = _r->regs[15] = _r->regs[16] = 0; _r->regs[17] = _r->regs[18] = _r->regs[19] = _r->regs[20] = 0; _r->regs[21] = _r->regs[22] = _r->regs[23] = _r->regs[24] = 0; _r->regs[25] = _r->regs[26] = _r->regs[27] = _r->regs[28] = 0; _r->regs[30] = _r->regs[31] = 0; } while (0) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #ifndef ELF_ET_DYN_BASE #define ELF_ET_DYN_BASE (TASK_SIZE / 3 * 2) #endif -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ diff --git a/8/platforms/android-14/arch-mips/usr/include/asm/fcntl.h b/8/platforms/android-14/arch-mips/usr/include/asm/fcntl.h index 2686340..73de4ad 100644 --- a/8/platforms/android-14/arch-mips/usr/include/asm/fcntl.h +++ b/8/platforms/android-14/arch-mips/usr/include/asm/fcntl.h @@ -43,6 +43,18 @@ /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define F_SETLKW64 35 #endif +struct flock { + short l_type; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + short l_whence; + off_t l_start; + off_t l_len; + long l_sysid; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + __kernel_pid_t l_pid; + long pad[4]; +}; +#define HAVE_ARCH_STRUCT_FLOCK +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #include <asm-generic/fcntl.h> #endif -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ diff --git a/8/platforms/android-14/arch-mips/usr/include/asm/mach-generic/spaces.h b/8/platforms/android-14/arch-mips/usr/include/asm/mach-generic/spaces.h index cbda237..0ec1f57 100644 --- a/8/platforms/android-14/arch-mips/usr/include/asm/mach-generic/spaces.h +++ b/8/platforms/android-14/arch-mips/usr/include/asm/mach-generic/spaces.h @@ -23,8 +23,19 @@ /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define PHYS_OFFSET _AC(0, UL) #endif +#define CAC_BASE _AC(0x80000000, UL) +#define IO_BASE _AC(0xa0000000, UL) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define UNCAC_BASE _AC(0xa0000000, UL) +#ifndef MAP_BASE +#define MAP_BASE _AC(0xc0000000, UL) +#endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#ifndef HIGHMEM_START +#define HIGHMEM_START _AC(0x20000000, UL) +#endif #ifndef PAGE_OFFSET -#define PAGE_OFFSET (CAC_BASE + PHYS_OFFSET) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define PAGE_OFFSET (CAC_BASE + PHYS_OFFSET) #endif #endif diff --git a/8/platforms/android-14/arch-mips/usr/include/asm/mman.h b/8/platforms/android-14/arch-mips/usr/include/asm/mman.h index 9e51c67..cb42c6a 100644 --- a/8/platforms/android-14/arch-mips/usr/include/asm/mman.h +++ b/8/platforms/android-14/arch-mips/usr/include/asm/mman.h @@ -47,22 +47,33 @@ #define MAP_POPULATE 0x10000 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define MAP_NONBLOCK 0x20000 +#define MAP_STACK 0x40000 +#define MAP_HUGETLB 0x80000 #define MS_ASYNC 0x0001 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define MS_INVALIDATE 0x0002 #define MS_SYNC 0x0004 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define MCL_CURRENT 1 #define MCL_FUTURE 2 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define MADV_NORMAL 0 #define MADV_RANDOM 1 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define MADV_SEQUENTIAL 2 #define MADV_WILLNEED 3 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define MADV_DONTNEED 4 #define MADV_REMOVE 9 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define MADV_DONTFORK 10 #define MADV_DOFORK 11 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MADV_MERGEABLE 12 +#define MADV_UNMERGEABLE 13 +#define MADV_HWPOISON 100 +#define MADV_HUGEPAGE 14 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MADV_NOHUGEPAGE 15 +#define MADV_DONTDUMP 16 +#define MADV_DODUMP 17 #define MAP_FILE 0 -#endif /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#endif diff --git a/8/platforms/android-14/arch-mips/usr/include/asm/module.h b/8/platforms/android-14/arch-mips/usr/include/asm/module.h index 45808e9..dd24290 100644 --- a/8/platforms/android-14/arch-mips/usr/include/asm/module.h +++ b/8/platforms/android-14/arch-mips/usr/include/asm/module.h @@ -49,8 +49,20 @@ typedef struct { Elf64_Byte r_type; Elf64_Sxword r_addend; } Elf64_Mips_Rela; +#define Elf_Shdr Elf32_Shdr +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define Elf_Sym Elf32_Sym +#define Elf_Ehdr Elf32_Ehdr +#define Elf_Addr Elf32_Addr +#define Elf_Mips_Rel Elf32_Rel +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define Elf_Mips_Rela Elf32_Rela +#define ELF_MIPS_R_SYM(rel) ELF32_R_SYM(rel.r_info) +#define ELF_MIPS_R_TYPE(rel) ELF32_R_TYPE(rel.r_info) #error MODULE_PROC_FAMILY undefined for your processor configuration /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MODULE_KERNEL_TYPE "32BIT " #define MODULE_KERNEL_SMTC "" #define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY MODULE_KERNEL_TYPE MODULE_KERNEL_SMTC #endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ diff --git a/8/platforms/android-14/arch-mips/usr/include/asm/msgbuf.h b/8/platforms/android-14/arch-mips/usr/include/asm/msgbuf.h index 31a1887..d81da73 100644 --- a/8/platforms/android-14/arch-mips/usr/include/asm/msgbuf.h +++ b/8/platforms/android-14/arch-mips/usr/include/asm/msgbuf.h @@ -21,18 +21,21 @@ struct msqid64_ds { struct ipc64_perm msg_perm; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + unsigned long __unused1; __kernel_time_t msg_stime; + unsigned long __unused2; __kernel_time_t msg_rtime; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + unsigned long __unused3; __kernel_time_t msg_ctime; unsigned long msg_cbytes; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ unsigned long msg_qnum; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ unsigned long msg_qbytes; __kernel_pid_t msg_lspid; __kernel_pid_t msg_lrpid; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ unsigned long __unused4; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ unsigned long __unused5; }; #endif -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ diff --git a/8/platforms/android-14/arch-mips/usr/include/asm/pgalloc.h b/8/platforms/android-14/arch-mips/usr/include/asm/pgalloc.h index e3ef3b8..0f16346 100644 --- a/8/platforms/android-14/arch-mips/usr/include/asm/pgalloc.h +++ b/8/platforms/android-14/arch-mips/usr/include/asm/pgalloc.h @@ -24,6 +24,8 @@ #include <linux/sched.h> #define pmd_pgtable(pmd) pmd_page(pmd) #define __pte_free_tlb(tlb,pte) do { pgtable_page_dtor(pte); tlb_remove_page((tlb), pte); } while (0) -#define check_pgt_cache() do { } while (0) +#define pmd_free(mm, x) do { } while (0) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __pmd_free_tlb(tlb, x) do { } while (0) +#define check_pgt_cache() do { } while (0) #endif diff --git a/8/platforms/android-14/arch-mips/usr/include/asm/pgtable-32.h b/8/platforms/android-14/arch-mips/usr/include/asm/pgtable-32.h new file mode 100644 index 0000000..f005083 --- /dev/null +++ b/8/platforms/android-14/arch-mips/usr/include/asm/pgtable-32.h @@ -0,0 +1,79 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ +#ifndef _ASM_PGTABLE_32_H +#define _ASM_PGTABLE_32_H +#include <asm/addrspace.h> +#include <asm/page.h> +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#include <linux/linkage.h> +#include <asm/cachectl.h> +#include <asm/fixmap.h> +#include <asm-generic/pgtable-nopmd.h> +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define PGDIR_SHIFT (2 * PAGE_SHIFT + PTE_ORDER - PTE_T_LOG2) +#define PGDIR_SIZE (1UL << PGDIR_SHIFT) +#define PGDIR_MASK (~(PGDIR_SIZE-1)) +#define __PGD_ORDER (32 - 3 * PAGE_SHIFT + PGD_T_LOG2 + PTE_T_LOG2) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define PGD_ORDER (__PGD_ORDER >= 0 ? __PGD_ORDER : 0) +#define PUD_ORDER aieeee_attempt_to_allocate_pud +#define PMD_ORDER 1 +#define PTE_ORDER 0 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define PTRS_PER_PGD (USER_PTRS_PER_PGD * 2) +#define PTRS_PER_PTE ((PAGE_SIZE << PTE_ORDER) / sizeof(pte_t)) +#define USER_PTRS_PER_PGD (0x80000000UL/PGDIR_SIZE) +#define FIRST_USER_ADDRESS 0 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define VMALLOC_START MAP_BASE +#define PKMAP_BASE (0xfe000000UL) +#define VMALLOC_END (FIXADDR_START-2*PAGE_SIZE) +#define pte_ERROR(e) printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e)) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define pgd_ERROR(e) printk("%s:%d: bad pgd %08lx.\n", __FILE__, __LINE__, pgd_val(e)) +#define pmd_bad(pmd) (pmd_val(pmd) & ~PAGE_MASK) +#define pte_page(x) pfn_to_page(pte_pfn(x)) +#define pte_pfn(x) ((unsigned long)((x).pte >> _PFN_SHIFT)) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define pfn_pte(pfn, prot) __pte(((unsigned long long)(pfn) << _PFN_SHIFT) | pgprot_val(prot)) +#define __pgd_offset(address) pgd_index(address) +#define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1)) +#define __pmd_offset(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define pgd_offset_k(address) pgd_offset(&init_mm, address) +#define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) +#define pgd_offset(mm, addr) ((mm)->pgd + pgd_index(addr)) +#define __pte_offset(address) (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define pte_offset(dir, address) ((pte_t *) pmd_page_vaddr(*(dir)) + __pte_offset(address)) +#define pte_offset_kernel(dir, address) ((pte_t *) pmd_page_vaddr(*(dir)) + __pte_offset(address)) +#define pte_offset_map(dir, address) ((pte_t *)page_address(pmd_page(*(dir))) + __pte_offset(address)) +#define pte_unmap(pte) ((void)(pte)) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __swp_type(x) (((x).val >> 8) & 0x1f) +#define __swp_offset(x) ((x).val >> 13) +#define __swp_entry(type,offset) ((swp_entry_t) { ((type) << 8) | ((offset) << 13) }) +#define PTE_FILE_MAX_BITS 28 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define pte_to_pgoff(_pte) ((((_pte).pte >> 1) & 0x7) | (((_pte).pte >> 2) & 0x8) | (((_pte).pte >> 8) << 4)) +#define pgoff_to_pte(off) ((pte_t) { (((off) & 0x7) << 1) | (((off) & 0x8) << 2) | (((off) >> 4) << 8) | _PAGE_FILE }) +#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) +#define __swp_entry_to_pte(x) ((pte_t) { (x).val }) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#endif diff --git a/8/platforms/android-14/arch-mips/usr/include/asm/pgtable.h b/8/platforms/android-14/arch-mips/usr/include/asm/pgtable.h index ceb4343..46a5ba1 100644 --- a/8/platforms/android-14/arch-mips/usr/include/asm/pgtable.h +++ b/8/platforms/android-14/arch-mips/usr/include/asm/pgtable.h @@ -18,61 +18,62 @@ ****************************************************************************/ #ifndef _ASM_PGTABLE_H #define _ASM_PGTABLE_H +#include <asm/pgtable-32.h> #include <asm/io.h> -#include <asm/pgtable-bits.h> /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#include <asm/pgtable-bits.h> struct mm_struct; struct vm_area_struct; #define PAGE_NONE __pgprot(_PAGE_PRESENT | _CACHE_CACHABLE_NONCOHERENT) -#define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _page_cachable_default) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _page_cachable_default) #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_READ | _page_cachable_default) #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_READ | _page_cachable_default) #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | _PAGE_GLOBAL | _page_cachable_default) -#define PAGE_USERIO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _page_cachable_default) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define PAGE_USERIO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | _page_cachable_default) #define PAGE_KERNEL_UNCACHED __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | _PAGE_GLOBAL | _CACHE_UNCACHED) #define __P000 __pgprot(0) #define __P001 __pgprot(0) -#define __P010 __pgprot(0) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __P010 __pgprot(0) #define __P011 __pgprot(0) #define __P100 __pgprot(0) #define __P101 __pgprot(0) -#define __P110 __pgprot(0) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __P110 __pgprot(0) #define __P111 __pgprot(0) #define __S000 __pgprot(0) #define __S001 __pgprot(0) -#define __S010 __pgprot(0) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __S010 __pgprot(0) #define __S011 __pgprot(0) #define __S100 __pgprot(0) #define __S101 __pgprot(0) -#define __S110 __pgprot(0) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __S110 __pgprot(0) #define __S111 __pgprot(0) #define ZERO_PAGE(vaddr) (virt_to_page((void *)(empty_zero_page + (((unsigned long)(vaddr)) & zero_page_mask)))) #define pmd_phys(pmd) virt_to_phys((void *)pmd_val(pmd)) -#define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT)) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT)) #define pmd_page_vaddr(pmd) pmd_val(pmd) #define pte_none(pte) (!(pte_val(pte) & ~_PAGE_GLOBAL)) #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) -#define set_pte_at(mm, addr, ptep, pteval) set_pte(ptep, pteval) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define set_pte_at(mm, addr, ptep, pteval) set_pte(ptep, pteval) #define set_pmd(pmdptr, pmdval) do { *(pmdptr) = (pmdval); } while(0) #define PGD_T_LOG2 (__builtin_ffs(sizeof(pgd_t)) - 1) #define PMD_T_LOG2 (__builtin_ffs(sizeof(pmd_t)) - 1) -#define PTE_T_LOG2 (__builtin_ffs(sizeof(pte_t)) - 1) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define PTE_T_LOG2 (__builtin_ffs(sizeof(pte_t)) - 1) #define pgprot_noncached pgprot_noncached #define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot)) #define kern_addr_valid(addr) (1) -#define io_remap_pfn_range(vma, vaddr, pfn, size, prot) remap_pfn_range(vma, vaddr, pfn, size, prot) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define io_remap_pfn_range(vma, vaddr, pfn, size, prot) remap_pfn_range(vma, vaddr, pfn, size, prot) #include <asm-generic/pgtable.h> #define HAVE_ARCH_UNMAPPED_AREA #define pgtable_cache_init() do { } while (0) -#endif /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#endif diff --git a/8/platforms/android-14/arch-mips/usr/include/asm/processor.h b/8/platforms/android-14/arch-mips/usr/include/asm/processor.h index 3563121..fe9ee76 100644 --- a/8/platforms/android-14/arch-mips/usr/include/asm/processor.h +++ b/8/platforms/android-14/arch-mips/usr/include/asm/processor.h @@ -29,61 +29,65 @@ #include <asm/prefetch.h> #include <asm/system.h> #define current_text_addr() ({ __label__ _l; _l: &&_l;}) -#define NUM_FPU_REGS 32 +#define TASK_SIZE 0x7fff8000UL /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define STACK_TOP TASK_SIZE +#define TASK_UNMAPPED_BASE ((TASK_SIZE / 3) & ~(PAGE_SIZE)) +#define NUM_FPU_REGS 32 typedef __u64 fpureg_t; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct mips_fpu_struct { fpureg_t fpr[NUM_FPU_REGS]; unsigned int fcr31; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ }; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define NUM_DSP_REGS 6 typedef __u32 dspreg_t; struct mips_dsp_state { -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ dspreg_t dspr[NUM_DSP_REGS]; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ unsigned int dspcontrol; }; #define INIT_CPUMASK { {0,} } -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ typedef struct { +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ unsigned long seg; } mm_segment_t; #define ARCH_MIN_TASKALIGN 8 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct mips_abi; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct thread_struct { unsigned long reg16; unsigned long reg17, reg18, reg19, reg20, reg21, reg22, reg23; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ unsigned long reg29, reg30, reg31; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ unsigned long cp0_status; struct mips_fpu_struct fpu; struct mips_dsp_state dsp; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ unsigned long cp0_badvaddr; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ unsigned long cp0_baduaddr; unsigned long error_code; unsigned long trap_no; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ unsigned long irix_trampoline; +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ unsigned long irix_oldctx; struct mips_abi *abi; }; -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define FPAFF_INIT +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define INIT_THREAD { .reg16 = 0, .reg17 = 0, .reg18 = 0, .reg19 = 0, .reg20 = 0, .reg21 = 0, .reg22 = 0, .reg23 = 0, .reg29 = 0, .reg30 = 0, .reg31 = 0, .cp0_status = 0, .fpu = { .fpr = {0,}, .fcr31 = 0, }, FPAFF_INIT .dsp = { .dspr = {0, }, .dspcontrol = 0, }, .cp0_badvaddr = 0, .cp0_baduaddr = 0, .error_code = 0, .trap_no = 0, .irix_trampoline = 0, .irix_oldctx = 0, } struct task_struct; #define release_thread(thread) do { } while(0) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define prepare_to_copy(tsk) do { } while (0) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __KSTK_TOS(tsk) ((unsigned long)task_stack_page(tsk) + THREAD_SIZE - 32) #define task_pt_regs(tsk) ((struct pt_regs *)__KSTK_TOS(tsk) - 1) #define KSTK_EIP(tsk) (task_pt_regs(tsk)->cp0_epc) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define KSTK_ESP(tsk) (task_pt_regs(tsk)->regs[29]) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define KSTK_STATUS(tsk) (task_pt_regs(tsk)->cp0_status) #define cpu_relax() barrier() #define return_address() ({__asm__ __volatile__("":::"$31");__builtin_return_address(0);}) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ diff --git a/8/platforms/android-14/arch-mips/usr/include/asm/ptrace.h b/8/platforms/android-14/arch-mips/usr/include/asm/ptrace.h index 2b71e70..43cfcf1 100644 --- a/8/platforms/android-14/arch-mips/usr/include/asm/ptrace.h +++ b/8/platforms/android-14/arch-mips/usr/include/asm/ptrace.h @@ -33,29 +33,31 @@ /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define ACX 78 struct pt_regs { + unsigned long pad0[6]; unsigned long regs[32]; - unsigned long cp0_status; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + unsigned long cp0_status; unsigned long hi; unsigned long lo; unsigned long cp0_badvaddr; - unsigned long cp0_cause; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + unsigned long cp0_cause; unsigned long cp0_epc; } __attribute__ ((aligned (8))); #define PTRACE_GETREGS 12 -#define PTRACE_SETREGS 13 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define PTRACE_SETREGS 13 #define PTRACE_GETFPREGS 14 #define PTRACE_SETFPREGS 15 #define PTRACE_OLDSETOPTIONS 21 -#define PTRACE_GET_THREAD_AREA 25 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define PTRACE_GET_THREAD_AREA 25 #define PTRACE_SET_THREAD_AREA 26 #define PTRACE_PEEKTEXT_3264 0xc0 #define PTRACE_PEEKDATA_3264 0xc1 -#define PTRACE_POKETEXT_3264 0xc2 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define PTRACE_POKETEXT_3264 0xc2 #define PTRACE_POKEDATA_3264 0xc3 #define PTRACE_GET_THREAD_AREA_3264 0xc4 #endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ diff --git a/8/platforms/android-14/arch-mips/usr/include/asm/reg.h b/8/platforms/android-14/arch-mips/usr/include/asm/reg.h index 9174e27..1b8e8ee 100644 --- a/8/platforms/android-14/arch-mips/usr/include/asm/reg.h +++ b/8/platforms/android-14/arch-mips/usr/include/asm/reg.h @@ -18,57 +18,54 @@ ****************************************************************************/ #ifndef __ASM_MIPS_REG_H #define __ASM_MIPS_REG_H -#ifdef WANT_COMPAT_REG_H #define EF_R0 6 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define EF_R1 7 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define EF_R2 8 #define EF_R3 9 #define EF_R4 10 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define EF_R5 11 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define EF_R6 12 #define EF_R7 13 #define EF_R8 14 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define EF_R9 15 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define EF_R10 16 #define EF_R11 17 #define EF_R12 18 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define EF_R13 19 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define EF_R14 20 #define EF_R15 21 #define EF_R16 22 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define EF_R17 23 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define EF_R18 24 #define EF_R19 25 #define EF_R20 26 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define EF_R21 27 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define EF_R22 28 #define EF_R23 29 #define EF_R24 30 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define EF_R25 31 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define EF_R26 32 #define EF_R27 33 #define EF_R28 34 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define EF_R29 35 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define EF_R30 36 #define EF_R31 37 #define EF_LO 38 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define EF_HI 39 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define EF_CP0_EPC 40 #define EF_CP0_BADVADDR 41 #define EF_CP0_STATUS 42 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define EF_CP0_CAUSE 43 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define EF_UNUSED0 44 #define EF_SIZE 180 #endif -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#endif diff --git a/8/platforms/android-14/arch-mips/usr/include/asm/resource.h b/8/platforms/android-14/arch-mips/usr/include/asm/resource.h index e841072..1374d7d 100644 --- a/8/platforms/android-14/arch-mips/usr/include/asm/resource.h +++ b/8/platforms/android-14/arch-mips/usr/include/asm/resource.h @@ -24,6 +24,7 @@ #define RLIMIT_RSS 7 #define RLIMIT_NPROC 8 #define RLIMIT_MEMLOCK 9 -#include <asm-generic/resource.h> +#define RLIM_INFINITY 0x7fffffffUL /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#include <asm-generic/resource.h> #endif diff --git a/8/platforms/android-14/arch-mips/usr/include/asm/siginfo.h b/8/platforms/android-14/arch-mips/usr/include/asm/siginfo.h index f3e508a..8fdbf77 100644 --- a/8/platforms/android-14/arch-mips/usr/include/asm/siginfo.h +++ b/8/platforms/android-14/arch-mips/usr/include/asm/siginfo.h @@ -24,73 +24,75 @@ #define HAVE_ARCH_SIGINFO_T #define HAVE_ARCH_COPY_SIGINFO struct siginfo; -#include <asm-generic/siginfo.h> +#define __ARCH_SI_PREAMBLE_SIZE (3 * sizeof(int)) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#include <asm-generic/siginfo.h> typedef struct siginfo { int si_signo; int si_code; - int si_errno; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + int si_errno; int __pad0[SI_MAX_SIZE / sizeof(int) - SI_PAD_SIZE - 3]; union { int _pad[SI_PAD_SIZE]; - struct { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + struct { pid_t _pid; __ARCH_SI_UID_T _uid; } _kill; - struct { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + struct { timer_t _tid; int _overrun; char _pad[sizeof( __ARCH_SI_UID_T) - sizeof(int)]; - sigval_t _sigval; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + sigval_t _sigval; int _sys_private; } _timer; struct { - pid_t _pid; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + pid_t _pid; __ARCH_SI_UID_T _uid; sigval_t _sigval; } _rt; - struct { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + struct { pid_t _pid; __ARCH_SI_UID_T _uid; int _status; - clock_t _utime; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + clock_t _utime; clock_t _stime; } _sigchld; struct { - pid_t _pid; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + pid_t _pid; clock_t _utime; int _status; clock_t _stime; - } _irix_sigchld; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + } _irix_sigchld; struct { void __user *_addr; #ifdef __ARCH_SI_TRAPNO - int _trapno; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + int _trapno; #endif } _sigfault; struct { - __ARCH_SI_BAND_T _band; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ + __ARCH_SI_BAND_T _band; int _fd; } _sigpoll; } _sifields; -} siginfo_t; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +} siginfo_t; #undef SI_ASYNCIO #undef SI_TIMER #undef SI_MESGQ -#define SI_ASYNCIO -2 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SI_ASYNCIO -2 #define SI_TIMER __SI_CODE(__SI_TIMER, -3) #define SI_MESGQ __SI_CODE(__SI_MESGQ, -4) #endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ diff --git a/8/platforms/android-14/arch-mips/usr/include/asm/socket.h b/8/platforms/android-14/arch-mips/usr/include/asm/socket.h index ff8a3ba..4dbbe85 100644 --- a/8/platforms/android-14/arch-mips/usr/include/asm/socket.h +++ b/8/platforms/android-14/arch-mips/usr/include/asm/socket.h @@ -42,30 +42,39 @@ #define SO_RCVTIMEO 0x1006 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SO_ACCEPTCONN 0x1009 +#define SO_PROTOCOL 0x1028 +#define SO_DOMAIN 0x1029 #define SO_NO_CHECK 11 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SO_PRIORITY 12 #define SO_BSDCOMPAT 14 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SO_PASSCRED 17 #define SO_PEERCRED 18 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SO_SECURITY_AUTHENTICATION 22 #define SO_SECURITY_ENCRYPTION_TRANSPORT 23 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SO_SECURITY_ENCRYPTION_NETWORK 24 #define SO_BINDTODEVICE 25 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SO_ATTACH_FILTER 26 #define SO_DETACH_FILTER 27 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SO_PEERNAME 28 #define SO_TIMESTAMP 29 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SCM_TIMESTAMP SO_TIMESTAMP #define SO_PEERSEC 30 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SO_SNDBUFFORCE 31 #define SO_RCVBUFFORCE 33 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SO_PASSSEC 34 #define SO_TIMESTAMPNS 35 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define SCM_TIMESTAMPNS SO_TIMESTAMPNS #define SO_MARK 36 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_TIMESTAMPING 37 +#define SCM_TIMESTAMPING SO_TIMESTAMPING +#define SO_RXQ_OVFL 40 +#define SO_WIFI_STATUS 41 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SCM_WIFI_STATUS SO_WIFI_STATUS #endif diff --git a/8/platforms/android-14/arch-mips/usr/include/asm/string.h b/8/platforms/android-14/arch-mips/usr/include/asm/string.h index 856f61b..6f375a3 100644 --- a/8/platforms/android-14/arch-mips/usr/include/asm/string.h +++ b/8/platforms/android-14/arch-mips/usr/include/asm/string.h @@ -18,8 +18,16 @@ ****************************************************************************/ #ifndef _ASM_STRING_H #define _ASM_STRING_H +#ifndef IN_STRING_C +#define __HAVE_ARCH_STRCPY +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __HAVE_ARCH_STRNCPY +#define __HAVE_ARCH_STRCMP +#endif +#define __HAVE_ARCH_STRNCMP +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __HAVE_ARCH_MEMSET #define __HAVE_ARCH_MEMCPY -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __HAVE_ARCH_MEMMOVE #endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ diff --git a/8/platforms/android-14/arch-mips/usr/include/asm/uaccess.h b/8/platforms/android-14/arch-mips/usr/include/asm/uaccess.h index 3703af3..96025d3 100644 --- a/8/platforms/android-14/arch-mips/usr/include/asm/uaccess.h +++ b/8/platforms/android-14/arch-mips/usr/include/asm/uaccess.h @@ -23,35 +23,45 @@ /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #include <linux/thread_info.h> #include <asm-generic/uaccess.h> +#define __UA_LIMIT 0x80000000UL +#define __UA_ADDR ".word" +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __UA_LA "la" +#define __UA_ADDU "addu" +#define __UA_t0 "$8" +#define __UA_t1 "$9" +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define KERNEL_DS ((mm_segment_t) { 0UL }) #define USER_DS ((mm_segment_t) { __UA_LIMIT }) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define VERIFY_READ 0 #define VERIFY_WRITE 1 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define get_ds() (KERNEL_DS) #define get_fs() (current_thread_info()->addr_limit) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define set_fs(x) (current_thread_info()->addr_limit = (x)) #define segment_eq(a, b) ((a).seg == (b).seg) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __ua_size(size) ((__builtin_constant_p(size) && (signed long) (size) > 0) ? 0 : (size)) #define __access_mask get_fs().seg -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __access_ok(addr, size, mask) (((signed long)((mask) & ((addr) | ((addr) + (size)) | __ua_size(size)))) == 0) #define access_ok(type, addr, size) likely(__access_ok((unsigned long)(addr), (size), __access_mask)) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define put_user(x,ptr) __put_user_check((x), (ptr), sizeof(*(ptr))) #define get_user(x,ptr) __get_user_check((x), (ptr), sizeof(*(ptr))) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __put_user(x,ptr) __put_user_nocheck((x), (ptr), sizeof(*(ptr))) #define __get_user(x,ptr) __get_user_nocheck((x), (ptr), sizeof(*(ptr))) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ struct __large_struct { unsigned long buf[100]; }; #define __m(x) (*(struct __large_struct __user *)(x)) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __GET_USER_DW(val, ptr) __get_user_asm_ll32(val, ptr) #define __get_user_common(val, size, ptr) do { switch (size) { case 1: __get_user_asm(val, "lb", ptr); break; case 2: __get_user_asm(val, "lh", ptr); break; case 4: __get_user_asm(val, "lw", ptr); break; case 8: __GET_USER_DW(val, ptr); break; default: __get_user_unknown(); break; } } while (0) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __get_user_nocheck(x, ptr, size) ({ long __gu_err; __get_user_common((x), size, ptr); __gu_err; }) #define __get_user_check(x, ptr, size) ({ long __gu_err = -EFAULT; const __typeof__(*(ptr)) __user * __gu_ptr = (ptr); if (likely(access_ok(VERIFY_READ, __gu_ptr, size))) __get_user_common((x), size, __gu_ptr); __gu_err; }) #define __get_user_asm(val, insn, addr) { long __gu_tmp; __asm__ __volatile__( "1: " insn " %1, %3 \n" "2: \n" " .section .fixup,\"ax\" \n" "3: li %0, %4 \n" " j 2b \n" " .previous \n" " .section __ex_table,\"a\" \n" " "__UA_ADDR "\t1b, 3b \n" " .previous \n" : "=r" (__gu_err), "=r" (__gu_tmp) : "0" (0), "o" (__m(addr)), "i" (-EFAULT)); (val) = (__typeof__(*(addr))) __gu_tmp; } -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __get_user_asm_ll32(val, addr) { union { unsigned long long l; __typeof__(*(addr)) t; } __gu_tmp; __asm__ __volatile__( "1: lw %1, (%3) \n" "2: lw %D1, 4(%3) \n" "3: .section .fixup,\"ax\" \n" "4: li %0, %4 \n" " move %1, $0 \n" " move %D1, $0 \n" " j 3b \n" " .previous \n" " .section __ex_table,\"a\" \n" " " __UA_ADDR " 1b, 4b \n" " " __UA_ADDR " 2b, 4b \n" " .previous \n" : "=r" (__gu_err), "=&r" (__gu_tmp.l) : "0" (0), "r" (addr), "i" (-EFAULT)); (val) = __gu_tmp.t; } +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __PUT_USER_DW(ptr) __put_user_asm_ll32(ptr) #define __put_user_nocheck(x, ptr, size) ({ __typeof__(*(ptr)) __pu_val; long __pu_err = 0; __pu_val = (x); switch (size) { case 1: __put_user_asm("sb", ptr); break; case 2: __put_user_asm("sh", ptr); break; case 4: __put_user_asm("sw", ptr); break; case 8: __PUT_USER_DW(ptr); break; default: __put_user_unknown(); break; } __pu_err; }) #define __put_user_check(x, ptr, size) ({ __typeof__(*(ptr)) __user *__pu_addr = (ptr); __typeof__(*(ptr)) __pu_val = (x); long __pu_err = -EFAULT; if (likely(access_ok(VERIFY_WRITE, __pu_addr, size))) { switch (size) { case 1: __put_user_asm("sb", __pu_addr); break; case 2: __put_user_asm("sh", __pu_addr); break; case 4: __put_user_asm("sw", __pu_addr); break; case 8: __PUT_USER_DW(__pu_addr); break; default: __put_user_unknown(); break; } } __pu_err; }) #define __put_user_asm(insn, ptr) { __asm__ __volatile__( "1: " insn " %z2, %3 # __put_user_asm\n" "2: \n" " .section .fixup,\"ax\" \n" "3: li %0, %4 \n" " j 2b \n" " .previous \n" " .section __ex_table,\"a\" \n" " " __UA_ADDR " 1b, 3b \n" " .previous \n" : "=r" (__pu_err) : "0" (0), "Jr" (__pu_val), "o" (__m(ptr)), "i" (-EFAULT)); } diff --git a/8/platforms/android-14/arch-mips/usr/include/asm/unistd.h b/8/platforms/android-14/arch-mips/usr/include/asm/unistd.h index 38e84cc..4a8744f 100644 --- a/8/platforms/android-14/arch-mips/usr/include/asm/unistd.h +++ b/8/platforms/android-14/arch-mips/usr/include/asm/unistd.h @@ -433,749 +433,814 @@ /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_pipe2 (__NR_Linux + 328) #define __NR_inotify_init1 (__NR_Linux + 329) -#define __NR_Linux_syscalls 329 -#endif +#define __NR_preadv (__NR_Linux + 330) +#define __NR_pwritev (__NR_Linux + 331) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_rt_tgsigqueueinfo (__NR_Linux + 332) +#define __NR_perf_event_open (__NR_Linux + 333) +#define __NR_accept4 (__NR_Linux + 334) +#define __NR_recvmmsg (__NR_Linux + 335) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_fanotify_init (__NR_Linux + 336) +#define __NR_fanotify_mark (__NR_Linux + 337) +#define __NR_prlimit64 (__NR_Linux + 338) +#define __NR_name_to_handle_at (__NR_Linux + 339) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_open_by_handle_at (__NR_Linux + 340) +#define __NR_clock_adjtime (__NR_Linux + 341) +#define __NR_syncfs (__NR_Linux + 342) +#define __NR_sendmmsg (__NR_Linux + 343) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_setns (__NR_Linux + 344) +#define __NR_process_vm_readv (__NR_Linux + 345) +#define __NR_process_vm_writev (__NR_Linux + 346) +#define __NR_Linux_syscalls 346 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#endif #define __NR_O32_Linux 4000 -#define __NR_O32_Linux_syscalls 329 +#define __NR_O32_Linux_syscalls 346 #if _MIPS_SIM == _MIPS_SIM_ABI64 -#define __NR_Linux 5000 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_Linux 5000 #define __NR_read (__NR_Linux + 0) #define __NR_write (__NR_Linux + 1) #define __NR_open (__NR_Linux + 2) -#define __NR_close (__NR_Linux + 3) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_close (__NR_Linux + 3) #define __NR_stat (__NR_Linux + 4) #define __NR_fstat (__NR_Linux + 5) #define __NR_lstat (__NR_Linux + 6) -#define __NR_poll (__NR_Linux + 7) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_poll (__NR_Linux + 7) #define __NR_lseek (__NR_Linux + 8) #define __NR_mmap (__NR_Linux + 9) #define __NR_mprotect (__NR_Linux + 10) -#define __NR_munmap (__NR_Linux + 11) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_munmap (__NR_Linux + 11) #define __NR_brk (__NR_Linux + 12) #define __NR_rt_sigaction (__NR_Linux + 13) #define __NR_rt_sigprocmask (__NR_Linux + 14) -#define __NR_ioctl (__NR_Linux + 15) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_ioctl (__NR_Linux + 15) #define __NR_pread64 (__NR_Linux + 16) #define __NR_pwrite64 (__NR_Linux + 17) #define __NR_readv (__NR_Linux + 18) -#define __NR_writev (__NR_Linux + 19) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_writev (__NR_Linux + 19) #define __NR_access (__NR_Linux + 20) #define __NR_pipe (__NR_Linux + 21) #define __NR__newselect (__NR_Linux + 22) -#define __NR_sched_yield (__NR_Linux + 23) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_sched_yield (__NR_Linux + 23) #define __NR_mremap (__NR_Linux + 24) #define __NR_msync (__NR_Linux + 25) #define __NR_mincore (__NR_Linux + 26) -#define __NR_madvise (__NR_Linux + 27) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_madvise (__NR_Linux + 27) #define __NR_shmget (__NR_Linux + 28) #define __NR_shmat (__NR_Linux + 29) #define __NR_shmctl (__NR_Linux + 30) -#define __NR_dup (__NR_Linux + 31) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_dup (__NR_Linux + 31) #define __NR_dup2 (__NR_Linux + 32) #define __NR_pause (__NR_Linux + 33) #define __NR_nanosleep (__NR_Linux + 34) -#define __NR_getitimer (__NR_Linux + 35) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_getitimer (__NR_Linux + 35) #define __NR_setitimer (__NR_Linux + 36) #define __NR_alarm (__NR_Linux + 37) #define __NR_getpid (__NR_Linux + 38) -#define __NR_sendfile (__NR_Linux + 39) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_sendfile (__NR_Linux + 39) #define __NR_socket (__NR_Linux + 40) #define __NR_connect (__NR_Linux + 41) #define __NR_accept (__NR_Linux + 42) -#define __NR_sendto (__NR_Linux + 43) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_sendto (__NR_Linux + 43) #define __NR_recvfrom (__NR_Linux + 44) #define __NR_sendmsg (__NR_Linux + 45) #define __NR_recvmsg (__NR_Linux + 46) -#define __NR_shutdown (__NR_Linux + 47) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_shutdown (__NR_Linux + 47) #define __NR_bind (__NR_Linux + 48) #define __NR_listen (__NR_Linux + 49) #define __NR_getsockname (__NR_Linux + 50) -#define __NR_getpeername (__NR_Linux + 51) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_getpeername (__NR_Linux + 51) #define __NR_socketpair (__NR_Linux + 52) #define __NR_setsockopt (__NR_Linux + 53) #define __NR_getsockopt (__NR_Linux + 54) -#define __NR_clone (__NR_Linux + 55) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_clone (__NR_Linux + 55) #define __NR_fork (__NR_Linux + 56) #define __NR_execve (__NR_Linux + 57) #define __NR_exit (__NR_Linux + 58) -#define __NR_wait4 (__NR_Linux + 59) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_wait4 (__NR_Linux + 59) #define __NR_kill (__NR_Linux + 60) #define __NR_uname (__NR_Linux + 61) #define __NR_semget (__NR_Linux + 62) -#define __NR_semop (__NR_Linux + 63) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_semop (__NR_Linux + 63) #define __NR_semctl (__NR_Linux + 64) #define __NR_shmdt (__NR_Linux + 65) #define __NR_msgget (__NR_Linux + 66) -#define __NR_msgsnd (__NR_Linux + 67) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_msgsnd (__NR_Linux + 67) #define __NR_msgrcv (__NR_Linux + 68) #define __NR_msgctl (__NR_Linux + 69) #define __NR_fcntl (__NR_Linux + 70) -#define __NR_flock (__NR_Linux + 71) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_flock (__NR_Linux + 71) #define __NR_fsync (__NR_Linux + 72) #define __NR_fdatasync (__NR_Linux + 73) #define __NR_truncate (__NR_Linux + 74) -#define __NR_ftruncate (__NR_Linux + 75) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_ftruncate (__NR_Linux + 75) #define __NR_getdents (__NR_Linux + 76) #define __NR_getcwd (__NR_Linux + 77) #define __NR_chdir (__NR_Linux + 78) -#define __NR_fchdir (__NR_Linux + 79) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_fchdir (__NR_Linux + 79) #define __NR_rename (__NR_Linux + 80) #define __NR_mkdir (__NR_Linux + 81) #define __NR_rmdir (__NR_Linux + 82) -#define __NR_creat (__NR_Linux + 83) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_creat (__NR_Linux + 83) #define __NR_link (__NR_Linux + 84) #define __NR_unlink (__NR_Linux + 85) #define __NR_symlink (__NR_Linux + 86) -#define __NR_readlink (__NR_Linux + 87) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_readlink (__NR_Linux + 87) #define __NR_chmod (__NR_Linux + 88) #define __NR_fchmod (__NR_Linux + 89) #define __NR_chown (__NR_Linux + 90) -#define __NR_fchown (__NR_Linux + 91) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_fchown (__NR_Linux + 91) #define __NR_lchown (__NR_Linux + 92) #define __NR_umask (__NR_Linux + 93) #define __NR_gettimeofday (__NR_Linux + 94) -#define __NR_getrlimit (__NR_Linux + 95) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_getrlimit (__NR_Linux + 95) #define __NR_getrusage (__NR_Linux + 96) #define __NR_sysinfo (__NR_Linux + 97) #define __NR_times (__NR_Linux + 98) -#define __NR_ptrace (__NR_Linux + 99) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_ptrace (__NR_Linux + 99) #define __NR_getuid (__NR_Linux + 100) #define __NR_syslog (__NR_Linux + 101) #define __NR_getgid (__NR_Linux + 102) -#define __NR_setuid (__NR_Linux + 103) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_setuid (__NR_Linux + 103) #define __NR_setgid (__NR_Linux + 104) #define __NR_geteuid (__NR_Linux + 105) #define __NR_getegid (__NR_Linux + 106) -#define __NR_setpgid (__NR_Linux + 107) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_setpgid (__NR_Linux + 107) #define __NR_getppid (__NR_Linux + 108) #define __NR_getpgrp (__NR_Linux + 109) #define __NR_setsid (__NR_Linux + 110) -#define __NR_setreuid (__NR_Linux + 111) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_setreuid (__NR_Linux + 111) #define __NR_setregid (__NR_Linux + 112) #define __NR_getgroups (__NR_Linux + 113) #define __NR_setgroups (__NR_Linux + 114) -#define __NR_setresuid (__NR_Linux + 115) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_setresuid (__NR_Linux + 115) #define __NR_getresuid (__NR_Linux + 116) #define __NR_setresgid (__NR_Linux + 117) #define __NR_getresgid (__NR_Linux + 118) -#define __NR_getpgid (__NR_Linux + 119) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_getpgid (__NR_Linux + 119) #define __NR_setfsuid (__NR_Linux + 120) #define __NR_setfsgid (__NR_Linux + 121) #define __NR_getsid (__NR_Linux + 122) -#define __NR_capget (__NR_Linux + 123) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_capget (__NR_Linux + 123) #define __NR_capset (__NR_Linux + 124) #define __NR_rt_sigpending (__NR_Linux + 125) #define __NR_rt_sigtimedwait (__NR_Linux + 126) -#define __NR_rt_sigqueueinfo (__NR_Linux + 127) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_rt_sigqueueinfo (__NR_Linux + 127) #define __NR_rt_sigsuspend (__NR_Linux + 128) #define __NR_sigaltstack (__NR_Linux + 129) #define __NR_utime (__NR_Linux + 130) -#define __NR_mknod (__NR_Linux + 131) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_mknod (__NR_Linux + 131) #define __NR_personality (__NR_Linux + 132) #define __NR_ustat (__NR_Linux + 133) #define __NR_statfs (__NR_Linux + 134) -#define __NR_fstatfs (__NR_Linux + 135) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_fstatfs (__NR_Linux + 135) #define __NR_sysfs (__NR_Linux + 136) #define __NR_getpriority (__NR_Linux + 137) #define __NR_setpriority (__NR_Linux + 138) -#define __NR_sched_setparam (__NR_Linux + 139) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_sched_setparam (__NR_Linux + 139) #define __NR_sched_getparam (__NR_Linux + 140) #define __NR_sched_setscheduler (__NR_Linux + 141) #define __NR_sched_getscheduler (__NR_Linux + 142) -#define __NR_sched_get_priority_max (__NR_Linux + 143) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_sched_get_priority_max (__NR_Linux + 143) #define __NR_sched_get_priority_min (__NR_Linux + 144) #define __NR_sched_rr_get_interval (__NR_Linux + 145) #define __NR_mlock (__NR_Linux + 146) -#define __NR_munlock (__NR_Linux + 147) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_munlock (__NR_Linux + 147) #define __NR_mlockall (__NR_Linux + 148) #define __NR_munlockall (__NR_Linux + 149) #define __NR_vhangup (__NR_Linux + 150) -#define __NR_pivot_root (__NR_Linux + 151) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_pivot_root (__NR_Linux + 151) #define __NR__sysctl (__NR_Linux + 152) #define __NR_prctl (__NR_Linux + 153) #define __NR_adjtimex (__NR_Linux + 154) -#define __NR_setrlimit (__NR_Linux + 155) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_setrlimit (__NR_Linux + 155) #define __NR_chroot (__NR_Linux + 156) #define __NR_sync (__NR_Linux + 157) #define __NR_acct (__NR_Linux + 158) -#define __NR_settimeofday (__NR_Linux + 159) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_settimeofday (__NR_Linux + 159) #define __NR_mount (__NR_Linux + 160) #define __NR_umount2 (__NR_Linux + 161) #define __NR_swapon (__NR_Linux + 162) -#define __NR_swapoff (__NR_Linux + 163) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_swapoff (__NR_Linux + 163) #define __NR_reboot (__NR_Linux + 164) #define __NR_sethostname (__NR_Linux + 165) #define __NR_setdomainname (__NR_Linux + 166) -#define __NR_create_module (__NR_Linux + 167) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_create_module (__NR_Linux + 167) #define __NR_init_module (__NR_Linux + 168) #define __NR_delete_module (__NR_Linux + 169) #define __NR_get_kernel_syms (__NR_Linux + 170) -#define __NR_query_module (__NR_Linux + 171) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_query_module (__NR_Linux + 171) #define __NR_quotactl (__NR_Linux + 172) #define __NR_nfsservctl (__NR_Linux + 173) #define __NR_getpmsg (__NR_Linux + 174) -#define __NR_putpmsg (__NR_Linux + 175) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_putpmsg (__NR_Linux + 175) #define __NR_afs_syscall (__NR_Linux + 176) #define __NR_reserved177 (__NR_Linux + 177) #define __NR_gettid (__NR_Linux + 178) -#define __NR_readahead (__NR_Linux + 179) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_readahead (__NR_Linux + 179) #define __NR_setxattr (__NR_Linux + 180) #define __NR_lsetxattr (__NR_Linux + 181) #define __NR_fsetxattr (__NR_Linux + 182) -#define __NR_getxattr (__NR_Linux + 183) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_getxattr (__NR_Linux + 183) #define __NR_lgetxattr (__NR_Linux + 184) #define __NR_fgetxattr (__NR_Linux + 185) #define __NR_listxattr (__NR_Linux + 186) -#define __NR_llistxattr (__NR_Linux + 187) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_llistxattr (__NR_Linux + 187) #define __NR_flistxattr (__NR_Linux + 188) #define __NR_removexattr (__NR_Linux + 189) #define __NR_lremovexattr (__NR_Linux + 190) -#define __NR_fremovexattr (__NR_Linux + 191) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_fremovexattr (__NR_Linux + 191) #define __NR_tkill (__NR_Linux + 192) #define __NR_reserved193 (__NR_Linux + 193) #define __NR_futex (__NR_Linux + 194) -#define __NR_sched_setaffinity (__NR_Linux + 195) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_sched_setaffinity (__NR_Linux + 195) #define __NR_sched_getaffinity (__NR_Linux + 196) #define __NR_cacheflush (__NR_Linux + 197) #define __NR_cachectl (__NR_Linux + 198) -#define __NR_sysmips (__NR_Linux + 199) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_sysmips (__NR_Linux + 199) #define __NR_io_setup (__NR_Linux + 200) #define __NR_io_destroy (__NR_Linux + 201) #define __NR_io_getevents (__NR_Linux + 202) -#define __NR_io_submit (__NR_Linux + 203) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_io_submit (__NR_Linux + 203) #define __NR_io_cancel (__NR_Linux + 204) #define __NR_exit_group (__NR_Linux + 205) #define __NR_lookup_dcookie (__NR_Linux + 206) -#define __NR_epoll_create (__NR_Linux + 207) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_epoll_create (__NR_Linux + 207) #define __NR_epoll_ctl (__NR_Linux + 208) #define __NR_epoll_wait (__NR_Linux + 209) #define __NR_remap_file_pages (__NR_Linux + 210) -#define __NR_rt_sigreturn (__NR_Linux + 211) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_rt_sigreturn (__NR_Linux + 211) #define __NR_set_tid_address (__NR_Linux + 212) #define __NR_restart_syscall (__NR_Linux + 213) #define __NR_semtimedop (__NR_Linux + 214) -#define __NR_fadvise64 (__NR_Linux + 215) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_fadvise64 (__NR_Linux + 215) #define __NR_timer_create (__NR_Linux + 216) #define __NR_timer_settime (__NR_Linux + 217) #define __NR_timer_gettime (__NR_Linux + 218) -#define __NR_timer_getoverrun (__NR_Linux + 219) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_timer_getoverrun (__NR_Linux + 219) #define __NR_timer_delete (__NR_Linux + 220) #define __NR_clock_settime (__NR_Linux + 221) #define __NR_clock_gettime (__NR_Linux + 222) -#define __NR_clock_getres (__NR_Linux + 223) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_clock_getres (__NR_Linux + 223) #define __NR_clock_nanosleep (__NR_Linux + 224) #define __NR_tgkill (__NR_Linux + 225) #define __NR_utimes (__NR_Linux + 226) -#define __NR_mbind (__NR_Linux + 227) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_mbind (__NR_Linux + 227) #define __NR_get_mempolicy (__NR_Linux + 228) #define __NR_set_mempolicy (__NR_Linux + 229) #define __NR_mq_open (__NR_Linux + 230) -#define __NR_mq_unlink (__NR_Linux + 231) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_mq_unlink (__NR_Linux + 231) #define __NR_mq_timedsend (__NR_Linux + 232) #define __NR_mq_timedreceive (__NR_Linux + 233) #define __NR_mq_notify (__NR_Linux + 234) -#define __NR_mq_getsetattr (__NR_Linux + 235) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_mq_getsetattr (__NR_Linux + 235) #define __NR_vserver (__NR_Linux + 236) #define __NR_waitid (__NR_Linux + 237) #define __NR_add_key (__NR_Linux + 239) -#define __NR_request_key (__NR_Linux + 240) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_request_key (__NR_Linux + 240) #define __NR_keyctl (__NR_Linux + 241) #define __NR_set_thread_area (__NR_Linux + 242) #define __NR_inotify_init (__NR_Linux + 243) -#define __NR_inotify_add_watch (__NR_Linux + 244) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_inotify_add_watch (__NR_Linux + 244) #define __NR_inotify_rm_watch (__NR_Linux + 245) #define __NR_migrate_pages (__NR_Linux + 246) #define __NR_openat (__NR_Linux + 247) -#define __NR_mkdirat (__NR_Linux + 248) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_mkdirat (__NR_Linux + 248) #define __NR_mknodat (__NR_Linux + 249) #define __NR_fchownat (__NR_Linux + 250) #define __NR_futimesat (__NR_Linux + 251) -#define __NR_newfstatat (__NR_Linux + 252) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_newfstatat (__NR_Linux + 252) #define __NR_unlinkat (__NR_Linux + 253) #define __NR_renameat (__NR_Linux + 254) #define __NR_linkat (__NR_Linux + 255) -#define __NR_symlinkat (__NR_Linux + 256) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_symlinkat (__NR_Linux + 256) #define __NR_readlinkat (__NR_Linux + 257) #define __NR_fchmodat (__NR_Linux + 258) #define __NR_faccessat (__NR_Linux + 259) -#define __NR_pselect6 (__NR_Linux + 260) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_pselect6 (__NR_Linux + 260) #define __NR_ppoll (__NR_Linux + 261) #define __NR_unshare (__NR_Linux + 262) #define __NR_splice (__NR_Linux + 263) -#define __NR_sync_file_range (__NR_Linux + 264) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_sync_file_range (__NR_Linux + 264) #define __NR_tee (__NR_Linux + 265) #define __NR_vmsplice (__NR_Linux + 266) #define __NR_move_pages (__NR_Linux + 267) -#define __NR_set_robust_list (__NR_Linux + 268) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_set_robust_list (__NR_Linux + 268) #define __NR_get_robust_list (__NR_Linux + 269) #define __NR_kexec_load (__NR_Linux + 270) #define __NR_getcpu (__NR_Linux + 271) -#define __NR_epoll_pwait (__NR_Linux + 272) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_epoll_pwait (__NR_Linux + 272) #define __NR_ioprio_set (__NR_Linux + 273) #define __NR_ioprio_get (__NR_Linux + 274) #define __NR_utimensat (__NR_Linux + 275) -#define __NR_signalfd (__NR_Linux + 276) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_signalfd (__NR_Linux + 276) #define __NR_timerfd (__NR_Linux + 277) #define __NR_eventfd (__NR_Linux + 278) #define __NR_fallocate (__NR_Linux + 279) -#define __NR_timerfd_create (__NR_Linux + 280) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_timerfd_create (__NR_Linux + 280) #define __NR_timerfd_gettime (__NR_Linux + 281) #define __NR_timerfd_settime (__NR_Linux + 282) #define __NR_signalfd4 (__NR_Linux + 283) -#define __NR_eventfd2 (__NR_Linux + 284) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_eventfd2 (__NR_Linux + 284) #define __NR_epoll_create1 (__NR_Linux + 285) #define __NR_dup3 (__NR_Linux + 286) #define __NR_pipe2 (__NR_Linux + 287) -#define __NR_inotify_init1 (__NR_Linux + 288) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define __NR_Linux_syscalls 288 +#define __NR_inotify_init1 (__NR_Linux + 288) +#define __NR_preadv (__NR_Linux + 289) +#define __NR_pwritev (__NR_Linux + 290) +#define __NR_rt_tgsigqueueinfo (__NR_Linux + 291) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_perf_event_open (__NR_Linux + 292) +#define __NR_accept4 (__NR_Linux + 293) +#define __NR_recvmmsg (__NR_Linux + 294) +#define __NR_fanotify_init (__NR_Linux + 295) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_fanotify_mark (__NR_Linux + 296) +#define __NR_prlimit64 (__NR_Linux + 297) +#define __NR_name_to_handle_at (__NR_Linux + 298) +#define __NR_open_by_handle_at (__NR_Linux + 299) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_clock_adjtime (__NR_Linux + 300) +#define __NR_syncfs (__NR_Linux + 301) +#define __NR_sendmmsg (__NR_Linux + 302) +#define __NR_setns (__NR_Linux + 303) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_process_vm_readv (__NR_Linux + 304) +#define __NR_process_vm_writev (__NR_Linux + 305) +#define __NR_Linux_syscalls 305 #endif -#define __NR_64_Linux 5000 -#define __NR_64_Linux_syscalls 288 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_64_Linux 5000 +#define __NR_64_Linux_syscalls 305 #if _MIPS_SIM == _MIPS_SIM_NABI32 #define __NR_Linux 6000 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_read (__NR_Linux + 0) #define __NR_write (__NR_Linux + 1) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_open (__NR_Linux + 2) #define __NR_close (__NR_Linux + 3) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_stat (__NR_Linux + 4) #define __NR_fstat (__NR_Linux + 5) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_lstat (__NR_Linux + 6) #define __NR_poll (__NR_Linux + 7) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_lseek (__NR_Linux + 8) #define __NR_mmap (__NR_Linux + 9) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_mprotect (__NR_Linux + 10) #define __NR_munmap (__NR_Linux + 11) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_brk (__NR_Linux + 12) #define __NR_rt_sigaction (__NR_Linux + 13) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_rt_sigprocmask (__NR_Linux + 14) #define __NR_ioctl (__NR_Linux + 15) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_pread64 (__NR_Linux + 16) #define __NR_pwrite64 (__NR_Linux + 17) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_readv (__NR_Linux + 18) #define __NR_writev (__NR_Linux + 19) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_access (__NR_Linux + 20) #define __NR_pipe (__NR_Linux + 21) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR__newselect (__NR_Linux + 22) #define __NR_sched_yield (__NR_Linux + 23) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_mremap (__NR_Linux + 24) #define __NR_msync (__NR_Linux + 25) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_mincore (__NR_Linux + 26) #define __NR_madvise (__NR_Linux + 27) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_shmget (__NR_Linux + 28) #define __NR_shmat (__NR_Linux + 29) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_shmctl (__NR_Linux + 30) #define __NR_dup (__NR_Linux + 31) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_dup2 (__NR_Linux + 32) #define __NR_pause (__NR_Linux + 33) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_nanosleep (__NR_Linux + 34) #define __NR_getitimer (__NR_Linux + 35) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_setitimer (__NR_Linux + 36) #define __NR_alarm (__NR_Linux + 37) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_getpid (__NR_Linux + 38) #define __NR_sendfile (__NR_Linux + 39) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_socket (__NR_Linux + 40) #define __NR_connect (__NR_Linux + 41) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_accept (__NR_Linux + 42) #define __NR_sendto (__NR_Linux + 43) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_recvfrom (__NR_Linux + 44) #define __NR_sendmsg (__NR_Linux + 45) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_recvmsg (__NR_Linux + 46) #define __NR_shutdown (__NR_Linux + 47) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_bind (__NR_Linux + 48) #define __NR_listen (__NR_Linux + 49) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_getsockname (__NR_Linux + 50) #define __NR_getpeername (__NR_Linux + 51) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_socketpair (__NR_Linux + 52) #define __NR_setsockopt (__NR_Linux + 53) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_getsockopt (__NR_Linux + 54) #define __NR_clone (__NR_Linux + 55) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_fork (__NR_Linux + 56) #define __NR_execve (__NR_Linux + 57) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_exit (__NR_Linux + 58) #define __NR_wait4 (__NR_Linux + 59) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_kill (__NR_Linux + 60) #define __NR_uname (__NR_Linux + 61) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_semget (__NR_Linux + 62) #define __NR_semop (__NR_Linux + 63) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_semctl (__NR_Linux + 64) #define __NR_shmdt (__NR_Linux + 65) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_msgget (__NR_Linux + 66) #define __NR_msgsnd (__NR_Linux + 67) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_msgrcv (__NR_Linux + 68) #define __NR_msgctl (__NR_Linux + 69) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_fcntl (__NR_Linux + 70) #define __NR_flock (__NR_Linux + 71) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_fsync (__NR_Linux + 72) #define __NR_fdatasync (__NR_Linux + 73) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_truncate (__NR_Linux + 74) #define __NR_ftruncate (__NR_Linux + 75) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_getdents (__NR_Linux + 76) #define __NR_getcwd (__NR_Linux + 77) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_chdir (__NR_Linux + 78) #define __NR_fchdir (__NR_Linux + 79) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_rename (__NR_Linux + 80) #define __NR_mkdir (__NR_Linux + 81) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_rmdir (__NR_Linux + 82) #define __NR_creat (__NR_Linux + 83) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_link (__NR_Linux + 84) #define __NR_unlink (__NR_Linux + 85) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_symlink (__NR_Linux + 86) #define __NR_readlink (__NR_Linux + 87) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_chmod (__NR_Linux + 88) #define __NR_fchmod (__NR_Linux + 89) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_chown (__NR_Linux + 90) #define __NR_fchown (__NR_Linux + 91) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_lchown (__NR_Linux + 92) #define __NR_umask (__NR_Linux + 93) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_gettimeofday (__NR_Linux + 94) #define __NR_getrlimit (__NR_Linux + 95) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_getrusage (__NR_Linux + 96) #define __NR_sysinfo (__NR_Linux + 97) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_times (__NR_Linux + 98) #define __NR_ptrace (__NR_Linux + 99) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_getuid (__NR_Linux + 100) #define __NR_syslog (__NR_Linux + 101) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_getgid (__NR_Linux + 102) #define __NR_setuid (__NR_Linux + 103) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_setgid (__NR_Linux + 104) #define __NR_geteuid (__NR_Linux + 105) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_getegid (__NR_Linux + 106) #define __NR_setpgid (__NR_Linux + 107) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_getppid (__NR_Linux + 108) #define __NR_getpgrp (__NR_Linux + 109) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_setsid (__NR_Linux + 110) #define __NR_setreuid (__NR_Linux + 111) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_setregid (__NR_Linux + 112) #define __NR_getgroups (__NR_Linux + 113) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_setgroups (__NR_Linux + 114) #define __NR_setresuid (__NR_Linux + 115) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_getresuid (__NR_Linux + 116) #define __NR_setresgid (__NR_Linux + 117) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_getresgid (__NR_Linux + 118) #define __NR_getpgid (__NR_Linux + 119) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_setfsuid (__NR_Linux + 120) #define __NR_setfsgid (__NR_Linux + 121) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_getsid (__NR_Linux + 122) #define __NR_capget (__NR_Linux + 123) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_capset (__NR_Linux + 124) #define __NR_rt_sigpending (__NR_Linux + 125) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_rt_sigtimedwait (__NR_Linux + 126) #define __NR_rt_sigqueueinfo (__NR_Linux + 127) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_rt_sigsuspend (__NR_Linux + 128) #define __NR_sigaltstack (__NR_Linux + 129) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_utime (__NR_Linux + 130) #define __NR_mknod (__NR_Linux + 131) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_personality (__NR_Linux + 132) #define __NR_ustat (__NR_Linux + 133) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_statfs (__NR_Linux + 134) #define __NR_fstatfs (__NR_Linux + 135) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_sysfs (__NR_Linux + 136) #define __NR_getpriority (__NR_Linux + 137) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_setpriority (__NR_Linux + 138) #define __NR_sched_setparam (__NR_Linux + 139) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_sched_getparam (__NR_Linux + 140) #define __NR_sched_setscheduler (__NR_Linux + 141) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_sched_getscheduler (__NR_Linux + 142) #define __NR_sched_get_priority_max (__NR_Linux + 143) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_sched_get_priority_min (__NR_Linux + 144) #define __NR_sched_rr_get_interval (__NR_Linux + 145) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_mlock (__NR_Linux + 146) #define __NR_munlock (__NR_Linux + 147) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_mlockall (__NR_Linux + 148) #define __NR_munlockall (__NR_Linux + 149) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_vhangup (__NR_Linux + 150) #define __NR_pivot_root (__NR_Linux + 151) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR__sysctl (__NR_Linux + 152) #define __NR_prctl (__NR_Linux + 153) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_adjtimex (__NR_Linux + 154) #define __NR_setrlimit (__NR_Linux + 155) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_chroot (__NR_Linux + 156) #define __NR_sync (__NR_Linux + 157) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_acct (__NR_Linux + 158) #define __NR_settimeofday (__NR_Linux + 159) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_mount (__NR_Linux + 160) #define __NR_umount2 (__NR_Linux + 161) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_swapon (__NR_Linux + 162) #define __NR_swapoff (__NR_Linux + 163) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_reboot (__NR_Linux + 164) #define __NR_sethostname (__NR_Linux + 165) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_setdomainname (__NR_Linux + 166) #define __NR_create_module (__NR_Linux + 167) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_init_module (__NR_Linux + 168) #define __NR_delete_module (__NR_Linux + 169) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_get_kernel_syms (__NR_Linux + 170) #define __NR_query_module (__NR_Linux + 171) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_quotactl (__NR_Linux + 172) #define __NR_nfsservctl (__NR_Linux + 173) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_getpmsg (__NR_Linux + 174) #define __NR_putpmsg (__NR_Linux + 175) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_afs_syscall (__NR_Linux + 176) #define __NR_reserved177 (__NR_Linux + 177) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_gettid (__NR_Linux + 178) #define __NR_readahead (__NR_Linux + 179) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_setxattr (__NR_Linux + 180) #define __NR_lsetxattr (__NR_Linux + 181) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_fsetxattr (__NR_Linux + 182) #define __NR_getxattr (__NR_Linux + 183) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_lgetxattr (__NR_Linux + 184) #define __NR_fgetxattr (__NR_Linux + 185) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_listxattr (__NR_Linux + 186) #define __NR_llistxattr (__NR_Linux + 187) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_flistxattr (__NR_Linux + 188) #define __NR_removexattr (__NR_Linux + 189) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_lremovexattr (__NR_Linux + 190) #define __NR_fremovexattr (__NR_Linux + 191) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_tkill (__NR_Linux + 192) #define __NR_reserved193 (__NR_Linux + 193) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_futex (__NR_Linux + 194) #define __NR_sched_setaffinity (__NR_Linux + 195) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_sched_getaffinity (__NR_Linux + 196) #define __NR_cacheflush (__NR_Linux + 197) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_cachectl (__NR_Linux + 198) #define __NR_sysmips (__NR_Linux + 199) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_io_setup (__NR_Linux + 200) #define __NR_io_destroy (__NR_Linux + 201) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_io_getevents (__NR_Linux + 202) #define __NR_io_submit (__NR_Linux + 203) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_io_cancel (__NR_Linux + 204) #define __NR_exit_group (__NR_Linux + 205) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_lookup_dcookie (__NR_Linux + 206) #define __NR_epoll_create (__NR_Linux + 207) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_epoll_ctl (__NR_Linux + 208) #define __NR_epoll_wait (__NR_Linux + 209) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_remap_file_pages (__NR_Linux + 210) #define __NR_rt_sigreturn (__NR_Linux + 211) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_fcntl64 (__NR_Linux + 212) #define __NR_set_tid_address (__NR_Linux + 213) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_restart_syscall (__NR_Linux + 214) #define __NR_semtimedop (__NR_Linux + 215) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_fadvise64 (__NR_Linux + 216) #define __NR_statfs64 (__NR_Linux + 217) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_fstatfs64 (__NR_Linux + 218) #define __NR_sendfile64 (__NR_Linux + 219) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_timer_create (__NR_Linux + 220) #define __NR_timer_settime (__NR_Linux + 221) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_timer_gettime (__NR_Linux + 222) #define __NR_timer_getoverrun (__NR_Linux + 223) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_timer_delete (__NR_Linux + 224) #define __NR_clock_settime (__NR_Linux + 225) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_clock_gettime (__NR_Linux + 226) #define __NR_clock_getres (__NR_Linux + 227) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_clock_nanosleep (__NR_Linux + 228) #define __NR_tgkill (__NR_Linux + 229) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_utimes (__NR_Linux + 230) #define __NR_mbind (__NR_Linux + 231) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_get_mempolicy (__NR_Linux + 232) #define __NR_set_mempolicy (__NR_Linux + 233) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_mq_open (__NR_Linux + 234) #define __NR_mq_unlink (__NR_Linux + 235) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_mq_timedsend (__NR_Linux + 236) #define __NR_mq_timedreceive (__NR_Linux + 237) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_mq_notify (__NR_Linux + 238) #define __NR_mq_getsetattr (__NR_Linux + 239) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_vserver (__NR_Linux + 240) #define __NR_waitid (__NR_Linux + 241) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_add_key (__NR_Linux + 243) #define __NR_request_key (__NR_Linux + 244) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_keyctl (__NR_Linux + 245) #define __NR_set_thread_area (__NR_Linux + 246) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_inotify_init (__NR_Linux + 247) #define __NR_inotify_add_watch (__NR_Linux + 248) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_inotify_rm_watch (__NR_Linux + 249) #define __NR_migrate_pages (__NR_Linux + 250) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_openat (__NR_Linux + 251) #define __NR_mkdirat (__NR_Linux + 252) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_mknodat (__NR_Linux + 253) #define __NR_fchownat (__NR_Linux + 254) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_futimesat (__NR_Linux + 255) #define __NR_newfstatat (__NR_Linux + 256) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_unlinkat (__NR_Linux + 257) #define __NR_renameat (__NR_Linux + 258) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_linkat (__NR_Linux + 259) #define __NR_symlinkat (__NR_Linux + 260) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_readlinkat (__NR_Linux + 261) #define __NR_fchmodat (__NR_Linux + 262) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_faccessat (__NR_Linux + 263) #define __NR_pselect6 (__NR_Linux + 264) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_ppoll (__NR_Linux + 265) #define __NR_unshare (__NR_Linux + 266) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_splice (__NR_Linux + 267) #define __NR_sync_file_range (__NR_Linux + 268) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_tee (__NR_Linux + 269) #define __NR_vmsplice (__NR_Linux + 270) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_move_pages (__NR_Linux + 271) #define __NR_set_robust_list (__NR_Linux + 272) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_get_robust_list (__NR_Linux + 273) #define __NR_kexec_load (__NR_Linux + 274) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_getcpu (__NR_Linux + 275) #define __NR_epoll_pwait (__NR_Linux + 276) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_ioprio_set (__NR_Linux + 277) #define __NR_ioprio_get (__NR_Linux + 278) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_utimensat (__NR_Linux + 279) #define __NR_signalfd (__NR_Linux + 280) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_timerfd (__NR_Linux + 281) #define __NR_eventfd (__NR_Linux + 282) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_fallocate (__NR_Linux + 283) #define __NR_timerfd_create (__NR_Linux + 284) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_timerfd_gettime (__NR_Linux + 285) #define __NR_timerfd_settime (__NR_Linux + 286) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_signalfd4 (__NR_Linux + 287) #define __NR_eventfd2 (__NR_Linux + 288) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_epoll_create1 (__NR_Linux + 289) #define __NR_dup3 (__NR_Linux + 290) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_pipe2 (__NR_Linux + 291) #define __NR_inotify_init1 (__NR_Linux + 292) -#define __NR_Linux_syscalls 292 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_preadv (__NR_Linux + 293) +#define __NR_pwritev (__NR_Linux + 294) +#define __NR_rt_tgsigqueueinfo (__NR_Linux + 295) +#define __NR_perf_event_open (__NR_Linux + 296) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_accept4 (__NR_Linux + 297) +#define __NR_recvmmsg (__NR_Linux + 298) +#define __NR_getdents64 (__NR_Linux + 299) +#define __NR_fanotify_init (__NR_Linux + 300) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_fanotify_mark (__NR_Linux + 301) +#define __NR_prlimit64 (__NR_Linux + 302) +#define __NR_name_to_handle_at (__NR_Linux + 303) +#define __NR_open_by_handle_at (__NR_Linux + 304) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_clock_adjtime (__NR_Linux + 305) +#define __NR_syncfs (__NR_Linux + 306) +#define __NR_sendmmsg (__NR_Linux + 307) +#define __NR_setns (__NR_Linux + 308) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_process_vm_readv (__NR_Linux + 309) +#define __NR_process_vm_writev (__NR_Linux + 310) +#define __NR_Linux_syscalls 310 #endif /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_N32_Linux 6000 -#define __NR_N32_Linux_syscalls 292 +#define __NR_N32_Linux_syscalls 310 #endif diff --git a/8/platforms/android-14/arch-mips/usr/include/fenv.h b/8/platforms/android-14/arch-mips/usr/include/fenv.h new file mode 100644 index 0000000..583d002 --- /dev/null +++ b/8/platforms/android-14/arch-mips/usr/include/fenv.h @@ -0,0 +1,220 @@ +/*- + * Copyright (c) 2004-2005 David Schultz <das@FreeBSD.ORG> + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * $FreeBSD: src/lib/msun/mips/fenv.h,v 1.1 2008/04/26 12:20:29 imp Exp $ + */ + +#ifndef _FENV_H_ +#define _FENV_H_ + +#include <sys/cdefs.h> +#include <sys/_types.h> + +__BEGIN_DECLS + +typedef __uint32_t fenv_t; +typedef __uint32_t fexcept_t; + +/* Exception flags */ +#define FE_INVALID 0x0001 +#define FE_DIVBYZERO 0x0002 +#define FE_OVERFLOW 0x0004 +#define FE_UNDERFLOW 0x0008 +#define FE_INEXACT 0x0010 +#define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | \ + FE_INVALID | FE_OVERFLOW | FE_UNDERFLOW) + +/* Rounding modes */ +#define FE_TONEAREST 0x0000 +#define FE_TOWARDZERO 0x0001 +#define FE_UPWARD 0x0002 +#define FE_DOWNWARD 0x0003 +#define _ROUND_MASK (FE_TONEAREST | FE_DOWNWARD | \ + FE_UPWARD | FE_TOWARDZERO) + +/* Default floating-point environment */ +extern const fenv_t __fe_dfl_env; +#define FE_DFL_ENV (&__fe_dfl_env) + +/* We need to be able to map status flag positions to mask flag positions */ +#define _FPUSW_SHIFT 16 +#define _ENABLE_MASK (FE_ALL_EXCEPT << _FPUSW_SHIFT) + +#ifdef ARM_HARD_FLOAT +#define __rfs(__fpsr) __asm __volatile("rfs %0" : "=r" (*(__fpsr))) +#define __wfs(__fpsr) __asm __volatile("wfs %0" : : "r" (__fpsr)) +#else +#define __rfs(__fpsr) +#define __wfs(__fpsr) +#endif + +static __inline int +feclearexcept(int __excepts) +{ + fexcept_t __fpsr; + + __rfs(&__fpsr); + __fpsr &= ~__excepts; + __wfs(__fpsr); + return (0); +} + +static __inline int +fegetexceptflag(fexcept_t *__flagp, int __excepts) +{ + fexcept_t __fpsr; + + __rfs(&__fpsr); + *__flagp = __fpsr & __excepts; + return (0); +} + +static __inline int +fesetexceptflag(const fexcept_t *__flagp, int __excepts) +{ + fexcept_t __fpsr; + + __rfs(&__fpsr); + __fpsr &= ~__excepts; + __fpsr |= *__flagp & __excepts; + __wfs(__fpsr); + return (0); +} + +static __inline int +feraiseexcept(int __excepts) +{ + fexcept_t __ex = __excepts; + + fesetexceptflag(&__ex, __excepts); /* XXX */ + return (0); +} + +static __inline int +fetestexcept(int __excepts) +{ + fexcept_t __fpsr; + + __rfs(&__fpsr); + return (__fpsr & __excepts); +} + +static __inline int +fegetround(void) +{ + + /* + * Apparently, the rounding mode is specified as part of the + * instruction format on ARM, so the dynamic rounding mode is + * indeterminate. Some FPUs may differ. + */ + return (-1); +} + +static __inline int +fesetround(int __round) +{ + + return (-1); +} + +static __inline int +fegetenv(fenv_t *__envp) +{ + + __rfs(__envp); + return (0); +} + +static __inline int +feholdexcept(fenv_t *__envp) +{ + fenv_t __env; + + __rfs(&__env); + *__envp = __env; + __env &= ~(FE_ALL_EXCEPT | _ENABLE_MASK); + __wfs(__env); + return (0); +} + +static __inline int +fesetenv(const fenv_t *__envp) +{ + + __wfs(*__envp); + return (0); +} + +static __inline int +feupdateenv(const fenv_t *__envp) +{ + fexcept_t __fpsr; + + __rfs(&__fpsr); + __wfs(*__envp); + feraiseexcept(__fpsr & FE_ALL_EXCEPT); + return (0); +} + +#if __BSD_VISIBLE + +static __inline int +feenableexcept(int __mask) +{ + fenv_t __old_fpsr, __new_fpsr; + + __rfs(&__old_fpsr); + __new_fpsr = __old_fpsr | (__mask & FE_ALL_EXCEPT) << _FPUSW_SHIFT; + __wfs(__new_fpsr); + return ((__old_fpsr >> _FPUSW_SHIFT) & FE_ALL_EXCEPT); +} + +static __inline int +fedisableexcept(int __mask) +{ + fenv_t __old_fpsr, __new_fpsr; + + __rfs(&__old_fpsr); + __new_fpsr = __old_fpsr & ~((__mask & FE_ALL_EXCEPT) << _FPUSW_SHIFT); + __wfs(__new_fpsr); + return ((__old_fpsr >> _FPUSW_SHIFT) & FE_ALL_EXCEPT); +} + +static __inline int +fegetexcept(void) +{ + fenv_t __fpsr; + + __rfs(&__fpsr); + return ((__fpsr & _ENABLE_MASK) >> _FPUSW_SHIFT); +} + +#endif /* __BSD_VISIBLE */ + +__END_DECLS + +#endif /* !_FENV_H_ */ + diff --git a/8/platforms/android-14/arch-mips/usr/include/link.h b/8/platforms/android-14/arch-mips/usr/include/link.h index 1c009c6..842b448 100644 --- a/8/platforms/android-14/arch-mips/usr/include/link.h +++ b/8/platforms/android-14/arch-mips/usr/include/link.h @@ -1,26 +1,55 @@ -/* - For building unwind-dw2-fde-glibc.c for MIPS frame unwinding, - we need to have <link.h> that defines struct dl_phdr_info, - ELFW(type), and dl_iterate_phdr(). -*/ +/* + * Copyright (C) 2012 The Android Open Source Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ +#ifndef _LINK_H_ +#define _LINK_H_ #include <sys/types.h> #include <elf.h> -struct dl_phdr_info -{ - Elf32_Addr dlpi_addr; - const char *dlpi_name; - const Elf32_Phdr *dlpi_phdr; - Elf32_Half dlpi_phnum; +__BEGIN_DECLS + +/* bionic is currently only 32-bit. */ +#define ElfW(type) Elf32_##type + +struct dl_phdr_info { + ElfW(Addr) dlpi_addr; + const char* dlpi_name; + const ElfW(Phdr)* dlpi_phdr; + ElfW(Half) dlpi_phnum; }; -#if _MIPS_SZPTR == 32 -#define ElfW(type) Elf32_##type -#elif _MIPS_SZPTR == 64 -#define ElfW(type) Elf64_##type +#ifdef __arm__ +typedef long unsigned int* _Unwind_Ptr; +_Unwind_Ptr dl_unwind_find_exidx(_Unwind_Ptr pc, int* pcount); +#else +int dl_iterate_phdr(int (*cb)(struct dl_phdr_info*, size_t, void*), void*); #endif -int -dl_iterate_phdr(int (*cb)(struct dl_phdr_info *info, size_t size, void *data), - void *data); +__END_DECLS + +#endif /* _LINK_H_ */ diff --git a/8/platforms/android-14/arch-mips/usr/include/linux/icmp.h b/8/platforms/android-14/arch-mips/usr/include/linux/icmp.h index c5b58bb..d69a0e2 100644 --- a/8/platforms/android-14/arch-mips/usr/include/linux/icmp.h +++ b/8/platforms/android-14/arch-mips/usr/include/linux/icmp.h @@ -66,7 +66,7 @@ struct icmphdr { } echo; __u32 gateway; struct { - __u16 __unused_field; + __u16 __linux_unused; __u16 mtu; } frag; } un; diff --git a/8/platforms/android-14/arch-mips/usr/include/linux/sysctl.h b/8/platforms/android-14/arch-mips/usr/include/linux/sysctl.h index 329e561..730c740 100644 --- a/8/platforms/android-14/arch-mips/usr/include/linux/sysctl.h +++ b/8/platforms/android-14/arch-mips/usr/include/linux/sysctl.h @@ -28,7 +28,7 @@ struct __sysctl_args { size_t __user *oldlenp; void __user *newval; size_t newlen; - unsigned long __unused[4]; + unsigned long __linux_unused[4]; }; enum diff --git a/8/platforms/android-14/arch-mips/usr/include/machine/kernel.h b/8/platforms/android-14/arch-mips/usr/include/machine/kernel.h index 462b8e3..69ad40c 100644 --- a/8/platforms/android-14/arch-mips/usr/include/machine/kernel.h +++ b/8/platforms/android-14/arch-mips/usr/include/machine/kernel.h @@ -25,8 +25,8 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ -#ifndef _ARCH_ARM_KERNEL_H -#define _ARCH_ARM_KERNEL_H +#ifndef _ARCH_MIPS_KERNEL_H +#define _ARCH_MIPS_KERNEL_H /* this file contains kernel-specific definitions that were optimized out of our processed kernel headers, but still useful nonetheless... */ @@ -39,4 +39,4 @@ typedef unsigned long __kernel_fsblkcnt_t; typedef unsigned long __kernel_fsfilcnt_t; typedef unsigned int __kernel_id_t; -#endif /* _ARCH_ARM_KERNEL_H */ +#endif /* _ARCH_MIPS_KERNEL_H */ diff --git a/8/platforms/android-14/arch-mips/usr/include/machine/signal.h b/8/platforms/android-14/arch-mips/usr/include/machine/signal.h index 96ebf76..4efb856 100644 --- a/8/platforms/android-14/arch-mips/usr/include/machine/signal.h +++ b/8/platforms/android-14/arch-mips/usr/include/machine/signal.h @@ -57,7 +57,7 @@ typedef int sig_atomic_t; * a non-standard exit is performed. */ -#if defined(ANDROID_CHANGES) +#if defined(__ANDROID__) /* * The Linux and OpenBSD sigcontext structures are slightly different @@ -104,7 +104,7 @@ struct sigcontext { #else /* __LANGUAGE_ASSEMBLY */ -#ifdef ANDROID_CHANGES +#ifdef __ANDROID__ #define SC_REGMASK (0*REGSZ) #define SC_STATUS (1*REGSZ) @@ -140,7 +140,7 @@ struct sigcontext { #define SC_FPUSED (70 * REGSZ) #define SC_FPC_EIR (71 * REGSZ) -#endif /*ANDROID CHANGES*/ +#endif /* __ANDROID__ */ #endif /* __LANGUAGE_ASSEMBLY */ diff --git a/8/platforms/android-14/arch-mips/usr/include/malloc.h b/8/platforms/android-14/arch-mips/usr/include/malloc.h index a864286..ec21926 100644 --- a/8/platforms/android-14/arch-mips/usr/include/malloc.h +++ b/8/platforms/android-14/arch-mips/usr/include/malloc.h @@ -1,33 +1,27 @@ /* - * Copyright (C) 2008 The Android Open Source Project - * All rights reserved. + * Copyright (C) 2012 The Android Open Source Project * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT - * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ -#ifndef _MALLOC_H_ -#define _MALLOC_H_ +#ifndef LIBC_INCLUDE_MALLOC_H_ +#define LIBC_INCLUDE_MALLOC_H_ + +/* + * Declaration of malloc routines. Bionic uses dlmalloc (see + * upstream-dlmalloc) but doesn't directly include it here to keep the + * defined malloc.h interface small. + */ #include <sys/cdefs.h> #include <stddef.h> @@ -35,70 +29,33 @@ __BEGIN_DECLS extern __mallocfunc void* malloc(size_t); extern __mallocfunc void* calloc(size_t, size_t); -extern __mallocfunc void* realloc(void *, size_t); -extern void free(void *); +extern void* realloc(void *, size_t); +extern void free(void *); -extern void* memalign(size_t alignment, size_t bytesize); -extern void* valloc(size_t bytesize); -extern void* pvalloc(size_t bytesize); -extern int mallopt(int param_number, int param_value); -extern size_t malloc_footprint(void); -extern size_t malloc_max_footprint(void); +extern void* memalign(size_t alignment, size_t bytesize); +extern size_t malloc_usable_size(void*); +extern void* valloc(size_t bytesize); +extern void* pvalloc(size_t bytesize); + +#ifndef STRUCT_MALLINFO_DECLARED +#define STRUCT_MALLINFO_DECLARED 1 struct mallinfo { - size_t arena; /* non-mmapped space allocated from system */ - size_t ordblks; /* number of free chunks */ - size_t smblks; /* always 0 */ - size_t hblks; /* always 0 */ - size_t hblkhd; /* space in mmapped regions */ - size_t usmblks; /* maximum total allocated space */ - size_t fsmblks; /* always 0 */ - size_t uordblks; /* total allocated space */ - size_t fordblks; /* total free space */ - size_t keepcost; /* releasable (via malloc_trim) space */ + size_t arena; + size_t ordblks; + size_t smblks; + size_t hblks; + size_t hblkhd; + size_t usmblks; + size_t fsmblks; + size_t uordblks; + size_t fordblks; + size_t keepcost; }; +#endif /* STRUCT_MALLINFO_DECLARED */ -extern struct mallinfo mallinfo(void); - - -/* - malloc_usable_size(void* p); - - Returns the number of bytes you can actually use in - an allocated chunk, which may be more than you requested (although - often not) due to alignment and minimum size constraints. - You can use this many bytes without worrying about - overwriting other allocated objects. This is not a particularly great - programming practice. malloc_usable_size can be more useful in - debugging and assertions, for example: - - p = malloc(n); - assert(malloc_usable_size(p) >= 256); -*/ -extern size_t malloc_usable_size(void* block); - -/* - malloc_stats(); - Prints on stderr the amount of space obtained from the system (both - via sbrk and mmap), the maximum amount (which may be more than - current if malloc_trim and/or munmap got called), and the current - number of bytes allocated via malloc (or realloc, etc) but not yet - freed. Note that this is the number of bytes allocated, not the - number requested. It will be larger than the number requested - because of alignment and bookkeeping overhead. Because it includes - alignment wastage as being in use, this figure may be greater than - zero even when no user-level chunks are allocated. - - The reported current and maximum system memory can be inaccurate if - a program makes other calls to system memory allocation functions - (normally sbrk) outside of malloc. - - malloc_stats prints only the most commonly interesting statistics. - More information can be obtained by calling mallinfo. -*/ -extern void malloc_stats(void); +extern struct mallinfo mallinfo(void); __END_DECLS -#endif /* _MALLOC_H_ */ - +#endif /* LIBC_INCLUDE_MALLOC_H_ */ diff --git a/8/platforms/android-14/arch-mips/usr/include/stdint.h b/8/platforms/android-14/arch-mips/usr/include/stdint.h index e791475..49879cb 100644 --- a/8/platforms/android-14/arch-mips/usr/include/stdint.h +++ b/8/platforms/android-14/arch-mips/usr/include/stdint.h @@ -31,8 +31,6 @@ #include <stddef.h> #include <sys/_types.h> - - #if !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) # define __STDINT_LIMITS #endif @@ -41,20 +39,14 @@ # define __STDINT_MACROS #endif -#if !defined __STRICT_ANSI__ || __STDC_VERSION__ >= 199901L -# define __STDC_INT64__ -#endif - typedef __int8_t int8_t; typedef __uint8_t uint8_t; typedef __int16_t int16_t; typedef __uint16_t uint16_t; typedef __int32_t int32_t; typedef __uint32_t uint32_t; -#if defined(__STDC_INT64__) typedef __int64_t int64_t; typedef __uint64_t uint64_t; -#endif /* * int8_t & uint8_t @@ -93,7 +85,6 @@ typedef uint8_t uint_fast8_t; * int16_t & uint16_t */ - typedef int16_t int_least16_t; typedef int32_t int_fast16_t; @@ -156,17 +147,16 @@ typedef uint32_t uint_fast32_t; # define UINT_FAST32_C(c) UINT32_C(c) #endif -#if defined(__STDC_INT64__) /* * int64_t */ + typedef int64_t int_least64_t; typedef int64_t int_fast64_t; typedef uint64_t uint_least64_t; typedef uint64_t uint_fast64_t; - #ifdef __STDINT_LIMITS # define INT64_MIN (__INT64_C(-9223372036854775807)-1) # define INT64_MAX (__INT64_C(9223372036854775807)) @@ -193,13 +183,10 @@ typedef uint64_t uint_fast64_t; # define UINT_FAST64_C(c) UINT64_C(c) #endif - # define __PRI64_RANK "ll" # define __PRIFAST_RANK "" # define __PRIPTR_RANK "" -#endif /* __STDC_INT64__ */ - /* * intptr_t & uintptr_t */ @@ -221,14 +208,10 @@ typedef unsigned int uintptr_t; # define PTRDIFF_C(c) INT32_C(c) #endif - - /* * intmax_t & uintmax_t */ -#if defined(__STDC_INT64__) - typedef uint64_t uintmax_t; typedef int64_t intmax_t; @@ -243,25 +226,6 @@ typedef int64_t intmax_t; # define UINTMAX_C(c) UINT64_C(c) #endif -#else /* !__STDC_INT64__ */ - -typedef uint32_t uintmax_t; -typedef int32_t intmax_t; - -#ifdef __STDINT_LIMITS -# define INTMAX_MIN INT32_MIN -# define INTMAX_MAX INT32_MAX -# define UINTMAX_MAX UINT32_MAX -#endif - -#ifdef __STDINT_MACROS -# define INTMAX_C(c) INT32_C(c) -# define UINTMAX_C(c) UINT32_C(c) -#endif - -#endif /* !__STDC_INT64__ */ - - /* size_t is defined by the GCC-specific <stddef.h> */ #ifndef _SSIZE_T_DEFINED_ #define _SSIZE_T_DEFINED_ diff --git a/8/platforms/android-14/arch-mips/usr/include/sys/linux-unistd.h b/8/platforms/android-14/arch-mips/usr/include/sys/linux-unistd.h deleted file mode 100644 index 2bb3c95..0000000 --- a/8/platforms/android-14/arch-mips/usr/include/sys/linux-unistd.h +++ /dev/null @@ -1,237 +0,0 @@ -/* auto-generated by gensyscalls.py, do not touch */ -#ifndef _BIONIC_LINUX_UNISTD_H_ - -#ifdef __cplusplus -extern "C" { -#endif - -void _exit (int); -void _exit_thread (int); -pid_t __fork (void); -pid_t _waitpid (pid_t, int*, int, struct rusage*); -int __waitid (int, pid_t, struct siginfo_t*, int,void*); -pid_t __sys_clone (int, void*, int*, void*, int*); -int execve (const char*, char* const*, char* const*); -int __setuid (uid_t); -int __setuid (uid_t); -uid_t getuid (void); -uid_t getuid (void); -gid_t getgid (void); -gid_t getgid (void); -uid_t geteuid (void); -uid_t geteuid (void); -gid_t getegid (void); -gid_t getegid (void); -uid_t getresuid (void); -uid_t getresuid (void); -gid_t getresgid (void); -gid_t getresgid (void); -pid_t gettid (void); -int getgroups (int, gid_t *); -int getgroups (int, gid_t *); -pid_t getpgid (pid_t); -pid_t getppid (void); -pid_t setsid (void); -int setgid (gid_t); -int setgid (gid_t); -int seteuid (uid_t); -int __setreuid (uid_t, uid_t); -int __setreuid (uid_t, uid_t); -int __setresuid (uid_t, uid_t, uid_t); -int __setresuid (uid_t, uid_t, uid_t); -int setresgid (gid_t, gid_t, gid_t); -int setresgid (gid_t, gid_t, gid_t); -void* __brk (void*); -int kill (pid_t, int); -int tkill (pid_t tid, int sig); -int __ptrace (int request, int pid, void* addr, void* data); -int __set_thread_area (void* user_desc); -int __getpriority (int, int); -int setpriority (int, int, int); -int setrlimit (int resource, const struct rlimit *rlp); -int getrlimit (int resource, struct rlimit *rlp); -int getrlimit (int resource, struct rlimit *rlp); -int getrusage (int who, struct rusage* r_usage); -int setgroups (int, const gid_t *); -int setgroups (int, const gid_t *); -pid_t getpgrp (void); -int setpgid (pid_t, pid_t); -pid_t vfork (void); -int setregid (gid_t, gid_t); -int setregid (gid_t, gid_t); -int chroot (const char *); -int prctl (int option, unsigned int arg2, unsigned int arg3, unsigned int arg4, unsigned int arg5); -int capget (cap_user_header_t header, cap_user_data_t data); -int capset (cap_user_header_t header, const cap_user_data_t data); -int sigaltstack (const stack_t*, stack_t*); -int acct (const char* filepath); -ssize_t read (int, void*, size_t); -ssize_t write (int, const void*, size_t); -ssize_t pread64 (int, void *, size_t, off64_t); -ssize_t pwrite64 (int, void *, size_t, off64_t); -int __open (const char*, int, mode_t); -int __openat (int, const char*, int, mode_t); -int close (int); -int creat (const char*, mode_t); -off_t lseek (int, off_t, int); -int __llseek (int, unsigned long, unsigned long, loff_t*, int); -pid_t getpid (void); -void * mmap (void *, size_t, int, int, int, long); -void * __mmap2 (void*, size_t, int, int, int, long); -int munmap (void *, size_t); -void * mremap (void *, size_t, size_t, unsigned long); -int msync (const void *, size_t, int); -int mprotect (const void *, size_t, int); -int madvise (const void *, size_t, int); -int mlock (const void *addr, size_t len); -int munlock (const void *addr, size_t len); -int mincore (void* start, size_t length, unsigned char* vec); -int __ioctl (int, int, void *); -int readv (int, const struct iovec *, int); -int writev (int, const struct iovec *, int); -int __fcntl (int, int, void*); -int flock (int, int); -int fchmod (int, mode_t); -int dup (int); -int pipe (int *); -int pipe2 (int *, int); -int dup2 (int, int); -int select (int, struct fd_set *, struct fd_set *, struct fd_set *, struct timeval *); -int ftruncate (int, off_t); -int ftruncate64 (int, off64_t); -int getdents (unsigned int, struct dirent *, unsigned int); -int fsync (int); -int fdatasync (int); -int fchown (int, uid_t, gid_t); -int fchown (int, uid_t, gid_t); -void sync (void); -int __fcntl64 (int, int, void *); -int __fstatfs64 (int, size_t, struct statfs *); -ssize_t sendfile (int out_fd, int in_fd, off_t *offset, size_t count); -int fstatat (int dirfd, const char *path, struct stat *buf, int flags); -int mkdirat (int dirfd, const char *pathname, mode_t mode); -int fchownat (int dirfd, const char *path, uid_t owner, gid_t group, int flags); -int fchmodat (int dirfd, const char *path, mode_t mode, int flags); -int renameat (int olddirfd, const char *oldpath, int newdirfd, const char *newpath); -int link (const char*, const char*); -int unlink (const char*); -int unlinkat (int, const char *, int); -int chdir (const char*); -int mknod (const char*, mode_t, dev_t); -int chmod (const char*,mode_t); -int chown (const char *, uid_t, gid_t); -int chown (const char *, uid_t, gid_t); -int lchown (const char*, uid_t, gid_t); -int lchown (const char*, uid_t, gid_t); -int mount (const char*, const char*, const char*, unsigned long, const void*); -int umount (const char*); -int umount2 (const char*, int); -int fstat (int, struct stat*); -int stat (const char *, struct stat *); -int lstat (const char *, struct stat *); -int mkdir (const char *, mode_t); -int readlink (const char *, char *, size_t); -int rmdir (const char *); -int rename (const char *, const char *); -int __getcwd (char * buf, size_t size); -int access (const char *, int); -int symlink (const char *, const char *); -int fchdir (int); -int truncate (const char*, off_t); -int __statfs64 (const char *, size_t, struct statfs *); -int pause (void); -int gettimeofday (struct timeval*, struct timezone*); -int settimeofday (const struct timeval*, const struct timezone*); -clock_t times (struct tms *); -int nanosleep (const struct timespec *, struct timespec *); -int clock_gettime (clockid_t clk_id, struct timespec *tp); -int clock_settime (clockid_t clk_id, const struct timespec *tp); -int clock_getres (clockid_t clk_id, struct timespec *res); -int clock_nanosleep (const struct timespec *req, struct timespec *rem); -int getitimer (int, const struct itimerval *); -int setitimer (int, const struct itimerval *, struct itimerval *); -int __timer_create (clockid_t clockid, struct sigevent *evp, timer_t *timerid); -int __timer_settime (timer_t, int, const struct itimerspec*, struct itimerspec*); -int __timer_gettime (timer_t, struct itimerspec*); -int __timer_getoverrun (timer_t); -int __timer_delete (timer_t); -int utimes (const char*, const struct timeval tvp[2]); -int utimensat (int, const char *, const struct timespec times[2], int); -int sigaction (int, const struct sigaction *, struct sigaction *); -int sigprocmask (int, const sigset_t *, sigset_t *); -int __sigsuspend (int unused1, int unused2, unsigned mask); -int __rt_sigaction (int sig, const struct sigaction *act, struct sigaction *oact, size_t sigsetsize); -int __rt_sigprocmask (int how, const sigset_t *set, sigset_t *oset, size_t sigsetsize); -int __rt_sigtimedwait (const sigset_t *set, struct siginfo_t *info, struct timespec_t *timeout, size_t sigset_size); -int sigpending (sigset_t *); -int socket (int, int, int); -int socketpair (int, int, int, int*); -int bind (int, struct sockaddr *, int); -int connect (int, struct sockaddr *, socklen_t); -int listen (int, int); -int accept (int, struct sockaddr *, socklen_t *); -int getsockname (int, struct sockaddr *, socklen_t *); -int getpeername (int, struct sockaddr *, socklen_t *); -int sendto (int, const void *, size_t, int, const struct sockaddr *, socklen_t); -int recvfrom (int, void *, size_t, unsigned int, struct sockaddr *, socklen_t *); -int shutdown (int, int); -int setsockopt (int, int, int, const void *, socklen_t); -int getsockopt (int, int, int, void *, socklen_t *); -int sendmsg (int, const struct msghdr *, unsigned int); -int recvmsg (int, struct msghdr *, unsigned int); -int socket (int, int, int); -int bind (int, struct sockaddr *, int); -int connect (int, struct sockaddr *, socklen_t); -int listen (int, int); -int accept (int, struct sockaddr *, socklen_t *); -int getsockname (int, struct sockaddr *, socklen_t *); -int getpeername (int, struct sockaddr *, socklen_t *); -int socketpair (int, int, int, int*); -int sendto (int, const void *, size_t, int, const struct sockaddr *, socklen_t); -int recvfrom (int, void *, size_t, unsigned int, struct sockaddr *, socklen_t *); -int shutdown (int, int); -int setsockopt (int, int, int, const void *, socklen_t); -int getsockopt (int, int, int, void *, socklen_t *); -int sendmsg (int, const struct msghdr *, unsigned int); -int recvmsg (int, struct msghdr *, unsigned int); -int __socketcall (int, unsigned long*); -int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); -int sched_getscheduler (pid_t pid); -int sched_yield (void); -int sched_setparam (pid_t pid, const struct sched_param *param); -int sched_getparam (pid_t pid, struct sched_param *param); -int sched_get_priority_max (int policy); -int sched_get_priority_min (int policy); -int sched_rr_get_interval (pid_t pid, struct timespec *interval); -int sched_setaffinity (pid_t pid, size_t setsize, const cpu_set_t* set); -int __sched_getaffinity (pid_t pid, size_t setsize, cpu_set_t* set); -int __getcpu (unsigned *cpu, unsigned *node, void *unused); -int ioprio_set (int which, int who, int ioprio); -int ioprio_get (int which, int who); -int uname (struct utsname *); -pid_t __wait4 (pid_t pid, int *status, int options, struct rusage *rusage); -mode_t umask (mode_t); -int __reboot (int, int, int, void *); -int __syslog (int, char *, int); -int init_module (void *, unsigned long, const char *); -int delete_module (const char*, unsigned int); -int klogctl (int, char *, int); -int sysinfo (struct sysinfo *); -int futex (void *, int, int, void *, void *, int); -int epoll_create (int size); -int epoll_ctl (int epfd, int op, int fd, struct epoll_event *event); -int epoll_wait (int epfd, struct epoll_event *events, int max, int timeout); -int inotify_init (void); -int inotify_add_watch (int, const char *, unsigned int); -int inotify_rm_watch (int, unsigned int); -int poll (struct pollfd *, unsigned int, long); -int eventfd (unsigned int, int); -int __set_tls (void*); -int cacheflush (long start, long end, long flags); -int _flush_cache (char *addr, const int nbytes, const int op); -int syscall (int number,...); -#ifdef __cplusplus -} -#endif - -#endif /* _BIONIC_LINUX_UNISTD_H_ */ diff --git a/8/platforms/android-14/arch-mips/usr/lib/crtbegin_dynamic.o b/8/platforms/android-14/arch-mips/usr/lib/crtbegin_dynamic.o Binary files differindex 635874d..4991fa4 100644 --- a/8/platforms/android-14/arch-mips/usr/lib/crtbegin_dynamic.o +++ b/8/platforms/android-14/arch-mips/usr/lib/crtbegin_dynamic.o diff --git a/8/platforms/android-14/arch-mips/usr/lib/crtbegin_so.o b/8/platforms/android-14/arch-mips/usr/lib/crtbegin_so.o Binary files differindex d3a329b..8efee99 100644 --- a/8/platforms/android-14/arch-mips/usr/lib/crtbegin_so.o +++ b/8/platforms/android-14/arch-mips/usr/lib/crtbegin_so.o diff --git a/8/platforms/android-14/arch-mips/usr/lib/crtbegin_static.o b/8/platforms/android-14/arch-mips/usr/lib/crtbegin_static.o Binary files differindex 211263a..91e6068 100644 --- a/8/platforms/android-14/arch-mips/usr/lib/crtbegin_static.o +++ b/8/platforms/android-14/arch-mips/usr/lib/crtbegin_static.o diff --git a/8/platforms/android-14/arch-mips/usr/lib/crtend_so.o b/8/platforms/android-14/arch-mips/usr/lib/crtend_so.o Binary files differindex 58fa312..c70f326 100644 --- a/8/platforms/android-14/arch-mips/usr/lib/crtend_so.o +++ b/8/platforms/android-14/arch-mips/usr/lib/crtend_so.o diff --git a/8/platforms/android-14/arch-mips/usr/lib/libEGL.so b/8/platforms/android-14/arch-mips/usr/lib/libEGL.so Binary files differindex b597f62..31d4bc4 100755 --- a/8/platforms/android-14/arch-mips/usr/lib/libEGL.so +++ b/8/platforms/android-14/arch-mips/usr/lib/libEGL.so diff --git a/8/platforms/android-14/arch-mips/usr/lib/libGLESv1_CM.so b/8/platforms/android-14/arch-mips/usr/lib/libGLESv1_CM.so Binary files differindex 1e74bea..3c80cb9 100755 --- a/8/platforms/android-14/arch-mips/usr/lib/libGLESv1_CM.so +++ b/8/platforms/android-14/arch-mips/usr/lib/libGLESv1_CM.so diff --git a/8/platforms/android-14/arch-mips/usr/lib/libGLESv2.so b/8/platforms/android-14/arch-mips/usr/lib/libGLESv2.so Binary files differindex 4f71a7d..e90f3a2 100755 --- a/8/platforms/android-14/arch-mips/usr/lib/libGLESv2.so +++ b/8/platforms/android-14/arch-mips/usr/lib/libGLESv2.so diff --git a/8/platforms/android-14/arch-mips/usr/lib/libOpenMAXAL.so b/8/platforms/android-14/arch-mips/usr/lib/libOpenMAXAL.so Binary files differindex b636168..f6fbadc 100755 --- a/8/platforms/android-14/arch-mips/usr/lib/libOpenMAXAL.so +++ b/8/platforms/android-14/arch-mips/usr/lib/libOpenMAXAL.so diff --git a/8/platforms/android-14/arch-mips/usr/lib/libOpenSLES.so b/8/platforms/android-14/arch-mips/usr/lib/libOpenSLES.so Binary files differindex 5df8c02..377c863 100755 --- a/8/platforms/android-14/arch-mips/usr/lib/libOpenSLES.so +++ b/8/platforms/android-14/arch-mips/usr/lib/libOpenSLES.so diff --git a/8/platforms/android-14/arch-mips/usr/lib/libandroid.so b/8/platforms/android-14/arch-mips/usr/lib/libandroid.so Binary files differindex e2028fb..79df15a 100755 --- a/8/platforms/android-14/arch-mips/usr/lib/libandroid.so +++ b/8/platforms/android-14/arch-mips/usr/lib/libandroid.so diff --git a/8/platforms/android-14/arch-mips/usr/lib/libc.so b/8/platforms/android-14/arch-mips/usr/lib/libc.so Binary files differindex 988a4c3..b3e8c69 100755 --- a/8/platforms/android-14/arch-mips/usr/lib/libc.so +++ b/8/platforms/android-14/arch-mips/usr/lib/libc.so diff --git a/8/platforms/android-14/arch-mips/usr/lib/libdl.so b/8/platforms/android-14/arch-mips/usr/lib/libdl.so Binary files differindex 8fb8a33..aeff6b2 100755 --- a/8/platforms/android-14/arch-mips/usr/lib/libdl.so +++ b/8/platforms/android-14/arch-mips/usr/lib/libdl.so diff --git a/8/platforms/android-14/arch-mips/usr/lib/libjnigraphics.so b/8/platforms/android-14/arch-mips/usr/lib/libjnigraphics.so Binary files differindex 4d1f883..b4f83be 100755 --- a/8/platforms/android-14/arch-mips/usr/lib/libjnigraphics.so +++ b/8/platforms/android-14/arch-mips/usr/lib/libjnigraphics.so diff --git a/8/platforms/android-14/arch-mips/usr/lib/liblog.so b/8/platforms/android-14/arch-mips/usr/lib/liblog.so Binary files differindex b0c14ca..8d796ca 100755 --- a/8/platforms/android-14/arch-mips/usr/lib/liblog.so +++ b/8/platforms/android-14/arch-mips/usr/lib/liblog.so diff --git a/8/platforms/android-14/arch-mips/usr/lib/libm.so b/8/platforms/android-14/arch-mips/usr/lib/libm.so Binary files differindex dd3b7d5..724cf7e 100755 --- a/8/platforms/android-14/arch-mips/usr/lib/libm.so +++ b/8/platforms/android-14/arch-mips/usr/lib/libm.so diff --git a/8/platforms/android-14/arch-mips/usr/lib/libstdc++.so b/8/platforms/android-14/arch-mips/usr/lib/libstdc++.so Binary files differindex 63d8c3b..aad06a8 100755 --- a/8/platforms/android-14/arch-mips/usr/lib/libstdc++.so +++ b/8/platforms/android-14/arch-mips/usr/lib/libstdc++.so diff --git a/8/platforms/android-14/arch-mips/usr/lib/libthread_db.so b/8/platforms/android-14/arch-mips/usr/lib/libthread_db.so Binary files differindex 8fa57e1..199447f 100755 --- a/8/platforms/android-14/arch-mips/usr/lib/libthread_db.so +++ b/8/platforms/android-14/arch-mips/usr/lib/libthread_db.so diff --git a/8/platforms/android-14/arch-mips/usr/lib/libz.so b/8/platforms/android-14/arch-mips/usr/lib/libz.so Binary files differindex 6215022..a85dc5c 100755 --- a/8/platforms/android-14/arch-mips/usr/lib/libz.so +++ b/8/platforms/android-14/arch-mips/usr/lib/libz.so diff --git a/8/platforms/android-14/arch-x86/usr/include/asm-generic/mman-common.h b/8/platforms/android-14/arch-x86/usr/include/asm-generic/mman-common.h new file mode 100644 index 0000000..157353b --- /dev/null +++ b/8/platforms/android-14/arch-x86/usr/include/asm-generic/mman-common.h @@ -0,0 +1,60 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ +#ifndef __ASM_GENERIC_MMAN_COMMON_H +#define __ASM_GENERIC_MMAN_COMMON_H +#define PROT_READ 0x1 +#define PROT_WRITE 0x2 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define PROT_EXEC 0x4 +#define PROT_SEM 0x8 +#define PROT_NONE 0x0 +#define PROT_GROWSDOWN 0x01000000 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define PROT_GROWSUP 0x02000000 +#define MAP_SHARED 0x01 +#define MAP_PRIVATE 0x02 +#define MAP_TYPE 0x0f +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MAP_FIXED 0x10 +#define MAP_ANONYMOUS 0x20 +#define MAP_UNINITIALIZED 0x0 +#define MS_ASYNC 1 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MS_INVALIDATE 2 +#define MS_SYNC 4 +#define MADV_NORMAL 0 +#define MADV_RANDOM 1 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MADV_SEQUENTIAL 2 +#define MADV_WILLNEED 3 +#define MADV_DONTNEED 4 +#define MADV_REMOVE 9 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MADV_DONTFORK 10 +#define MADV_DOFORK 11 +#define MADV_HWPOISON 100 +#define MADV_SOFT_OFFLINE 101 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MADV_MERGEABLE 12 +#define MADV_UNMERGEABLE 13 +#define MADV_HUGEPAGE 14 +#define MADV_NOHUGEPAGE 15 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MAP_FILE 0 +#endif diff --git a/8/platforms/android-14/arch-x86/usr/include/asm-generic/mman.h b/8/platforms/android-14/arch-x86/usr/include/asm-generic/mman.h index 98d2783..6eaf900 100644 --- a/8/platforms/android-14/arch-x86/usr/include/asm-generic/mman.h +++ b/8/platforms/android-14/arch-x86/usr/include/asm-generic/mman.h @@ -7,40 +7,30 @@ *** structures, and macros generated from the original header, and thus, *** contains no copyrightable information. *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** **************************************************************************** ****************************************************************************/ -#ifndef _ASM_GENERIC_MMAN_H -#define _ASM_GENERIC_MMAN_H - -#define PROT_READ 0x1 -#define PROT_WRITE 0x2 -#define PROT_EXEC 0x4 -#define PROT_SEM 0x8 -#define PROT_NONE 0x0 -#define PROT_GROWSDOWN 0x01000000 -#define PROT_GROWSUP 0x02000000 - -#define MAP_SHARED 0x01 -#define MAP_PRIVATE 0x02 -#define MAP_TYPE 0x0f -#define MAP_FIXED 0x10 -#define MAP_ANONYMOUS 0x20 - -#define MS_ASYNC 1 -#define MS_INVALIDATE 2 -#define MS_SYNC 4 - -#define MADV_NORMAL 0 -#define MADV_RANDOM 1 -#define MADV_SEQUENTIAL 2 -#define MADV_WILLNEED 3 -#define MADV_DONTNEED 4 - -#define MADV_REMOVE 9 -#define MADV_DONTFORK 10 -#define MADV_DOFORK 11 - -#define MAP_ANON MAP_ANONYMOUS -#define MAP_FILE 0 - +#ifndef __ASM_GENERIC_MMAN_H +#define __ASM_GENERIC_MMAN_H +#include <asm-generic/mman-common.h> +#define MAP_GROWSDOWN 0x0100 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MAP_DENYWRITE 0x0800 +#define MAP_EXECUTABLE 0x1000 +#define MAP_LOCKED 0x2000 +#define MAP_NORESERVE 0x4000 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MAP_POPULATE 0x8000 +#define MAP_NONBLOCK 0x10000 +#define MAP_STACK 0x20000 +#define MAP_HUGETLB 0x40000 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define MCL_CURRENT 1 +#define MCL_FUTURE 2 #endif diff --git a/8/platforms/android-14/arch-x86/usr/include/asm-generic/pgtable-nopmd.h b/8/platforms/android-14/arch-x86/usr/include/asm-generic/pgtable-nopmd.h new file mode 100644 index 0000000..ac3f40c --- /dev/null +++ b/8/platforms/android-14/arch-x86/usr/include/asm-generic/pgtable-nopmd.h @@ -0,0 +1,48 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ +#ifndef _PGTABLE_NOPMD_H +#define _PGTABLE_NOPMD_H +#ifndef __ASSEMBLY__ +#include <asm-generic/pgtable-nopud.h> +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +struct mm_struct; +#define __PAGETABLE_PMD_FOLDED +typedef struct { pud_t pud; } pmd_t; +#define PMD_SHIFT PUD_SHIFT +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define PTRS_PER_PMD 1 +#define PMD_SIZE (1UL << PMD_SHIFT) +#define PMD_MASK (~(PMD_SIZE-1)) +#define pmd_ERROR(pmd) (pud_ERROR((pmd).pud)) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define pud_populate(mm, pmd, pte) do { } while (0) +#define set_pud(pudptr, pudval) set_pmd((pmd_t *)(pudptr), (pmd_t) { pudval }) +#define pmd_val(x) (pud_val((x).pud)) +#define __pmd(x) ((pmd_t) { __pud(x) } ) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define pud_page(pud) (pmd_page((pmd_t){ pud })) +#define pud_page_vaddr(pud) (pmd_page_vaddr((pmd_t){ pud })) +#define pmd_alloc_one(mm, address) NULL +#define __pmd_free_tlb(tlb, x, a) do { } while (0) +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#undef pmd_addr_end +#define pmd_addr_end(addr, end) (end) +#endif +#endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ diff --git a/8/platforms/android-14/arch-x86/usr/include/asm-generic/socket.h b/8/platforms/android-14/arch-x86/usr/include/asm-generic/socket.h new file mode 100644 index 0000000..fb3876e --- /dev/null +++ b/8/platforms/android-14/arch-x86/usr/include/asm-generic/socket.h @@ -0,0 +1,81 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ +#ifndef __ASM_GENERIC_SOCKET_H +#define __ASM_GENERIC_SOCKET_H +#include <asm/sockios.h> +#define SOL_SOCKET 1 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_DEBUG 1 +#define SO_REUSEADDR 2 +#define SO_TYPE 3 +#define SO_ERROR 4 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_DONTROUTE 5 +#define SO_BROADCAST 6 +#define SO_SNDBUF 7 +#define SO_RCVBUF 8 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_SNDBUFFORCE 32 +#define SO_RCVBUFFORCE 33 +#define SO_KEEPALIVE 9 +#define SO_OOBINLINE 10 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_NO_CHECK 11 +#define SO_PRIORITY 12 +#define SO_LINGER 13 +#define SO_BSDCOMPAT 14 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#ifndef SO_PASSCRED +#define SO_PASSCRED 16 +#define SO_PEERCRED 17 +#define SO_RCVLOWAT 18 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_SNDLOWAT 19 +#define SO_RCVTIMEO 20 +#define SO_SNDTIMEO 21 +#endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_SECURITY_AUTHENTICATION 22 +#define SO_SECURITY_ENCRYPTION_TRANSPORT 23 +#define SO_SECURITY_ENCRYPTION_NETWORK 24 +#define SO_BINDTODEVICE 25 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_ATTACH_FILTER 26 +#define SO_DETACH_FILTER 27 +#define SO_PEERNAME 28 +#define SO_TIMESTAMP 29 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SCM_TIMESTAMP SO_TIMESTAMP +#define SO_ACCEPTCONN 30 +#define SO_PEERSEC 31 +#define SO_PASSSEC 34 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_TIMESTAMPNS 35 +#define SCM_TIMESTAMPNS SO_TIMESTAMPNS +#define SO_MARK 36 +#define SO_TIMESTAMPING 37 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SCM_TIMESTAMPING SO_TIMESTAMPING +#define SO_PROTOCOL 38 +#define SO_DOMAIN 39 +#define SO_RXQ_OVFL 40 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define SO_WIFI_STATUS 41 +#define SCM_WIFI_STATUS SO_WIFI_STATUS +#endif diff --git a/8/platforms/android-14/arch-x86/usr/include/asm-generic/swab.h b/8/platforms/android-14/arch-x86/usr/include/asm-generic/swab.h new file mode 100644 index 0000000..8279332 --- /dev/null +++ b/8/platforms/android-14/arch-x86/usr/include/asm-generic/swab.h @@ -0,0 +1,29 @@ +/**************************************************************************** + **************************************************************************** + *** + *** This header was automatically generated from a Linux kernel header + *** of the same name, to make information necessary for userspace to + *** call into the kernel available to libc. It contains only constants, + *** structures, and macros generated from the original header, and thus, + *** contains no copyrightable information. + *** + *** To edit the content of this header, modify the corresponding + *** source file (e.g. under external/kernel-headers/original/) then + *** run bionic/libc/kernel/tools/update_all.py + *** + *** Any manual change here will be lost the next time this script will + *** be run. You've been warned! + *** + **************************************************************************** + ****************************************************************************/ +#ifndef _ASM_GENERIC_SWAB_H +#define _ASM_GENERIC_SWAB_H +#include <asm/bitsperlong.h> +#if __BITS_PER_LONG == 32 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#if defined(__GNUC__) && (!defined(__STRICT_ANSI__) || defined(__KERNEL__)) +#define __SWAB_64_THRU_32__ +#endif +#endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#endif diff --git a/8/platforms/android-14/arch-x86/usr/include/asm/socket.h b/8/platforms/android-14/arch-x86/usr/include/asm/socket.h index b520169..50a9874 100644 --- a/8/platforms/android-14/arch-x86/usr/include/asm/socket.h +++ b/8/platforms/android-14/arch-x86/usr/include/asm/socket.h @@ -16,54 +16,4 @@ *** **************************************************************************** ****************************************************************************/ -#ifndef _ASM_SOCKET_H -#define _ASM_SOCKET_H -#include <asm/sockios.h> -#define SOL_SOCKET 1 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SO_DEBUG 1 -#define SO_REUSEADDR 2 -#define SO_TYPE 3 -#define SO_ERROR 4 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SO_DONTROUTE 5 -#define SO_BROADCAST 6 -#define SO_SNDBUF 7 -#define SO_RCVBUF 8 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SO_SNDBUFFORCE 32 -#define SO_RCVBUFFORCE 33 -#define SO_KEEPALIVE 9 -#define SO_OOBINLINE 10 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SO_NO_CHECK 11 -#define SO_PRIORITY 12 -#define SO_LINGER 13 -#define SO_BSDCOMPAT 14 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SO_PASSCRED 16 -#define SO_PEERCRED 17 -#define SO_RCVLOWAT 18 -#define SO_SNDLOWAT 19 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SO_RCVTIMEO 20 -#define SO_SNDTIMEO 21 -#define SO_SECURITY_AUTHENTICATION 22 -#define SO_SECURITY_ENCRYPTION_TRANSPORT 23 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SO_SECURITY_ENCRYPTION_NETWORK 24 -#define SO_BINDTODEVICE 25 -#define SO_ATTACH_FILTER 26 -#define SO_DETACH_FILTER 27 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SO_PEERNAME 28 -#define SO_TIMESTAMP 29 -#define SCM_TIMESTAMP SO_TIMESTAMP -#define SO_ACCEPTCONN 30 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define SO_PEERSEC 31 -#define SO_PASSSEC 34 -#define SO_TIMESTAMPNS 35 -#define SCM_TIMESTAMPNS SO_TIMESTAMPNS -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#endif +#include <asm-generic/socket.h> diff --git a/8/platforms/android-14/arch-x86/usr/include/asm/unistd_32.h b/8/platforms/android-14/arch-x86/usr/include/asm/unistd_32.h index 4536585..b2193a2 100644 --- a/8/platforms/android-14/arch-x86/usr/include/asm/unistd_32.h +++ b/8/platforms/android-14/arch-x86/usr/include/asm/unistd_32.h @@ -16,8 +16,8 @@ *** **************************************************************************** ****************************************************************************/ -#ifndef _ASM_I386_UNISTD_H_ -#define _ASM_I386_UNISTD_H_ +#ifndef _ASM_X86_UNISTD_32_H +#define _ASM_X86_UNISTD_32_H #define __NR_restart_syscall 0 #define __NR_exit 1 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ @@ -417,9 +417,35 @@ #define __NR_utimensat 320 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __NR_signalfd 321 -#define __NR_timerfd 322 +#define __NR_timerfd_create 322 #define __NR_eventfd 323 #define __NR_fallocate 324 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define __NR_perf_event_open 364 +#define __NR_timerfd_settime 325 +#define __NR_timerfd_gettime 326 +#define __NR_signalfd4 327 +#define __NR_eventfd2 328 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_epoll_create1 329 +#define __NR_dup3 330 +#define __NR_pipe2 331 +#define __NR_inotify_init1 332 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_preadv 333 +#define __NR_pwritev 334 +#define __NR_rt_tgsigqueueinfo 335 +#define __NR_perf_event_open 336 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_recvmmsg 337 +#define __NR_fanotify_init 338 +#define __NR_fanotify_mark 339 +#define __NR_prlimit64 340 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_name_to_handle_at 341 +#define __NR_open_by_handle_at 342 +#define __NR_clock_adjtime 343 +#define __NR_syncfs 344 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define __NR_sendmmsg 345 +#define __NR_setns 346 #endif diff --git a/8/platforms/android-14/arch-x86/usr/include/fenv.h b/8/platforms/android-14/arch-x86/usr/include/fenv.h index 710494c..4e322b7 100644 --- a/8/platforms/android-14/arch-x86/usr/include/fenv.h +++ b/8/platforms/android-14/arch-x86/usr/include/fenv.h @@ -32,6 +32,8 @@ #include <sys/cdefs.h> #include <sys/_types.h> +__BEGIN_DECLS + /* * To preserve binary compatibility with FreeBSD 5.3, we pack the * mxcsr into some reserved fields, rather than changing sizeof(fenv_t). @@ -65,8 +67,6 @@ typedef __uint16_t fexcept_t; #define _ROUND_MASK (FE_TONEAREST | FE_DOWNWARD | \ FE_UPWARD | FE_TOWARDZERO) -__BEGIN_DECLS - /* Default floating-point environment */ extern const fenv_t __fe_dfl_env; #define FE_DFL_ENV (&__fe_dfl_env) diff --git a/8/platforms/android-14/arch-x86/usr/include/link.h b/8/platforms/android-14/arch-x86/usr/include/link.h new file mode 100644 index 0000000..842b448 --- /dev/null +++ b/8/platforms/android-14/arch-x86/usr/include/link.h @@ -0,0 +1,55 @@ +/* + * Copyright (C) 2012 The Android Open Source Project + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ +#ifndef _LINK_H_ +#define _LINK_H_ + +#include <sys/types.h> +#include <elf.h> + +__BEGIN_DECLS + +/* bionic is currently only 32-bit. */ +#define ElfW(type) Elf32_##type + +struct dl_phdr_info { + ElfW(Addr) dlpi_addr; + const char* dlpi_name; + const ElfW(Phdr)* dlpi_phdr; + ElfW(Half) dlpi_phnum; +}; + +#ifdef __arm__ +typedef long unsigned int* _Unwind_Ptr; +_Unwind_Ptr dl_unwind_find_exidx(_Unwind_Ptr pc, int* pcount); +#else +int dl_iterate_phdr(int (*cb)(struct dl_phdr_info*, size_t, void*), void*); +#endif + +__END_DECLS + +#endif /* _LINK_H_ */ diff --git a/8/platforms/android-14/arch-x86/usr/include/linux/icmp.h b/8/platforms/android-14/arch-x86/usr/include/linux/icmp.h index c5b58bb..d69a0e2 100644 --- a/8/platforms/android-14/arch-x86/usr/include/linux/icmp.h +++ b/8/platforms/android-14/arch-x86/usr/include/linux/icmp.h @@ -66,7 +66,7 @@ struct icmphdr { } echo; __u32 gateway; struct { - __u16 __unused_field; + __u16 __linux_unused; __u16 mtu; } frag; } un; diff --git a/8/platforms/android-14/arch-x86/usr/include/linux/sysctl.h b/8/platforms/android-14/arch-x86/usr/include/linux/sysctl.h index 329e561..730c740 100644 --- a/8/platforms/android-14/arch-x86/usr/include/linux/sysctl.h +++ b/8/platforms/android-14/arch-x86/usr/include/linux/sysctl.h @@ -28,7 +28,7 @@ struct __sysctl_args { size_t __user *oldlenp; void __user *newval; size_t newlen; - unsigned long __unused[4]; + unsigned long __linux_unused[4]; }; enum diff --git a/8/platforms/android-14/arch-x86/usr/include/machine/_types.h b/8/platforms/android-14/arch-x86/usr/include/machine/_types.h index 65892a1..d3d9eeb 100644 --- a/8/platforms/android-14/arch-x86/usr/include/machine/_types.h +++ b/8/platforms/android-14/arch-x86/usr/include/machine/_types.h @@ -58,8 +58,6 @@ typedef long int ssize_t; # endif #endif -#include <linux/types.h> - /* 7.18.1.1 Exact-width integer types */ typedef __signed char __int8_t; typedef unsigned char __uint8_t; diff --git a/8/platforms/android-14/arch-x86/usr/include/malloc.h b/8/platforms/android-14/arch-x86/usr/include/malloc.h index a864286..ec21926 100644 --- a/8/platforms/android-14/arch-x86/usr/include/malloc.h +++ b/8/platforms/android-14/arch-x86/usr/include/malloc.h @@ -1,33 +1,27 @@ /* - * Copyright (C) 2008 The Android Open Source Project - * All rights reserved. + * Copyright (C) 2012 The Android Open Source Project * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT - * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. */ -#ifndef _MALLOC_H_ -#define _MALLOC_H_ +#ifndef LIBC_INCLUDE_MALLOC_H_ +#define LIBC_INCLUDE_MALLOC_H_ + +/* + * Declaration of malloc routines. Bionic uses dlmalloc (see + * upstream-dlmalloc) but doesn't directly include it here to keep the + * defined malloc.h interface small. + */ #include <sys/cdefs.h> #include <stddef.h> @@ -35,70 +29,33 @@ __BEGIN_DECLS extern __mallocfunc void* malloc(size_t); extern __mallocfunc void* calloc(size_t, size_t); -extern __mallocfunc void* realloc(void *, size_t); -extern void free(void *); +extern void* realloc(void *, size_t); +extern void free(void *); -extern void* memalign(size_t alignment, size_t bytesize); -extern void* valloc(size_t bytesize); -extern void* pvalloc(size_t bytesize); -extern int mallopt(int param_number, int param_value); -extern size_t malloc_footprint(void); -extern size_t malloc_max_footprint(void); +extern void* memalign(size_t alignment, size_t bytesize); +extern size_t malloc_usable_size(void*); +extern void* valloc(size_t bytesize); +extern void* pvalloc(size_t bytesize); + +#ifndef STRUCT_MALLINFO_DECLARED +#define STRUCT_MALLINFO_DECLARED 1 struct mallinfo { - size_t arena; /* non-mmapped space allocated from system */ - size_t ordblks; /* number of free chunks */ - size_t smblks; /* always 0 */ - size_t hblks; /* always 0 */ - size_t hblkhd; /* space in mmapped regions */ - size_t usmblks; /* maximum total allocated space */ - size_t fsmblks; /* always 0 */ - size_t uordblks; /* total allocated space */ - size_t fordblks; /* total free space */ - size_t keepcost; /* releasable (via malloc_trim) space */ + size_t arena; + size_t ordblks; + size_t smblks; + size_t hblks; + size_t hblkhd; + size_t usmblks; + size_t fsmblks; + size_t uordblks; + size_t fordblks; + size_t keepcost; }; +#endif /* STRUCT_MALLINFO_DECLARED */ -extern struct mallinfo mallinfo(void); - - -/* - malloc_usable_size(void* p); - - Returns the number of bytes you can actually use in - an allocated chunk, which may be more than you requested (although - often not) due to alignment and minimum size constraints. - You can use this many bytes without worrying about - overwriting other allocated objects. This is not a particularly great - programming practice. malloc_usable_size can be more useful in - debugging and assertions, for example: - - p = malloc(n); - assert(malloc_usable_size(p) >= 256); -*/ -extern size_t malloc_usable_size(void* block); - -/* - malloc_stats(); - Prints on stderr the amount of space obtained from the system (both - via sbrk and mmap), the maximum amount (which may be more than - current if malloc_trim and/or munmap got called), and the current - number of bytes allocated via malloc (or realloc, etc) but not yet - freed. Note that this is the number of bytes allocated, not the - number requested. It will be larger than the number requested - because of alignment and bookkeeping overhead. Because it includes - alignment wastage as being in use, this figure may be greater than - zero even when no user-level chunks are allocated. - - The reported current and maximum system memory can be inaccurate if - a program makes other calls to system memory allocation functions - (normally sbrk) outside of malloc. - - malloc_stats prints only the most commonly interesting statistics. - More information can be obtained by calling mallinfo. -*/ -extern void malloc_stats(void); +extern struct mallinfo mallinfo(void); __END_DECLS -#endif /* _MALLOC_H_ */ - +#endif /* LIBC_INCLUDE_MALLOC_H_ */ diff --git a/8/platforms/android-14/arch-x86/usr/include/stdint.h b/8/platforms/android-14/arch-x86/usr/include/stdint.h index e791475..49879cb 100644 --- a/8/platforms/android-14/arch-x86/usr/include/stdint.h +++ b/8/platforms/android-14/arch-x86/usr/include/stdint.h @@ -31,8 +31,6 @@ #include <stddef.h> #include <sys/_types.h> - - #if !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) # define __STDINT_LIMITS #endif @@ -41,20 +39,14 @@ # define __STDINT_MACROS #endif -#if !defined __STRICT_ANSI__ || __STDC_VERSION__ >= 199901L -# define __STDC_INT64__ -#endif - typedef __int8_t int8_t; typedef __uint8_t uint8_t; typedef __int16_t int16_t; typedef __uint16_t uint16_t; typedef __int32_t int32_t; typedef __uint32_t uint32_t; -#if defined(__STDC_INT64__) typedef __int64_t int64_t; typedef __uint64_t uint64_t; -#endif /* * int8_t & uint8_t @@ -93,7 +85,6 @@ typedef uint8_t uint_fast8_t; * int16_t & uint16_t */ - typedef int16_t int_least16_t; typedef int32_t int_fast16_t; @@ -156,17 +147,16 @@ typedef uint32_t uint_fast32_t; # define UINT_FAST32_C(c) UINT32_C(c) #endif -#if defined(__STDC_INT64__) /* * int64_t */ + typedef int64_t int_least64_t; typedef int64_t int_fast64_t; typedef uint64_t uint_least64_t; typedef uint64_t uint_fast64_t; - #ifdef __STDINT_LIMITS # define INT64_MIN (__INT64_C(-9223372036854775807)-1) # define INT64_MAX (__INT64_C(9223372036854775807)) @@ -193,13 +183,10 @@ typedef uint64_t uint_fast64_t; # define UINT_FAST64_C(c) UINT64_C(c) #endif - # define __PRI64_RANK "ll" # define __PRIFAST_RANK "" # define __PRIPTR_RANK "" -#endif /* __STDC_INT64__ */ - /* * intptr_t & uintptr_t */ @@ -221,14 +208,10 @@ typedef unsigned int uintptr_t; # define PTRDIFF_C(c) INT32_C(c) #endif - - /* * intmax_t & uintmax_t */ -#if defined(__STDC_INT64__) - typedef uint64_t uintmax_t; typedef int64_t intmax_t; @@ -243,25 +226,6 @@ typedef int64_t intmax_t; # define UINTMAX_C(c) UINT64_C(c) #endif -#else /* !__STDC_INT64__ */ - -typedef uint32_t uintmax_t; -typedef int32_t intmax_t; - -#ifdef __STDINT_LIMITS -# define INTMAX_MIN INT32_MIN -# define INTMAX_MAX INT32_MAX -# define UINTMAX_MAX UINT32_MAX -#endif - -#ifdef __STDINT_MACROS -# define INTMAX_C(c) INT32_C(c) -# define UINTMAX_C(c) UINT32_C(c) -#endif - -#endif /* !__STDC_INT64__ */ - - /* size_t is defined by the GCC-specific <stddef.h> */ #ifndef _SSIZE_T_DEFINED_ #define _SSIZE_T_DEFINED_ diff --git a/8/platforms/android-14/arch-x86/usr/include/sys/linux-unistd.h b/8/platforms/android-14/arch-x86/usr/include/sys/linux-unistd.h deleted file mode 100644 index 23853da..0000000 --- a/8/platforms/android-14/arch-x86/usr/include/sys/linux-unistd.h +++ /dev/null @@ -1,212 +0,0 @@ -/* auto-generated by gensyscalls.py, do not touch */ -#ifndef _BIONIC_LINUX_UNISTD_H_ - -#ifdef __cplusplus -extern "C" { -#endif - -void _exit (int); -void _exit_thread (int); -pid_t __fork (void); -pid_t _waitpid (pid_t, int*, int, struct rusage*); -int __waitid (int, pid_t, struct siginfo_t*, int,void*); -pid_t __sys_clone (int, void*, int*, void*, int*); -int execve (const char*, char* const*, char* const*); -int __setuid (uid_t); -uid_t getuid (void); -gid_t getgid (void); -uid_t geteuid (void); -gid_t getegid (void); -uid_t getresuid (void); -gid_t getresgid (void); -pid_t gettid (void); -int getgroups (int, gid_t *); -pid_t getpgid (pid_t); -pid_t getppid (void); -pid_t setsid (void); -int setgid (gid_t); -int seteuid (uid_t); -int __setreuid (uid_t, uid_t); -int __setresuid (uid_t, uid_t, uid_t); -int setresgid (gid_t, gid_t, gid_t); -void* __brk (void*); -int kill (pid_t, int); -int tkill (pid_t tid, int sig); -int __ptrace (int request, int pid, void* addr, void* data); -int __set_thread_area (void* user_desc); -int __getpriority (int, int); -int setpriority (int, int, int); -int setrlimit (int resource, const struct rlimit *rlp); -int getrlimit (int resource, struct rlimit *rlp); -int getrusage (int who, struct rusage* r_usage); -int setgroups (int, const gid_t *); -pid_t getpgrp (void); -int setpgid (pid_t, pid_t); -pid_t vfork (void); -int setregid (gid_t, gid_t); -int chroot (const char *); -int prctl (int option, unsigned int arg2, unsigned int arg3, unsigned int arg4, unsigned int arg5); -int capget (cap_user_header_t header, cap_user_data_t data); -int capset (cap_user_header_t header, const cap_user_data_t data); -int sigaltstack (const stack_t*, stack_t*); -int acct (const char* filepath); -ssize_t read (int, void*, size_t); -ssize_t write (int, const void*, size_t); -ssize_t __pread64 (int, void *, size_t, off_t, off_t); -ssize_t __pwrite64 (int, void *, size_t, off_t, off_t); -int __open (const char*, int, mode_t); -int __openat (int, const char*, int, mode_t); -int close (int); -int creat (const char*, mode_t); -off_t lseek (int, off_t, int); -int __llseek (int, unsigned long, unsigned long, loff_t*, int); -pid_t getpid (void); -void * mmap (void *, size_t, int, int, int, long); -void * __mmap2 (void*, size_t, int, int, int, long); -int munmap (void *, size_t); -void * mremap (void *, size_t, size_t, unsigned long); -int msync (const void *, size_t, int); -int mprotect (const void *, size_t, int); -int madvise (const void *, size_t, int); -int mlock (const void *addr, size_t len); -int munlock (const void *addr, size_t len); -int mincore (void* start, size_t length, unsigned char* vec); -int __ioctl (int, int, void *); -int readv (int, const struct iovec *, int); -int writev (int, const struct iovec *, int); -int __fcntl (int, int, void*); -int flock (int, int); -int fchmod (int, mode_t); -int dup (int); -int pipe (int *); -int pipe2 (int *, int); -int dup2 (int, int); -int select (int, struct fd_set *, struct fd_set *, struct fd_set *, struct timeval *); -int ftruncate (int, off_t); -int getdents (unsigned int, struct dirent *, unsigned int); -int fsync (int); -int fdatasync (int); -int fchown (int, uid_t, gid_t); -void sync (void); -int __fcntl64 (int, int, void *); -int __fstatfs64 (int, size_t, struct statfs *); -ssize_t sendfile (int out_fd, int in_fd, off_t *offset, size_t count); -int fstatat (int dirfd, const char *path, struct stat *buf, int flags); -int mkdirat (int dirfd, const char *pathname, mode_t mode); -int fchownat (int dirfd, const char *path, uid_t owner, gid_t group, int flags); -int fchmodat (int dirfd, const char *path, mode_t mode, int flags); -int renameat (int olddirfd, const char *oldpath, int newdirfd, const char *newpath); -int link (const char*, const char*); -int unlink (const char*); -int unlinkat (int, const char *, int); -int chdir (const char*); -int mknod (const char*, mode_t, dev_t); -int chmod (const char*,mode_t); -int chown (const char *, uid_t, gid_t); -int lchown (const char*, uid_t, gid_t); -int mount (const char*, const char*, const char*, unsigned long, const void*); -int umount (const char*); -int umount2 (const char*, int); -int fstat (int, struct stat*); -int stat (const char *, struct stat *); -int lstat (const char *, struct stat *); -int mkdir (const char *, mode_t); -int readlink (const char *, char *, size_t); -int rmdir (const char *); -int rename (const char *, const char *); -int __getcwd (char * buf, size_t size); -int access (const char *, int); -int symlink (const char *, const char *); -int fchdir (int); -int truncate (const char*, off_t); -int __statfs64 (const char *, size_t, struct statfs *); -int pause (void); -int gettimeofday (struct timeval*, struct timezone*); -int settimeofday (const struct timeval*, const struct timezone*); -clock_t times (struct tms *); -int nanosleep (const struct timespec *, struct timespec *); -int clock_gettime (clockid_t clk_id, struct timespec *tp); -int clock_settime (clockid_t clk_id, const struct timespec *tp); -int clock_getres (clockid_t clk_id, struct timespec *res); -int clock_nanosleep (const struct timespec *req, struct timespec *rem); -int getitimer (int, const struct itimerval *); -int setitimer (int, const struct itimerval *, struct itimerval *); -int __timer_create (clockid_t clockid, struct sigevent *evp, timer_t *timerid); -int __timer_settime (timer_t, int, const struct itimerspec*, struct itimerspec*); -int __timer_gettime (timer_t, struct itimerspec*); -int __timer_getoverrun (timer_t); -int __timer_delete (timer_t); -int utimes (const char*, const struct timeval tvp[2]); -int sigaction (int, const struct sigaction *, struct sigaction *); -int sigprocmask (int, const sigset_t *, sigset_t *); -int __sigsuspend (int unused1, int unused2, unsigned mask); -int __rt_sigaction (int sig, const struct sigaction *act, struct sigaction *oact, size_t sigsetsize); -int __rt_sigprocmask (int how, const sigset_t *set, sigset_t *oset, size_t sigsetsize); -int __rt_sigtimedwait (const sigset_t *set, struct siginfo_t *info, struct timespec_t *timeout, size_t sigset_size); -int sigpending (sigset_t *); -int socket (int, int, int); -int socketpair (int, int, int, int*); -int bind (int, struct sockaddr *, int); -int connect (int, struct sockaddr *, socklen_t); -int listen (int, int); -int accept (int, struct sockaddr *, socklen_t *); -int getsockname (int, struct sockaddr *, socklen_t *); -int getpeername (int, struct sockaddr *, socklen_t *); -int sendto (int, const void *, size_t, int, const struct sockaddr *, socklen_t); -int recvfrom (int, void *, size_t, unsigned int, struct sockaddr *, socklen_t *); -int shutdown (int, int); -int setsockopt (int, int, int, const void *, socklen_t); -int getsockopt (int, int, int, void *, socklen_t *); -int sendmsg (int, const struct msghdr *, unsigned int); -int recvmsg (int, struct msghdr *, unsigned int); -int socket (int, int, int); -int bind (int, struct sockaddr *, int); -int connect (int, struct sockaddr *, socklen_t); -int listen (int, int); -int accept (int, struct sockaddr *, socklen_t *); -int getsockname (int, struct sockaddr *, socklen_t *); -int getpeername (int, struct sockaddr *, socklen_t *); -int socketpair (int, int, int, int*); -int sendto (int, const void *, size_t, int, const struct sockaddr *, socklen_t); -int recvfrom (int, void *, size_t, unsigned int, struct sockaddr *, socklen_t *); -int shutdown (int, int); -int setsockopt (int, int, int, const void *, socklen_t); -int getsockopt (int, int, int, void *, socklen_t *); -int sendmsg (int, const struct msghdr *, unsigned int); -int recvmsg (int, struct msghdr *, unsigned int); -int __socketcall (int, unsigned long*); -int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); -int sched_getscheduler (pid_t pid); -int sched_yield (void); -int sched_setparam (pid_t pid, const struct sched_param *param); -int sched_getparam (pid_t pid, struct sched_param *param); -int sched_get_priority_max (int policy); -int sched_get_priority_min (int policy); -int sched_rr_get_interval (pid_t pid, struct timespec *interval); -int ioprio_set (int which, int who, int ioprio); -int ioprio_get (int which, int who); -int uname (struct utsname *); -pid_t __wait4 (pid_t pid, int *status, int options, struct rusage *rusage); -mode_t umask (mode_t); -int __reboot (int, int, int, void *); -int __syslog (int, char *, int); -int init_module (void *, unsigned long, const char *); -int delete_module (const char*, unsigned int); -int klogctl (int, char *, int); -int sysinfo (struct sysinfo *); -int futex (void *, int, int, void *, void *, int); -int epoll_create (int size); -int epoll_ctl (int epfd, int op, int fd, struct epoll_event *event); -int epoll_wait (int epfd, struct epoll_event *events, int max, int timeout); -int inotify_init (void); -int inotify_add_watch (int, const char *, unsigned int); -int inotify_rm_watch (int, unsigned int); -int poll (struct pollfd *, unsigned int, long); -int eventfd (unsigned int, int); -int __set_tls (void*); -int cacheflush (long start, long end, long flags); -#ifdef __cplusplus -} -#endif - -#endif /* _BIONIC_LINUX_UNISTD_H_ */ diff --git a/8/platforms/android-14/arch-x86/usr/lib/crtbegin_dynamic.o b/8/platforms/android-14/arch-x86/usr/lib/crtbegin_dynamic.o Binary files differindex 16e3d59..09d6b28 100644 --- a/8/platforms/android-14/arch-x86/usr/lib/crtbegin_dynamic.o +++ b/8/platforms/android-14/arch-x86/usr/lib/crtbegin_dynamic.o diff --git a/8/platforms/android-14/arch-x86/usr/lib/crtbegin_so.o b/8/platforms/android-14/arch-x86/usr/lib/crtbegin_so.o Binary files differindex 8085514..31413e2 100644 --- a/8/platforms/android-14/arch-x86/usr/lib/crtbegin_so.o +++ b/8/platforms/android-14/arch-x86/usr/lib/crtbegin_so.o diff --git a/8/platforms/android-14/arch-x86/usr/lib/crtbegin_static.o b/8/platforms/android-14/arch-x86/usr/lib/crtbegin_static.o Binary files differindex 16e3d59..09d6b28 100644 --- a/8/platforms/android-14/arch-x86/usr/lib/crtbegin_static.o +++ b/8/platforms/android-14/arch-x86/usr/lib/crtbegin_static.o diff --git a/8/platforms/android-14/arch-x86/usr/lib/crtend_android.o b/8/platforms/android-14/arch-x86/usr/lib/crtend_android.o Binary files differindex f99cdb5..173dad3 100644 --- a/8/platforms/android-14/arch-x86/usr/lib/crtend_android.o +++ b/8/platforms/android-14/arch-x86/usr/lib/crtend_android.o diff --git a/8/platforms/android-14/arch-x86/usr/lib/crtend_so.o b/8/platforms/android-14/arch-x86/usr/lib/crtend_so.o Binary files differindex 2fc910c..6373e2a 100644 --- a/8/platforms/android-14/arch-x86/usr/lib/crtend_so.o +++ b/8/platforms/android-14/arch-x86/usr/lib/crtend_so.o diff --git a/8/platforms/android-14/arch-x86/usr/lib/libEGL.so b/8/platforms/android-14/arch-x86/usr/lib/libEGL.so Binary files differindex d00fe43..a52a1f3 100755 --- a/8/platforms/android-14/arch-x86/usr/lib/libEGL.so +++ b/8/platforms/android-14/arch-x86/usr/lib/libEGL.so diff --git a/8/platforms/android-14/arch-x86/usr/lib/libGLESv1_CM.so b/8/platforms/android-14/arch-x86/usr/lib/libGLESv1_CM.so Binary files differindex 6f8b537..ca6209a 100755 --- a/8/platforms/android-14/arch-x86/usr/lib/libGLESv1_CM.so +++ b/8/platforms/android-14/arch-x86/usr/lib/libGLESv1_CM.so diff --git a/8/platforms/android-14/arch-x86/usr/lib/libGLESv2.so b/8/platforms/android-14/arch-x86/usr/lib/libGLESv2.so Binary files differindex f7a1f87..b3267a1 100755 --- a/8/platforms/android-14/arch-x86/usr/lib/libGLESv2.so +++ b/8/platforms/android-14/arch-x86/usr/lib/libGLESv2.so diff --git a/8/platforms/android-14/arch-x86/usr/lib/libOpenMAXAL.so b/8/platforms/android-14/arch-x86/usr/lib/libOpenMAXAL.so Binary files differindex 08199fc..1644a4d 100755 --- a/8/platforms/android-14/arch-x86/usr/lib/libOpenMAXAL.so +++ b/8/platforms/android-14/arch-x86/usr/lib/libOpenMAXAL.so diff --git a/8/platforms/android-14/arch-x86/usr/lib/libOpenSLES.so b/8/platforms/android-14/arch-x86/usr/lib/libOpenSLES.so Binary files differindex dc12304..98fc8e7 100755 --- a/8/platforms/android-14/arch-x86/usr/lib/libOpenSLES.so +++ b/8/platforms/android-14/arch-x86/usr/lib/libOpenSLES.so diff --git a/8/platforms/android-14/arch-x86/usr/lib/libandroid.so b/8/platforms/android-14/arch-x86/usr/lib/libandroid.so Binary files differindex 0bb5f95..33b5c62 100755 --- a/8/platforms/android-14/arch-x86/usr/lib/libandroid.so +++ b/8/platforms/android-14/arch-x86/usr/lib/libandroid.so diff --git a/8/platforms/android-14/arch-x86/usr/lib/libc.so b/8/platforms/android-14/arch-x86/usr/lib/libc.so Binary files differindex 12a55d6..fcd0d5d 100755 --- a/8/platforms/android-14/arch-x86/usr/lib/libc.so +++ b/8/platforms/android-14/arch-x86/usr/lib/libc.so diff --git a/8/platforms/android-14/arch-x86/usr/lib/libdl.so b/8/platforms/android-14/arch-x86/usr/lib/libdl.so Binary files differindex 2d28422..efc8b91 100755 --- a/8/platforms/android-14/arch-x86/usr/lib/libdl.so +++ b/8/platforms/android-14/arch-x86/usr/lib/libdl.so diff --git a/8/platforms/android-14/arch-x86/usr/lib/libjnigraphics.so b/8/platforms/android-14/arch-x86/usr/lib/libjnigraphics.so Binary files differindex b4df95b..644b94f 100755 --- a/8/platforms/android-14/arch-x86/usr/lib/libjnigraphics.so +++ b/8/platforms/android-14/arch-x86/usr/lib/libjnigraphics.so diff --git a/8/platforms/android-14/arch-x86/usr/lib/liblog.so b/8/platforms/android-14/arch-x86/usr/lib/liblog.so Binary files differindex 3cdb522..0e5a347 100755 --- a/8/platforms/android-14/arch-x86/usr/lib/liblog.so +++ b/8/platforms/android-14/arch-x86/usr/lib/liblog.so diff --git a/8/platforms/android-14/arch-x86/usr/lib/libm.so b/8/platforms/android-14/arch-x86/usr/lib/libm.so Binary files differindex a9e24d9..f5e1236 100755 --- a/8/platforms/android-14/arch-x86/usr/lib/libm.so +++ b/8/platforms/android-14/arch-x86/usr/lib/libm.so diff --git a/8/platforms/android-14/arch-x86/usr/lib/libstdc++.so b/8/platforms/android-14/arch-x86/usr/lib/libstdc++.so Binary files differindex 66c3ce5..def9e8b 100755 --- a/8/platforms/android-14/arch-x86/usr/lib/libstdc++.so +++ b/8/platforms/android-14/arch-x86/usr/lib/libstdc++.so diff --git a/8/platforms/android-14/arch-x86/usr/lib/libz.so b/8/platforms/android-14/arch-x86/usr/lib/libz.so Binary files differindex 8cfae40..d11c39e 100755 --- a/8/platforms/android-14/arch-x86/usr/lib/libz.so +++ b/8/platforms/android-14/arch-x86/usr/lib/libz.so |