Merge "Experimental headers/libs"
This commit is contained in:
23
ndk/platforms/android-20/arch-arm64/include/asm/auxvec.h
Normal file
23
ndk/platforms/android-20/arch-arm64/include/asm/auxvec.h
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_AUXVEC_H
|
||||||
|
#define __ASM_AUXVEC_H
|
||||||
|
#define AT_SYSINFO_EHDR 33
|
||||||
|
#endif
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_BITSPERLONG_H
|
||||||
|
#define __ASM_BITSPERLONG_H
|
||||||
|
#define __BITS_PER_LONG 64
|
||||||
|
#include <asm-generic/bitsperlong.h>
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#endif
|
||||||
23
ndk/platforms/android-20/arch-arm64/include/asm/byteorder.h
Normal file
23
ndk/platforms/android-20/arch-arm64/include/asm/byteorder.h
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_BYTEORDER_H
|
||||||
|
#define __ASM_BYTEORDER_H
|
||||||
|
#include <linux/byteorder/little_endian.h>
|
||||||
|
#endif
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
19
ndk/platforms/android-20/arch-arm64/include/asm/errno.h
Normal file
19
ndk/platforms/android-20/arch-arm64/include/asm/errno.h
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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!
|
||||||
|
***
|
||||||
|
****************************************************************************
|
||||||
|
****************************************************************************/
|
||||||
|
#include <asm-generic/errno.h>
|
||||||
28
ndk/platforms/android-20/arch-arm64/include/asm/fcntl.h
Normal file
28
ndk/platforms/android-20/arch-arm64/include/asm/fcntl.h
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_FCNTL_H
|
||||||
|
#define __ASM_FCNTL_H
|
||||||
|
#define O_DIRECTORY 040000
|
||||||
|
#define O_NOFOLLOW 0100000
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define O_DIRECT 0200000
|
||||||
|
#define O_LARGEFILE 0400000
|
||||||
|
#include <asm-generic/fcntl.h>
|
||||||
|
#endif
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
24
ndk/platforms/android-20/arch-arm64/include/asm/hwcap.h
Normal file
24
ndk/platforms/android-20/arch-arm64/include/asm/hwcap.h
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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 _UAPI__ASM_HWCAP_H
|
||||||
|
#define _UAPI__ASM_HWCAP_H
|
||||||
|
#define HWCAP_FP (1 << 0)
|
||||||
|
#define HWCAP_ASIMD (1 << 1)
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#endif
|
||||||
19
ndk/platforms/android-20/arch-arm64/include/asm/ioctl.h
Normal file
19
ndk/platforms/android-20/arch-arm64/include/asm/ioctl.h
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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!
|
||||||
|
***
|
||||||
|
****************************************************************************
|
||||||
|
****************************************************************************/
|
||||||
|
#include <asm-generic/ioctl.h>
|
||||||
19
ndk/platforms/android-20/arch-arm64/include/asm/ioctls.h
Normal file
19
ndk/platforms/android-20/arch-arm64/include/asm/ioctls.h
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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!
|
||||||
|
***
|
||||||
|
****************************************************************************
|
||||||
|
****************************************************************************/
|
||||||
|
#include <asm-generic/ioctls.h>
|
||||||
19
ndk/platforms/android-20/arch-arm64/include/asm/ipcbuf.h
Normal file
19
ndk/platforms/android-20/arch-arm64/include/asm/ipcbuf.h
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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!
|
||||||
|
***
|
||||||
|
****************************************************************************
|
||||||
|
****************************************************************************/
|
||||||
|
#include <asm-generic/ipcbuf.h>
|
||||||
19
ndk/platforms/android-20/arch-arm64/include/asm/kvm_para.h
Normal file
19
ndk/platforms/android-20/arch-arm64/include/asm/kvm_para.h
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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!
|
||||||
|
***
|
||||||
|
****************************************************************************
|
||||||
|
****************************************************************************/
|
||||||
|
#include <asm-generic/kvm_para.h>
|
||||||
19
ndk/platforms/android-20/arch-arm64/include/asm/mman.h
Normal file
19
ndk/platforms/android-20/arch-arm64/include/asm/mman.h
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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!
|
||||||
|
***
|
||||||
|
****************************************************************************
|
||||||
|
****************************************************************************/
|
||||||
|
#include <asm-generic/mman.h>
|
||||||
19
ndk/platforms/android-20/arch-arm64/include/asm/msgbuf.h
Normal file
19
ndk/platforms/android-20/arch-arm64/include/asm/msgbuf.h
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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!
|
||||||
|
***
|
||||||
|
****************************************************************************
|
||||||
|
****************************************************************************/
|
||||||
|
#include <asm-generic/msgbuf.h>
|
||||||
24
ndk/platforms/android-20/arch-arm64/include/asm/param.h
Normal file
24
ndk/platforms/android-20/arch-arm64/include/asm/param.h
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_PARAM_H
|
||||||
|
#define __ASM_PARAM_H
|
||||||
|
#define EXEC_PAGESIZE 65536
|
||||||
|
#include <asm-generic/param.h>
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#endif
|
||||||
19
ndk/platforms/android-20/arch-arm64/include/asm/poll.h
Normal file
19
ndk/platforms/android-20/arch-arm64/include/asm/poll.h
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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!
|
||||||
|
***
|
||||||
|
****************************************************************************
|
||||||
|
****************************************************************************/
|
||||||
|
#include <asm-generic/poll.h>
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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!
|
||||||
|
***
|
||||||
|
****************************************************************************
|
||||||
|
****************************************************************************/
|
||||||
|
#include <asm-generic/posix_types.h>
|
||||||
79
ndk/platforms/android-20/arch-arm64/include/asm/ptrace.h
Normal file
79
ndk/platforms/android-20/arch-arm64/include/asm/ptrace.h
Normal file
@@ -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 _UAPI__ASM_PTRACE_H
|
||||||
|
#define _UAPI__ASM_PTRACE_H
|
||||||
|
#include <linux/types.h>
|
||||||
|
#include <asm/hwcap.h>
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define PSR_MODE_EL0t 0x00000000
|
||||||
|
#define PSR_MODE_EL1t 0x00000004
|
||||||
|
#define PSR_MODE_EL1h 0x00000005
|
||||||
|
#define PSR_MODE_EL2t 0x00000008
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define PSR_MODE_EL2h 0x00000009
|
||||||
|
#define PSR_MODE_EL3t 0x0000000c
|
||||||
|
#define PSR_MODE_EL3h 0x0000000d
|
||||||
|
#define PSR_MODE_MASK 0x0000000f
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define PSR_MODE32_BIT 0x00000010
|
||||||
|
#define PSR_F_BIT 0x00000040
|
||||||
|
#define PSR_I_BIT 0x00000080
|
||||||
|
#define PSR_A_BIT 0x00000100
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define PSR_D_BIT 0x00000200
|
||||||
|
#define PSR_Q_BIT 0x08000000
|
||||||
|
#define PSR_V_BIT 0x10000000
|
||||||
|
#define PSR_C_BIT 0x20000000
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define PSR_Z_BIT 0x40000000
|
||||||
|
#define PSR_N_BIT 0x80000000
|
||||||
|
#define PSR_f 0xff000000
|
||||||
|
#define PSR_s 0x00ff0000
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define PSR_x 0x0000ff00
|
||||||
|
#define PSR_c 0x000000ff
|
||||||
|
#ifndef __ASSEMBLY__
|
||||||
|
struct user_pt_regs {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u64 regs[31];
|
||||||
|
__u64 sp;
|
||||||
|
__u64 pc;
|
||||||
|
__u64 pstate;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
struct user_fpsimd_state {
|
||||||
|
__uint128_t vregs[32];
|
||||||
|
__u32 fpsr;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u32 fpcr;
|
||||||
|
};
|
||||||
|
struct user_hwdebug_state {
|
||||||
|
__u32 dbg_info;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u32 pad;
|
||||||
|
struct {
|
||||||
|
__u64 addr;
|
||||||
|
__u32 ctrl;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u32 pad;
|
||||||
|
} dbg_regs[16];
|
||||||
|
};
|
||||||
|
#endif
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#endif
|
||||||
19
ndk/platforms/android-20/arch-arm64/include/asm/resource.h
Normal file
19
ndk/platforms/android-20/arch-arm64/include/asm/resource.h
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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!
|
||||||
|
***
|
||||||
|
****************************************************************************
|
||||||
|
****************************************************************************/
|
||||||
|
#include <asm-generic/resource.h>
|
||||||
19
ndk/platforms/android-20/arch-arm64/include/asm/sembuf.h
Normal file
19
ndk/platforms/android-20/arch-arm64/include/asm/sembuf.h
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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!
|
||||||
|
***
|
||||||
|
****************************************************************************
|
||||||
|
****************************************************************************/
|
||||||
|
#include <asm-generic/sembuf.h>
|
||||||
24
ndk/platforms/android-20/arch-arm64/include/asm/setup.h
Normal file
24
ndk/platforms/android-20/arch-arm64/include/asm/setup.h
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_SETUP_H
|
||||||
|
#define __ASM_SETUP_H
|
||||||
|
#include <linux/types.h>
|
||||||
|
#define COMMAND_LINE_SIZE 2048
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#endif
|
||||||
19
ndk/platforms/android-20/arch-arm64/include/asm/shmbuf.h
Normal file
19
ndk/platforms/android-20/arch-arm64/include/asm/shmbuf.h
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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!
|
||||||
|
***
|
||||||
|
****************************************************************************
|
||||||
|
****************************************************************************/
|
||||||
|
#include <asm-generic/shmbuf.h>
|
||||||
46
ndk/platforms/android-20/arch-arm64/include/asm/sigcontext.h
Normal file
46
ndk/platforms/android-20/arch-arm64/include/asm/sigcontext.h
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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 _UAPI__ASM_SIGCONTEXT_H
|
||||||
|
#define _UAPI__ASM_SIGCONTEXT_H
|
||||||
|
#include <linux/types.h>
|
||||||
|
struct sigcontext {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u64 fault_address;
|
||||||
|
__u64 regs[31];
|
||||||
|
__u64 sp;
|
||||||
|
__u64 pc;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u64 pstate;
|
||||||
|
__u8 __reserved[4096] __attribute__((__aligned__(16)));
|
||||||
|
};
|
||||||
|
struct _aarch64_ctx {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u32 magic;
|
||||||
|
__u32 size;
|
||||||
|
};
|
||||||
|
#define FPSIMD_MAGIC 0x46508001
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct fpsimd_context {
|
||||||
|
struct _aarch64_ctx head;
|
||||||
|
__u32 fpsr;
|
||||||
|
__u32 fpcr;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__uint128_t vregs[32];
|
||||||
|
};
|
||||||
|
#endif
|
||||||
24
ndk/platforms/android-20/arch-arm64/include/asm/siginfo.h
Normal file
24
ndk/platforms/android-20/arch-arm64/include/asm/siginfo.h
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_SIGINFO_H
|
||||||
|
#define __ASM_SIGINFO_H
|
||||||
|
#define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
|
||||||
|
#include <asm-generic/siginfo.h>
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#endif
|
||||||
24
ndk/platforms/android-20/arch-arm64/include/asm/signal.h
Normal file
24
ndk/platforms/android-20/arch-arm64/include/asm/signal.h
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_SIGNAL_H
|
||||||
|
#define __ASM_SIGNAL_H
|
||||||
|
#define SA_RESTORER 0x04000000
|
||||||
|
#include <asm-generic/signal.h>
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#endif
|
||||||
19
ndk/platforms/android-20/arch-arm64/include/asm/socket.h
Normal file
19
ndk/platforms/android-20/arch-arm64/include/asm/socket.h
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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!
|
||||||
|
***
|
||||||
|
****************************************************************************
|
||||||
|
****************************************************************************/
|
||||||
|
#include <asm-generic/socket.h>
|
||||||
19
ndk/platforms/android-20/arch-arm64/include/asm/sockios.h
Normal file
19
ndk/platforms/android-20/arch-arm64/include/asm/sockios.h
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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!
|
||||||
|
***
|
||||||
|
****************************************************************************
|
||||||
|
****************************************************************************/
|
||||||
|
#include <asm-generic/sockios.h>
|
||||||
19
ndk/platforms/android-20/arch-arm64/include/asm/stat.h
Normal file
19
ndk/platforms/android-20/arch-arm64/include/asm/stat.h
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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!
|
||||||
|
***
|
||||||
|
****************************************************************************
|
||||||
|
****************************************************************************/
|
||||||
|
#include <asm-generic/stat.h>
|
||||||
24
ndk/platforms/android-20/arch-arm64/include/asm/statfs.h
Normal file
24
ndk/platforms/android-20/arch-arm64/include/asm/statfs.h
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_STATFS_H
|
||||||
|
#define __ASM_STATFS_H
|
||||||
|
#define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed,aligned(4)))
|
||||||
|
#include <asm-generic/statfs.h>
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#endif
|
||||||
19
ndk/platforms/android-20/arch-arm64/include/asm/swab.h
Normal file
19
ndk/platforms/android-20/arch-arm64/include/asm/swab.h
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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!
|
||||||
|
***
|
||||||
|
****************************************************************************
|
||||||
|
****************************************************************************/
|
||||||
|
#include <asm-generic/swab.h>
|
||||||
19
ndk/platforms/android-20/arch-arm64/include/asm/termbits.h
Normal file
19
ndk/platforms/android-20/arch-arm64/include/asm/termbits.h
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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!
|
||||||
|
***
|
||||||
|
****************************************************************************
|
||||||
|
****************************************************************************/
|
||||||
|
#include <asm-generic/termbits.h>
|
||||||
19
ndk/platforms/android-20/arch-arm64/include/asm/termios.h
Normal file
19
ndk/platforms/android-20/arch-arm64/include/asm/termios.h
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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!
|
||||||
|
***
|
||||||
|
****************************************************************************
|
||||||
|
****************************************************************************/
|
||||||
|
#include <asm-generic/termios.h>
|
||||||
19
ndk/platforms/android-20/arch-arm64/include/asm/types.h
Normal file
19
ndk/platforms/android-20/arch-arm64/include/asm/types.h
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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!
|
||||||
|
***
|
||||||
|
****************************************************************************
|
||||||
|
****************************************************************************/
|
||||||
|
#include <asm-generic/types.h>
|
||||||
19
ndk/platforms/android-20/arch-arm64/include/asm/unistd.h
Normal file
19
ndk/platforms/android-20/arch-arm64/include/asm/unistd.h
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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!
|
||||||
|
***
|
||||||
|
****************************************************************************
|
||||||
|
****************************************************************************/
|
||||||
|
#include <asm-generic/unistd.h>
|
||||||
232
ndk/platforms/android-20/arch-arm64/include/fenv.h
Normal file
232
ndk/platforms/android-20/arch-arm64/include/fenv.h
Normal file
@@ -0,0 +1,232 @@
|
|||||||
|
/*-
|
||||||
|
* 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/arm/fenv.h,v 1.5 2005/03/16 19:03:45 das Exp $
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Rewritten for Android.
|
||||||
|
*
|
||||||
|
* The ARM FPSCR (Floating-point Status and Control Register) described here:
|
||||||
|
* http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0344b/Chdfafia.html
|
||||||
|
* has been split into the FPCR (Floating-point Control Register) and FPSR
|
||||||
|
* (Floating-point Status Register) on the ARMv8. These are described briefly in
|
||||||
|
* "Procedure Call Standard for the ARM 64-bit Architecture"
|
||||||
|
* http://infocenter.arm.com/help/topic/com.arm.doc.ihi0055a/IHI0055A_aapcs64.pdf
|
||||||
|
* section 5.1.2 SIMD and Floating-Point Registers
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _FENV_H_
|
||||||
|
#define _FENV_H_
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
__BEGIN_DECLS
|
||||||
|
|
||||||
|
typedef __uint32_t fenv_t;
|
||||||
|
typedef __uint32_t fexcept_t;
|
||||||
|
|
||||||
|
/* Exception flags. */
|
||||||
|
#define FE_INVALID 0x01
|
||||||
|
#define FE_DIVBYZERO 0x02
|
||||||
|
#define FE_OVERFLOW 0x04
|
||||||
|
#define FE_UNDERFLOW 0x08
|
||||||
|
#define FE_INEXACT 0x10
|
||||||
|
#define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | FE_INVALID | FE_OVERFLOW | FE_UNDERFLOW)
|
||||||
|
#define _FPSCR_ENABLE_SHIFT 8
|
||||||
|
#define _FPSCR_ENABLE_MASK (FE_ALL_EXCEPT << _FPSCR_ENABLE_SHIFT)
|
||||||
|
|
||||||
|
/* Rounding modes. */
|
||||||
|
#define FE_TONEAREST 0x0
|
||||||
|
#define FE_UPWARD 0x1
|
||||||
|
#define FE_DOWNWARD 0x2
|
||||||
|
#define FE_TOWARDZERO 0x3
|
||||||
|
#define _FPSCR_RMODE_SHIFT 22
|
||||||
|
|
||||||
|
#define FPCR_IOE (1 << 8)
|
||||||
|
#define FPCR_DZE (1 << 9)
|
||||||
|
#define FPCR_OFE (1 << 10)
|
||||||
|
#define FPCR_UFE (1 << 11)
|
||||||
|
#define FPCR_IXE (1 << 12)
|
||||||
|
#define FPCR_IDE (1 << 15)
|
||||||
|
#define FPCR_LEN (7 << 16)
|
||||||
|
#define FPCR_STRIDE (3 << 20)
|
||||||
|
#define FPCR_RMODE (3 << 22)
|
||||||
|
#define FPCR_FZ (1 << 24)
|
||||||
|
#define FPCR_DN (1 << 25)
|
||||||
|
#define FPCR_AHP (1 << 26)
|
||||||
|
#define FPCR_MASK (FPCR_IOE | \
|
||||||
|
FPCR_DZE | \
|
||||||
|
FPCR_OFE | \
|
||||||
|
FPCR_UFE | \
|
||||||
|
FPCR_IXE | \
|
||||||
|
FPCR_IDE | \
|
||||||
|
FPCR_LEN | \
|
||||||
|
FPCR_STRIDE | \
|
||||||
|
FPCR_RMODE | \
|
||||||
|
FPCR_FZ | \
|
||||||
|
FPCR_DN | \
|
||||||
|
FPCR_AHP )
|
||||||
|
|
||||||
|
#define FPSR_IOC (1 << 0)
|
||||||
|
#define FPSR_DZC (1 << 1)
|
||||||
|
#define FPSR_OFC (1 << 2)
|
||||||
|
#define FPSR_UFC (1 << 3)
|
||||||
|
#define FPSR_IXC (1 << 4)
|
||||||
|
#define FPSR_IDC (1 << 7)
|
||||||
|
#define FPSR_QC (1 << 27)
|
||||||
|
#define FPSR_V (1 << 28)
|
||||||
|
#define FPSR_C (1 << 29)
|
||||||
|
#define FPSR_Z (1 << 30)
|
||||||
|
#define FPSR_N (1 << 31)
|
||||||
|
#define FPSR_MASK (FPSR_IOC | \
|
||||||
|
FPSR_DZC | \
|
||||||
|
FPSR_OFC | \
|
||||||
|
FPSR_UFC | \
|
||||||
|
FPSR_IXC | \
|
||||||
|
FPSR_IDC | \
|
||||||
|
FPSR_QC | \
|
||||||
|
FPSR_V | \
|
||||||
|
FPSR_C | \
|
||||||
|
FPSR_Z | \
|
||||||
|
FPSR_N )
|
||||||
|
|
||||||
|
/* Default floating-point environment. */
|
||||||
|
extern const fenv_t __fe_dfl_env;
|
||||||
|
#define FE_DFL_ENV (&__fe_dfl_env)
|
||||||
|
|
||||||
|
static __inline int fegetenv(fenv_t* __envp) {
|
||||||
|
fenv_t _fpcr, _fpsr;
|
||||||
|
__asm__ __volatile__("mrs %0,fpcr" : "=r" (_fpcr));
|
||||||
|
__asm__ __volatile__("mrs %0,fpsr" : "=r" (_fpsr));
|
||||||
|
*__envp = (_fpcr | _fpsr);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static __inline int fesetenv(const fenv_t* __envp) {
|
||||||
|
fenv_t _fpcr = (*__envp & FPCR_MASK);
|
||||||
|
fenv_t _fpsr = (*__envp & FPSR_MASK);
|
||||||
|
__asm__ __volatile__("msr fpcr,%0" : :"ri" (_fpcr));
|
||||||
|
__asm__ __volatile__("msr fpsr,%0" : :"ri" (_fpsr));
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static __inline int feclearexcept(int __excepts) {
|
||||||
|
fexcept_t __fpscr;
|
||||||
|
fegetenv(&__fpscr);
|
||||||
|
__fpscr &= ~__excepts;
|
||||||
|
fesetenv(&__fpscr);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static __inline int fegetexceptflag(fexcept_t* __flagp, int __excepts) {
|
||||||
|
fexcept_t __fpscr;
|
||||||
|
fegetenv(&__fpscr);
|
||||||
|
*__flagp = __fpscr & __excepts;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static __inline int fesetexceptflag(const fexcept_t* __flagp, int __excepts) {
|
||||||
|
fexcept_t __fpscr;
|
||||||
|
fegetenv(&__fpscr);
|
||||||
|
__fpscr &= ~__excepts;
|
||||||
|
__fpscr |= *__flagp & __excepts;
|
||||||
|
fesetenv(&__fpscr);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static __inline int feraiseexcept(int __excepts) {
|
||||||
|
fexcept_t __ex = __excepts;
|
||||||
|
fesetexceptflag(&__ex, __excepts);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static __inline int fetestexcept(int __excepts) {
|
||||||
|
fexcept_t __fpscr;
|
||||||
|
fegetenv(&__fpscr);
|
||||||
|
return (__fpscr & __excepts);
|
||||||
|
}
|
||||||
|
|
||||||
|
static __inline int fegetround(void) {
|
||||||
|
fenv_t _fpscr;
|
||||||
|
fegetenv(&_fpscr);
|
||||||
|
return ((_fpscr >> _FPSCR_RMODE_SHIFT) & 0x3);
|
||||||
|
}
|
||||||
|
|
||||||
|
static __inline int fesetround(int __round) {
|
||||||
|
fenv_t _fpscr;
|
||||||
|
fegetenv(&_fpscr);
|
||||||
|
_fpscr &= ~(0x3 << _FPSCR_RMODE_SHIFT);
|
||||||
|
_fpscr |= (__round << _FPSCR_RMODE_SHIFT);
|
||||||
|
fesetenv(&_fpscr);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static __inline int feholdexcept(fenv_t* __envp) {
|
||||||
|
fenv_t __env;
|
||||||
|
fegetenv(&__env);
|
||||||
|
*__envp = __env;
|
||||||
|
__env &= ~(FE_ALL_EXCEPT | _FPSCR_ENABLE_MASK);
|
||||||
|
fesetenv(&__env);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static __inline int feupdateenv(const fenv_t* __envp) {
|
||||||
|
fexcept_t __fpscr;
|
||||||
|
fegetenv(&__fpscr);
|
||||||
|
fesetenv(__envp);
|
||||||
|
feraiseexcept(__fpscr & FE_ALL_EXCEPT);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#if __BSD_VISIBLE
|
||||||
|
|
||||||
|
static __inline int feenableexcept(int __mask) {
|
||||||
|
fenv_t __old_fpscr, __new_fpscr;
|
||||||
|
fegetenv(&__old_fpscr);
|
||||||
|
__new_fpscr = __old_fpscr | (__mask & FE_ALL_EXCEPT) << _FPSCR_ENABLE_SHIFT;
|
||||||
|
fesetenv(&__new_fpscr);
|
||||||
|
return ((__old_fpscr >> _FPSCR_ENABLE_SHIFT) & FE_ALL_EXCEPT);
|
||||||
|
}
|
||||||
|
|
||||||
|
static __inline int fedisableexcept(int __mask) {
|
||||||
|
fenv_t __old_fpscr, __new_fpscr;
|
||||||
|
fegetenv(&__old_fpscr);
|
||||||
|
__new_fpscr = __old_fpscr & ~((__mask & FE_ALL_EXCEPT) << _FPSCR_ENABLE_SHIFT);
|
||||||
|
fesetenv(&__new_fpscr);
|
||||||
|
return ((__old_fpscr >> _FPSCR_ENABLE_SHIFT) & FE_ALL_EXCEPT);
|
||||||
|
}
|
||||||
|
|
||||||
|
static __inline int fegetexcept(void) {
|
||||||
|
fenv_t __fpscr;
|
||||||
|
fegetenv(&__fpscr);
|
||||||
|
return ((__fpscr & _FPSCR_ENABLE_MASK) >> _FPSCR_ENABLE_SHIFT);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /* __BSD_VISIBLE */
|
||||||
|
|
||||||
|
__END_DECLS
|
||||||
|
|
||||||
|
#endif /* !_FENV_H_ */
|
||||||
128
ndk/platforms/android-20/arch-arm64/include/machine/asm.h
Normal file
128
ndk/platforms/android-20/arch-arm64/include/machine/asm.h
Normal file
@@ -0,0 +1,128 @@
|
|||||||
|
/* $OpenBSD: asm.h,v 1.1 2004/02/01 05:09:49 drahn Exp $ */
|
||||||
|
/* $NetBSD: asm.h,v 1.4 2001/07/16 05:43:32 matt Exp $ */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (c) 1990 The Regents of the University of California.
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This code is derived from software contributed to Berkeley by
|
||||||
|
* William Jolitz.
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
* 3. Neither the name of the University nor the names of its contributors
|
||||||
|
* may be used to endorse or promote products derived from this software
|
||||||
|
* without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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.
|
||||||
|
*
|
||||||
|
* from: @(#)asm.h 5.5 (Berkeley) 5/7/91
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _AARCH64_ASM_H_
|
||||||
|
#define _AARCH64_ASM_H_
|
||||||
|
|
||||||
|
/* TODO: Add cfi directives for creating/restoring FP */
|
||||||
|
#ifdef __ELF__
|
||||||
|
# define _C_LABEL(x) x
|
||||||
|
#else
|
||||||
|
# ifdef __STDC__
|
||||||
|
# define _C_LABEL(x) _ ## x
|
||||||
|
# else
|
||||||
|
# define _C_LABEL(x) _/**/x
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
#define _ASM_LABEL(x) x
|
||||||
|
|
||||||
|
#ifdef __STDC__
|
||||||
|
# define __CONCAT(x,y) x ## y
|
||||||
|
# define __STRING(x) #x
|
||||||
|
#else
|
||||||
|
# define __CONCAT(x,y) x/**/y
|
||||||
|
# define __STRING(x) "x"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef _ALIGN_TEXT
|
||||||
|
# define _ALIGN_TEXT .align 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define _ASM_TYPE_FUNCTION %function
|
||||||
|
#define _ASM_TYPE_OBJECT %object
|
||||||
|
#define _ENTRY(x) \
|
||||||
|
.text; _ALIGN_TEXT; .globl x; .type x,_ASM_TYPE_FUNCTION; x: .cfi_startproc
|
||||||
|
|
||||||
|
#define _ASM_SIZE(x) .size x, .-x;
|
||||||
|
|
||||||
|
#define _END(x) \
|
||||||
|
.cfi_endproc; \
|
||||||
|
_ASM_SIZE(x)
|
||||||
|
|
||||||
|
#define ENTRY(y) _ENTRY(_C_LABEL(y));
|
||||||
|
#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
|
||||||
|
|
||||||
|
#if defined(__ELF__) && defined(PIC)
|
||||||
|
#ifdef __STDC__
|
||||||
|
#define PIC_SYM(x,y) x ## ( ## y ## )
|
||||||
|
#else
|
||||||
|
#define PIC_SYM(x,y) x/**/(/**/y/**/)
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
|
#define PIC_SYM(x,y) x
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __ELF__
|
||||||
|
#define RCSID(x) .section ".ident"; .asciz x
|
||||||
|
#else
|
||||||
|
#define RCSID(x) .text; .asciz x
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __ELF__
|
||||||
|
#define WEAK_ALIAS(alias,sym) \
|
||||||
|
.weak alias; \
|
||||||
|
alias = sym
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __STDC__
|
||||||
|
#define WARN_REFERENCES(sym,msg) \
|
||||||
|
.stabs msg ## ,30,0,0,0 ; \
|
||||||
|
.stabs __STRING(_C_LABEL(sym)) ## ,1,0,0,0
|
||||||
|
#elif defined(__ELF__)
|
||||||
|
#define WARN_REFERENCES(sym,msg) \
|
||||||
|
.stabs msg,30,0,0,0 ; \
|
||||||
|
.stabs __STRING(sym),1,0,0,0
|
||||||
|
#else
|
||||||
|
#define WARN_REFERENCES(sym,msg) \
|
||||||
|
.stabs msg,30,0,0,0 ; \
|
||||||
|
.stabs __STRING(_/**/sym),1,0,0,0
|
||||||
|
#endif /* __STDC__ */
|
||||||
|
|
||||||
|
#endif /* _AARCH64_ASM_H_ */
|
||||||
|
|
||||||
@@ -0,0 +1,105 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2013 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 _AARCH64_ELF_MACHDEP_H_
|
||||||
|
#define _AARCH64_ELF_MACHDEP_H_
|
||||||
|
|
||||||
|
#if defined(__AARCH64EB__)
|
||||||
|
#define ELF64_MACHDEP_ENDIANNESS ELFDATA2MSB
|
||||||
|
#else
|
||||||
|
#define ELF64_MACHDEP_ENDIANNESS ELFDATA2LSB
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define ELF64_MACHDEP_ID_CASES \
|
||||||
|
case EM_AARCH64: \
|
||||||
|
break;
|
||||||
|
|
||||||
|
#define ELF64_MACHDEP_ID EM_AARCH64
|
||||||
|
|
||||||
|
#define ARCH_ELFSIZE 64 /* MD native binary size */
|
||||||
|
|
||||||
|
/* Null relocations */
|
||||||
|
#define R_ARM_NONE 0
|
||||||
|
#define R_AARCH64_NONE 256
|
||||||
|
|
||||||
|
/* Static Data relocations */
|
||||||
|
#define R_AARCH64_ABS64 257
|
||||||
|
#define R_AARCH64_ABS32 258
|
||||||
|
#define R_AARCH64_ABS16 259
|
||||||
|
#define R_AARCH64_PREL64 260
|
||||||
|
#define R_AARCH64_PREL32 261
|
||||||
|
#define R_AARCH64_PREL16 262
|
||||||
|
|
||||||
|
#define R_AARCH64_MOVW_UABS_G0 263
|
||||||
|
#define R_AARCH64_MOVW_UABS_G0_NC 264
|
||||||
|
#define R_AARCH64_MOVW_UABS_G1 265
|
||||||
|
#define R_AARCH64_MOVW_UABS_G1_NC 266
|
||||||
|
#define R_AARCH64_MOVW_UABS_G2 267
|
||||||
|
#define R_AARCH64_MOVW_UABS_G2_NC 268
|
||||||
|
#define R_AARCH64_MOVW_UABS_G3 269
|
||||||
|
#define R_AARCH64_MOVW_SABS_G0 270
|
||||||
|
#define R_AARCH64_MOVW_SABS_G1 271
|
||||||
|
#define R_AARCH64_MOVW_SABS_G2 272
|
||||||
|
|
||||||
|
/* PC-relative addresses */
|
||||||
|
#define R_AARCH64_LD_PREL_LO19 273
|
||||||
|
#define R_AARCH64_ADR_PREL_LO21 274
|
||||||
|
#define R_AARCH64_ADR_PREL_PG_HI21 275
|
||||||
|
#define R_AARCH64_ADR_PREL_PG_HI21_NC 276
|
||||||
|
#define R_AARCH64_ADD_ABS_LO12_NC 277
|
||||||
|
#define R_AARCH64_LDST8_ABS_LO12_NC 278
|
||||||
|
|
||||||
|
/* Control-flow relocations */
|
||||||
|
#define R_AARCH64_TSTBR14 279
|
||||||
|
#define R_AARCH64_CONDBR19 280
|
||||||
|
#define R_AARCH64_JUMP26 282
|
||||||
|
#define R_AARCH64_CALL26 283
|
||||||
|
#define R_AARCH64_LDST16_ABS_LO12_NC 284
|
||||||
|
#define R_AARCH64_LDST32_ABS_LO12_NC 285
|
||||||
|
#define R_AARCH64_LDST64_ABS_LO12_NC 286
|
||||||
|
#define R_AARCH64_LDST128_ABS_LO12_NC 299
|
||||||
|
|
||||||
|
#define R_AARCH64_MOVW_PREL_G0 287
|
||||||
|
#define R_AARCH64_MOVW_PREL_G0_NC 288
|
||||||
|
#define R_AARCH64_MOVW_PREL_G1 289
|
||||||
|
#define R_AARCH64_MOVW_PREL_G1_NC 290
|
||||||
|
#define R_AARCH64_MOVW_PREL_G2 291
|
||||||
|
#define R_AARCH64_MOVW_PREL_G2_NC 292
|
||||||
|
#define R_AARCH64_MOVW_PREL_G3 293
|
||||||
|
|
||||||
|
/* Dynamic relocations */
|
||||||
|
#define R_AARCH64_COPY 1024
|
||||||
|
#define R_AARCH64_GLOB_DAT 1025 /* Create GOT entry. */
|
||||||
|
#define R_AARCH64_JUMP_SLOT 1026 /* Create PLT entry. */
|
||||||
|
#define R_AARCH64_RELATIVE 1027 /* Adjust by program base. */
|
||||||
|
#define R_AARCH64_TLS_TPREL64 1030
|
||||||
|
#define R_AARCH64_TLS_DTPREL32 1031
|
||||||
|
|
||||||
|
#define R_TYPE(name) __CONCAT(R_AARCH64_,name)
|
||||||
|
|
||||||
|
#endif /* _AARCH64_ELF_MACHDEP_H_ */
|
||||||
58
ndk/platforms/android-20/arch-arm64/include/machine/endian.h
Normal file
58
ndk/platforms/android-20/arch-arm64/include/machine/endian.h
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2013 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 _AARCH64_ENDIAN_H_
|
||||||
|
#define _AARCH64_ENDIAN_H_
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/endian.h>
|
||||||
|
|
||||||
|
#ifdef __GNUC__
|
||||||
|
|
||||||
|
#define __swap16md(x) ({ \
|
||||||
|
register u_int16_t _x = (x); \
|
||||||
|
__asm volatile ("rev16 %0, %0" : "+r" (_x)); \
|
||||||
|
_x; \
|
||||||
|
})
|
||||||
|
|
||||||
|
/* Use GCC builtins */
|
||||||
|
#define __swap32md(x) __builtin_bswap32(x)
|
||||||
|
#define __swap64md(x) __builtin_bswap64(x)
|
||||||
|
|
||||||
|
/* Tell sys/endian.h we have MD variants of the swap macros. */
|
||||||
|
#define MD_SWAP
|
||||||
|
|
||||||
|
#endif /* __GNUC__ */
|
||||||
|
|
||||||
|
#if defined(__AARCH64EB__)
|
||||||
|
#define _BYTE_ORDER _BIG_ENDIAN
|
||||||
|
#else
|
||||||
|
#define _BYTE_ORDER _LITTLE_ENDIAN
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* _AARCH64_ENDIAN_H_ */
|
||||||
50
ndk/platforms/android-20/arch-arm64/include/machine/exec.h
Normal file
50
ndk/platforms/android-20/arch-arm64/include/machine/exec.h
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
/* $OpenBSD: exec.h,v 1.9 2003/04/17 03:42:14 drahn Exp $ */
|
||||||
|
/* $NetBSD: exec.h,v 1.6 1994/10/27 04:16:05 cgd Exp $ */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (c) 1993 Christopher G. Demetriou
|
||||||
|
* 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.
|
||||||
|
* 3. The name of the author may not be used to endorse or promote products
|
||||||
|
* derived from this software without specific prior written permission
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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 _AARCH64_EXEC_H_
|
||||||
|
#define _AARCH64_EXEC_H_
|
||||||
|
|
||||||
|
#define __LDPGSZ 4096
|
||||||
|
|
||||||
|
#define NATIVE_EXEC_ELF
|
||||||
|
|
||||||
|
#define ARCH_ELFSIZE 64
|
||||||
|
|
||||||
|
#define ELF_TARG_CLASS ELFCLASS64 /* 64-bit objects */
|
||||||
|
#define ELF_TARG_DATA ELFDATA2LSB
|
||||||
|
#define ELF_TARG_MACH EM_AARCH64
|
||||||
|
|
||||||
|
#define _NLIST_DO_AOUT
|
||||||
|
#define _NLIST_DO_ELF
|
||||||
|
|
||||||
|
#define _KERN_DO_AOUT
|
||||||
|
#define _KERN_DO_ELF64
|
||||||
|
|
||||||
|
#endif /* _AARCH64_EXEC_H_ */
|
||||||
191
ndk/platforms/android-20/arch-arm64/include/machine/ieee.h
Normal file
191
ndk/platforms/android-20/arch-arm64/include/machine/ieee.h
Normal file
@@ -0,0 +1,191 @@
|
|||||||
|
/* $OpenBSD: ieee.h,v 1.1 2004/02/01 05:09:49 drahn Exp $ */
|
||||||
|
/* $NetBSD: ieee.h,v 1.2 2001/02/21 17:43:50 bjh21 Exp $ */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (c) 1992, 1993
|
||||||
|
* The Regents of the University of California. All rights reserved.
|
||||||
|
*
|
||||||
|
* This software was developed by the Computer Systems Engineering group
|
||||||
|
* at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
|
||||||
|
* contributed to Berkeley.
|
||||||
|
*
|
||||||
|
* All advertising materials mentioning features or use of this software
|
||||||
|
* must display the following acknowledgement:
|
||||||
|
* This product includes software developed by the University of
|
||||||
|
* California, Lawrence Berkeley Laboratory.
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
* 3. All advertising materials mentioning features or use of this software
|
||||||
|
* must display the following acknowledgement:
|
||||||
|
* This product includes software developed by the University of
|
||||||
|
* California, Berkeley and its contributors.
|
||||||
|
* 4. Neither the name of the University nor the names of its contributors
|
||||||
|
* may be used to endorse or promote products derived from this software
|
||||||
|
* without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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.
|
||||||
|
*
|
||||||
|
* @(#)ieee.h 8.1 (Berkeley) 6/11/93
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ieee.h defines the machine-dependent layout of the machine's IEEE
|
||||||
|
* floating point.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Define the number of bits in each fraction and exponent.
|
||||||
|
*
|
||||||
|
* k k+1
|
||||||
|
* Note that 1.0 x 2 == 0.1 x 2 and that denorms are represented
|
||||||
|
*
|
||||||
|
* (-exp_bias+1)
|
||||||
|
* as fractions that look like 0.fffff x 2 . This means that
|
||||||
|
*
|
||||||
|
* -126
|
||||||
|
* the number 0.10000 x 2 , for instance, is the same as the normalized
|
||||||
|
*
|
||||||
|
* -127 -128
|
||||||
|
* float 1.0 x 2 . Thus, to represent 2 , we need one leading zero
|
||||||
|
*
|
||||||
|
* -129
|
||||||
|
* in the fraction; to represent 2 , we need two, and so on. This
|
||||||
|
*
|
||||||
|
* (-exp_bias-fracbits+1)
|
||||||
|
* implies that the smallest denormalized number is 2
|
||||||
|
*
|
||||||
|
* for whichever format we are talking about: for single precision, for
|
||||||
|
*
|
||||||
|
* -126 -149
|
||||||
|
* instance, we get .00000000000000000000001 x 2 , or 1.0 x 2 , and
|
||||||
|
*
|
||||||
|
* -149 == -127 - 23 + 1.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The ARM has two sets of FP data formats. The FPA supports 32-bit, 64-bit
|
||||||
|
* and 96-bit IEEE formats, with the words in big-endian order. VFP supports
|
||||||
|
* 32-bin and 64-bit IEEE formats with the words in the CPU's native byte
|
||||||
|
* order.
|
||||||
|
*
|
||||||
|
* The FPA also has two packed decimal formats, but we ignore them here.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define SNG_EXPBITS 8
|
||||||
|
#define SNG_FRACBITS 23
|
||||||
|
|
||||||
|
#define DBL_EXPBITS 11
|
||||||
|
#define DBL_FRACBITS 52
|
||||||
|
|
||||||
|
#ifndef __VFP_FP__
|
||||||
|
#define E80_EXPBITS 15
|
||||||
|
#define E80_FRACBITS 64
|
||||||
|
|
||||||
|
#define EXT_EXPBITS 15
|
||||||
|
#define EXT_FRACBITS 112
|
||||||
|
#endif
|
||||||
|
|
||||||
|
struct ieee_single {
|
||||||
|
u_int sng_frac:23;
|
||||||
|
u_int sng_exponent:8;
|
||||||
|
u_int sng_sign:1;
|
||||||
|
};
|
||||||
|
|
||||||
|
#ifdef __VFP_FP__
|
||||||
|
struct ieee_double {
|
||||||
|
#ifdef __AARCH64EB__
|
||||||
|
u_int dbl_sign:1;
|
||||||
|
u_int dbl_exp:11;
|
||||||
|
u_int dbl_frach:20;
|
||||||
|
u_int dbl_fracl;
|
||||||
|
#else /* !__AARCH64EB__ */
|
||||||
|
u_int dbl_fracl;
|
||||||
|
u_int dbl_frach:20;
|
||||||
|
u_int dbl_exp:11;
|
||||||
|
u_int dbl_sign:1;
|
||||||
|
#endif /* !__AARCH64EB__ */
|
||||||
|
};
|
||||||
|
#else /* !__VFP_FP__ */
|
||||||
|
struct ieee_double {
|
||||||
|
u_int dbl_frach:20;
|
||||||
|
u_int dbl_exp:11;
|
||||||
|
u_int dbl_sign:1;
|
||||||
|
u_int dbl_fracl;
|
||||||
|
};
|
||||||
|
|
||||||
|
union ieee_double_u {
|
||||||
|
double dblu_d;
|
||||||
|
struct ieee_double dblu_dbl;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
struct ieee_e80 {
|
||||||
|
u_int e80_exp:15;
|
||||||
|
u_int e80_zero:16;
|
||||||
|
u_int e80_sign:1;
|
||||||
|
u_int e80_frach:31;
|
||||||
|
u_int e80_j:1;
|
||||||
|
u_int e80_fracl;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct ieee_ext {
|
||||||
|
u_int ext_frach:16;
|
||||||
|
u_int ext_exp:15;
|
||||||
|
u_int ext_sign:1;
|
||||||
|
u_int ext_frachm;
|
||||||
|
u_int ext_fraclm;
|
||||||
|
u_int ext_fracl;
|
||||||
|
};
|
||||||
|
#endif /* !__VFP_FP__ */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Floats whose exponent is in [1..INFNAN) (of whatever type) are
|
||||||
|
* `normal'. Floats whose exponent is INFNAN are either Inf or NaN.
|
||||||
|
* Floats whose exponent is zero are either zero (iff all fraction
|
||||||
|
* bits are zero) or subnormal values.
|
||||||
|
*
|
||||||
|
* A NaN is a `signalling NaN' if its QUIETNAN bit is clear in its
|
||||||
|
* high fraction; if the bit is set, it is a `quiet NaN'.
|
||||||
|
*/
|
||||||
|
#define SNG_EXP_INFNAN 255
|
||||||
|
#define DBL_EXP_INFNAN 2047
|
||||||
|
#ifndef __VFP_FP__
|
||||||
|
#define E80_EXP_INFNAN 32767
|
||||||
|
#define EXT_EXP_INFNAN 32767
|
||||||
|
#endif /* !__VFP_FP__ */
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
#define SNG_QUIETNAN (1 << 22)
|
||||||
|
#define DBL_QUIETNAN (1 << 19)
|
||||||
|
#ifndef __VFP_FP__
|
||||||
|
#define E80_QUIETNAN (1 << 15)
|
||||||
|
#define EXT_QUIETNAN (1 << 15)
|
||||||
|
#endif /* !__VFP_FP__ */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Exponent biases.
|
||||||
|
*/
|
||||||
|
#define SNG_EXP_BIAS 127
|
||||||
|
#define DBL_EXP_BIAS 1023
|
||||||
|
#ifndef __VFP_FP__
|
||||||
|
#define E80_EXP_BIAS 16383
|
||||||
|
#define EXT_EXP_BIAS 16383
|
||||||
|
#endif /* !__VFP_FP__ */
|
||||||
62
ndk/platforms/android-20/arch-arm64/include/machine/limits.h
Normal file
62
ndk/platforms/android-20/arch-arm64/include/machine/limits.h
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
/* $OpenBSD: limits.h,v 1.3 2006/01/06 22:48:46 millert Exp $ */
|
||||||
|
/* $NetBSD: limits.h,v 1.4 2003/04/28 23:16:18 bjh21 Exp $ */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (c) 1988 The Regents of the University of California.
|
||||||
|
* 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.
|
||||||
|
* 3. Neither the name of the University nor the names of its contributors
|
||||||
|
* may be used to endorse or promote products derived from this software
|
||||||
|
* without specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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.
|
||||||
|
*
|
||||||
|
* from: @(#)limits.h 7.2 (Berkeley) 6/28/90
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _AARCH64_LIMITS_H_
|
||||||
|
#define _AARCH64_LIMITS_H_
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
|
#define MB_LEN_MAX 1 /* no multibyte characters */
|
||||||
|
|
||||||
|
#define LONGLONG_BIT 64
|
||||||
|
#define LONGLONG_MIN (-9223372036854775807LL-1)
|
||||||
|
#define LONGLONG_MAX 9223372036854775807LL
|
||||||
|
#define ULONGLONG_MAX 18446744073709551615ULL
|
||||||
|
|
||||||
|
#ifndef SIZE_MAX
|
||||||
|
#define SIZE_MAX ULONGLONG_MAX /* max value for a size_t */
|
||||||
|
#endif
|
||||||
|
#ifndef SSIZE_MAX
|
||||||
|
#define SSIZE_MAX LONGLONG_MAX /* max value for a ssize_t */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if __BSD_VISIBLE
|
||||||
|
#define SIZE_T_MAX ULONG_MAX /* max value for a size_t (historic) */
|
||||||
|
|
||||||
|
#define UQUAD_MAX 0xffffffffffffffffULL /* max unsigned quad */
|
||||||
|
#define QUAD_MAX 0x7fffffffffffffffLL /* max signed quad */
|
||||||
|
#define QUAD_MIN (-0x7fffffffffffffffLL-1) /* min signed quad */
|
||||||
|
|
||||||
|
#endif /* __BSD_VISIBLE */
|
||||||
|
#endif /* _AARCH64_LIMITS_H_ */
|
||||||
73
ndk/platforms/android-20/arch-arm64/include/machine/setjmp.h
Normal file
73
ndk/platforms/android-20/arch-arm64/include/machine/setjmp.h
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2013 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* _JBLEN is the size of a jmp_buf in longs(64bit on AArch64) */
|
||||||
|
#define _JBLEN 32
|
||||||
|
|
||||||
|
/* According to AARCH64 PCS document we need to save the following
|
||||||
|
* registers:
|
||||||
|
*
|
||||||
|
* Core x19 - x30, sp (see section 5.1.1)
|
||||||
|
* VFP d8 - d15 (see section 5.1.2)
|
||||||
|
*
|
||||||
|
* NOTE: All the registers saved here will have 64bit vales (except FPSR).
|
||||||
|
* AAPCS mandates that the higher part of q registers does not need to
|
||||||
|
* be saveved by the callee.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* The structure of jmp_buf for AArch64:
|
||||||
|
*
|
||||||
|
* NOTE: _JBLEN is the size of jmp_buf in longs(64bit on AArch64)! The table
|
||||||
|
* below computes the offsets in words(32bit).
|
||||||
|
*
|
||||||
|
* word name description
|
||||||
|
* 0 magic magic number
|
||||||
|
* 1 sigmask signal mask (not used with _setjmp / _longjmp)
|
||||||
|
* 2 core_base base of core registers (x19-x30, sp)
|
||||||
|
* 28 float_base base of float registers (d8-d15)
|
||||||
|
* 44 reserved reserved entries (room to grow)
|
||||||
|
* 64
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* NOTE: The instructions that load/store core/vfp registers expect 8-byte
|
||||||
|
* alignment. Contrary to the previous setjmp header for ARM we do not
|
||||||
|
* need to save status/control registers for VFP (it is not a
|
||||||
|
* requirement for setjmp).
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define _JB_MAGIC 0
|
||||||
|
#define _JB_SIGMASK (_JB_MAGIC+1)
|
||||||
|
#define _JB_CORE_BASE (_JB_SIGMASK+1)
|
||||||
|
#define _JB_FLOAT_BASE (_JB_CORE_BASE + (31-19+1)*2)
|
||||||
|
|
||||||
|
#define _JB_MAGIC__SETJMP 0x53657200
|
||||||
|
#define _JB_MAGIC_SETJMP 0x53657201
|
||||||
BIN
ndk/platforms/android-20/arch-arm64/lib/libc.a
Normal file
BIN
ndk/platforms/android-20/arch-arm64/lib/libc.a
Normal file
Binary file not shown.
BIN
ndk/platforms/android-20/arch-arm64/lib/libm.a
Normal file
BIN
ndk/platforms/android-20/arch-arm64/lib/libm.a
Normal file
Binary file not shown.
BIN
ndk/platforms/android-20/arch-arm64/lib/libstdc++.a
Normal file
BIN
ndk/platforms/android-20/arch-arm64/lib/libstdc++.a
Normal file
Binary file not shown.
BIN
ndk/platforms/android-20/arch-arm64/lib/libz.a
Normal file
BIN
ndk/platforms/android-20/arch-arm64/lib/libz.a
Normal file
Binary file not shown.
@@ -0,0 +1,39 @@
|
|||||||
|
eglBindAPI
|
||||||
|
eglBindTexImage
|
||||||
|
eglChooseConfig
|
||||||
|
eglCopyBuffers
|
||||||
|
eglCreateContext
|
||||||
|
eglCreateImageKHR
|
||||||
|
eglCreatePbufferFromClientBuffer
|
||||||
|
eglCreatePbufferSurface
|
||||||
|
eglCreatePixmapSurface
|
||||||
|
eglCreateWindowSurface
|
||||||
|
eglDestroyContext
|
||||||
|
eglDestroyImageKHR
|
||||||
|
eglDestroySurface
|
||||||
|
eglGetConfigAttrib
|
||||||
|
eglGetConfigs
|
||||||
|
eglGetCurrentContext
|
||||||
|
eglGetCurrentDisplay
|
||||||
|
eglGetCurrentSurface
|
||||||
|
eglGetDisplay
|
||||||
|
eglGetError
|
||||||
|
eglGetProcAddress
|
||||||
|
eglInitialize
|
||||||
|
eglLockSurfaceKHR
|
||||||
|
eglMakeCurrent
|
||||||
|
eglQueryAPI
|
||||||
|
eglQueryContext
|
||||||
|
eglQueryString
|
||||||
|
eglQuerySurface
|
||||||
|
eglReleaseTexImage
|
||||||
|
eglReleaseThread
|
||||||
|
eglSetSwapRectangleANDROID
|
||||||
|
eglSurfaceAttrib
|
||||||
|
eglSwapBuffers
|
||||||
|
eglSwapInterval
|
||||||
|
eglTerminate
|
||||||
|
eglUnlockSurfaceKHR
|
||||||
|
eglWaitClient
|
||||||
|
eglWaitGL
|
||||||
|
eglWaitNative
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
@@ -0,0 +1,278 @@
|
|||||||
|
glActiveTexture
|
||||||
|
glAlphaFunc
|
||||||
|
glAlphaFuncx
|
||||||
|
glAlphaFuncxOES
|
||||||
|
glBindBuffer
|
||||||
|
glBindFramebufferOES
|
||||||
|
glBindRenderbufferOES
|
||||||
|
glBindTexture
|
||||||
|
glBindVertexArrayOES
|
||||||
|
glBlendEquationOES
|
||||||
|
glBlendEquationSeparateOES
|
||||||
|
glBlendFunc
|
||||||
|
glBlendFuncSeparateOES
|
||||||
|
glBufferData
|
||||||
|
glBufferSubData
|
||||||
|
glCheckFramebufferStatusOES
|
||||||
|
glClear
|
||||||
|
glClearColor
|
||||||
|
glClearColorx
|
||||||
|
glClearColorxOES
|
||||||
|
glClearDepthf
|
||||||
|
glClearDepthfOES
|
||||||
|
glClearDepthx
|
||||||
|
glClearDepthxOES
|
||||||
|
glClearStencil
|
||||||
|
glClientActiveTexture
|
||||||
|
glClipPlanef
|
||||||
|
glClipPlanefIMG
|
||||||
|
glClipPlanefOES
|
||||||
|
glClipPlanex
|
||||||
|
glClipPlanexIMG
|
||||||
|
glClipPlanexOES
|
||||||
|
glColor4f
|
||||||
|
glColor4ub
|
||||||
|
glColor4x
|
||||||
|
glColor4xOES
|
||||||
|
glColorMask
|
||||||
|
glColorPointer
|
||||||
|
glColorPointerBounds
|
||||||
|
glCompressedTexImage2D
|
||||||
|
glCompressedTexSubImage2D
|
||||||
|
glCopyTexImage2D
|
||||||
|
glCopyTexSubImage2D
|
||||||
|
glCullFace
|
||||||
|
glCurrentPaletteMatrixOES
|
||||||
|
glDeleteBuffers
|
||||||
|
glDeleteFencesNV
|
||||||
|
glDeleteFramebuffersOES
|
||||||
|
glDeleteRenderbuffersOES
|
||||||
|
glDeleteTextures
|
||||||
|
glDeleteVertexArraysOES
|
||||||
|
glDepthFunc
|
||||||
|
glDepthMask
|
||||||
|
glDepthRangef
|
||||||
|
glDepthRangefOES
|
||||||
|
glDepthRangex
|
||||||
|
glDepthRangexOES
|
||||||
|
glDisable
|
||||||
|
glDisableClientState
|
||||||
|
glDisableDriverControlQCOM
|
||||||
|
glDiscardFramebufferEXT
|
||||||
|
glDrawArrays
|
||||||
|
glDrawElements
|
||||||
|
glDrawTexfOES
|
||||||
|
glDrawTexfvOES
|
||||||
|
glDrawTexiOES
|
||||||
|
glDrawTexivOES
|
||||||
|
glDrawTexsOES
|
||||||
|
glDrawTexsvOES
|
||||||
|
glDrawTexxOES
|
||||||
|
glDrawTexxvOES
|
||||||
|
glEGLImageTargetRenderbufferStorageOES
|
||||||
|
glEGLImageTargetTexture2DOES
|
||||||
|
glEnable
|
||||||
|
glEnableClientState
|
||||||
|
glEnableDriverControlQCOM
|
||||||
|
glEndTilingQCOM
|
||||||
|
glExtGetBufferPointervQCOM
|
||||||
|
glExtGetBuffersQCOM
|
||||||
|
glExtGetFramebuffersQCOM
|
||||||
|
glExtGetProgramBinarySourceQCOM
|
||||||
|
glExtGetProgramsQCOM
|
||||||
|
glExtGetRenderbuffersQCOM
|
||||||
|
glExtGetShadersQCOM
|
||||||
|
glExtGetTexLevelParameterivQCOM
|
||||||
|
glExtGetTexSubImageQCOM
|
||||||
|
glExtGetTexturesQCOM
|
||||||
|
glExtIsProgramBinaryQCOM
|
||||||
|
glExtTexObjectStateOverrideiQCOM
|
||||||
|
glFinish
|
||||||
|
glFinishFenceNV
|
||||||
|
glFlush
|
||||||
|
glFogf
|
||||||
|
glFogfv
|
||||||
|
glFogx
|
||||||
|
glFogxOES
|
||||||
|
glFogxv
|
||||||
|
glFogxvOES
|
||||||
|
glFramebufferRenderbufferOES
|
||||||
|
glFramebufferTexture2DMultisampleIMG
|
||||||
|
glFramebufferTexture2DOES
|
||||||
|
glFrontFace
|
||||||
|
glFrustumf
|
||||||
|
glFrustumfOES
|
||||||
|
glFrustumx
|
||||||
|
glFrustumxOES
|
||||||
|
glGenBuffers
|
||||||
|
glGenFencesNV
|
||||||
|
glGenFramebuffersOES
|
||||||
|
glGenRenderbuffersOES
|
||||||
|
glGenTextures
|
||||||
|
glGenVertexArraysOES
|
||||||
|
glGenerateMipmapOES
|
||||||
|
glGetBooleanv
|
||||||
|
glGetBufferParameteriv
|
||||||
|
glGetBufferPointervOES
|
||||||
|
glGetClipPlanef
|
||||||
|
glGetClipPlanefOES
|
||||||
|
glGetClipPlanex
|
||||||
|
glGetClipPlanexOES
|
||||||
|
glGetDriverControlStringQCOM
|
||||||
|
glGetDriverControlsQCOM
|
||||||
|
glGetError
|
||||||
|
glGetFenceivNV
|
||||||
|
glGetFixedv
|
||||||
|
glGetFixedvOES
|
||||||
|
glGetFloatv
|
||||||
|
glGetFramebufferAttachmentParameterivOES
|
||||||
|
glGetIntegerv
|
||||||
|
glGetLightfv
|
||||||
|
glGetLightxv
|
||||||
|
glGetLightxvOES
|
||||||
|
glGetMaterialfv
|
||||||
|
glGetMaterialxv
|
||||||
|
glGetMaterialxvOES
|
||||||
|
glGetPointerv
|
||||||
|
glGetRenderbufferParameterivOES
|
||||||
|
glGetString
|
||||||
|
glGetTexEnvfv
|
||||||
|
glGetTexEnviv
|
||||||
|
glGetTexEnvxv
|
||||||
|
glGetTexEnvxvOES
|
||||||
|
glGetTexGenfvOES
|
||||||
|
glGetTexGenivOES
|
||||||
|
glGetTexGenxvOES
|
||||||
|
glGetTexParameterfv
|
||||||
|
glGetTexParameteriv
|
||||||
|
glGetTexParameterxv
|
||||||
|
glGetTexParameterxvOES
|
||||||
|
glHint
|
||||||
|
glIsBuffer
|
||||||
|
glIsEnabled
|
||||||
|
glIsFenceNV
|
||||||
|
glIsFramebufferOES
|
||||||
|
glIsRenderbufferOES
|
||||||
|
glIsTexture
|
||||||
|
glIsVertexArrayOES
|
||||||
|
glLightModelf
|
||||||
|
glLightModelfv
|
||||||
|
glLightModelx
|
||||||
|
glLightModelxOES
|
||||||
|
glLightModelxv
|
||||||
|
glLightModelxvOES
|
||||||
|
glLightf
|
||||||
|
glLightfv
|
||||||
|
glLightx
|
||||||
|
glLightxOES
|
||||||
|
glLightxv
|
||||||
|
glLightxvOES
|
||||||
|
glLineWidth
|
||||||
|
glLineWidthx
|
||||||
|
glLineWidthxOES
|
||||||
|
glLoadIdentity
|
||||||
|
glLoadMatrixf
|
||||||
|
glLoadMatrixx
|
||||||
|
glLoadMatrixxOES
|
||||||
|
glLoadPaletteFromModelViewMatrixOES
|
||||||
|
glLogicOp
|
||||||
|
glMapBufferOES
|
||||||
|
glMaterialf
|
||||||
|
glMaterialfv
|
||||||
|
glMaterialx
|
||||||
|
glMaterialxOES
|
||||||
|
glMaterialxv
|
||||||
|
glMaterialxvOES
|
||||||
|
glMatrixIndexPointerOES
|
||||||
|
glMatrixIndexPointerOESBounds
|
||||||
|
glMatrixMode
|
||||||
|
glMultMatrixf
|
||||||
|
glMultMatrixx
|
||||||
|
glMultMatrixxOES
|
||||||
|
glMultiDrawArraysEXT
|
||||||
|
glMultiDrawElementsEXT
|
||||||
|
glMultiTexCoord4f
|
||||||
|
glMultiTexCoord4x
|
||||||
|
glMultiTexCoord4xOES
|
||||||
|
glNormal3f
|
||||||
|
glNormal3x
|
||||||
|
glNormal3xOES
|
||||||
|
glNormalPointer
|
||||||
|
glNormalPointerBounds
|
||||||
|
glOrthof
|
||||||
|
glOrthofOES
|
||||||
|
glOrthox
|
||||||
|
glOrthoxOES
|
||||||
|
glPixelStorei
|
||||||
|
glPointParameterf
|
||||||
|
glPointParameterfv
|
||||||
|
glPointParameterx
|
||||||
|
glPointParameterxOES
|
||||||
|
glPointParameterxv
|
||||||
|
glPointParameterxvOES
|
||||||
|
glPointSize
|
||||||
|
glPointSizePointerOES
|
||||||
|
glPointSizePointerOESBounds
|
||||||
|
glPointSizex
|
||||||
|
glPointSizexOES
|
||||||
|
glPolygonOffset
|
||||||
|
glPolygonOffsetx
|
||||||
|
glPolygonOffsetxOES
|
||||||
|
glPopMatrix
|
||||||
|
glPushMatrix
|
||||||
|
glQueryMatrixxOES
|
||||||
|
glReadPixels
|
||||||
|
glRenderbufferStorageMultisampleIMG
|
||||||
|
glRenderbufferStorageOES
|
||||||
|
glRotatef
|
||||||
|
glRotatex
|
||||||
|
glRotatexOES
|
||||||
|
glSampleCoverage
|
||||||
|
glSampleCoveragex
|
||||||
|
glSampleCoveragexOES
|
||||||
|
glScalef
|
||||||
|
glScalex
|
||||||
|
glScalexOES
|
||||||
|
glScissor
|
||||||
|
glSetFenceNV
|
||||||
|
glShadeModel
|
||||||
|
glStartTilingQCOM
|
||||||
|
glStencilFunc
|
||||||
|
glStencilMask
|
||||||
|
glStencilOp
|
||||||
|
glTestFenceNV
|
||||||
|
glTexCoordPointer
|
||||||
|
glTexCoordPointerBounds
|
||||||
|
glTexEnvf
|
||||||
|
glTexEnvfv
|
||||||
|
glTexEnvi
|
||||||
|
glTexEnviv
|
||||||
|
glTexEnvx
|
||||||
|
glTexEnvxOES
|
||||||
|
glTexEnvxv
|
||||||
|
glTexEnvxvOES
|
||||||
|
glTexGenfOES
|
||||||
|
glTexGenfvOES
|
||||||
|
glTexGeniOES
|
||||||
|
glTexGenivOES
|
||||||
|
glTexGenxOES
|
||||||
|
glTexGenxvOES
|
||||||
|
glTexImage2D
|
||||||
|
glTexParameterf
|
||||||
|
glTexParameterfv
|
||||||
|
glTexParameteri
|
||||||
|
glTexParameteriv
|
||||||
|
glTexParameterx
|
||||||
|
glTexParameterxOES
|
||||||
|
glTexParameterxv
|
||||||
|
glTexParameterxvOES
|
||||||
|
glTexSubImage2D
|
||||||
|
glTranslatef
|
||||||
|
glTranslatex
|
||||||
|
glTranslatexOES
|
||||||
|
glUnmapBufferOES
|
||||||
|
glVertexPointer
|
||||||
|
glVertexPointerBounds
|
||||||
|
glViewport
|
||||||
|
glWeightPointerOES
|
||||||
|
glWeightPointerOESBounds
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
@@ -0,0 +1,202 @@
|
|||||||
|
glActiveTexture
|
||||||
|
glAttachShader
|
||||||
|
glBeginPerfMonitorAMD
|
||||||
|
glBindAttribLocation
|
||||||
|
glBindBuffer
|
||||||
|
glBindFramebuffer
|
||||||
|
glBindRenderbuffer
|
||||||
|
glBindTexture
|
||||||
|
glBindVertexArrayOES
|
||||||
|
glBlendColor
|
||||||
|
glBlendEquation
|
||||||
|
glBlendEquationSeparate
|
||||||
|
glBlendFunc
|
||||||
|
glBlendFuncSeparate
|
||||||
|
glBufferData
|
||||||
|
glBufferSubData
|
||||||
|
glCheckFramebufferStatus
|
||||||
|
glClear
|
||||||
|
glClearColor
|
||||||
|
glClearDepthf
|
||||||
|
glClearStencil
|
||||||
|
glColorMask
|
||||||
|
glCompileShader
|
||||||
|
glCompressedTexImage2D
|
||||||
|
glCompressedTexImage3DOES
|
||||||
|
glCompressedTexSubImage2D
|
||||||
|
glCompressedTexSubImage3DOES
|
||||||
|
glCopyTexImage2D
|
||||||
|
glCopyTexSubImage2D
|
||||||
|
glCopyTexSubImage3DOES
|
||||||
|
glCoverageMaskNV
|
||||||
|
glCoverageOperationNV
|
||||||
|
glCreateProgram
|
||||||
|
glCreateShader
|
||||||
|
glCullFace
|
||||||
|
glDeleteBuffers
|
||||||
|
glDeleteFencesNV
|
||||||
|
glDeleteFramebuffers
|
||||||
|
glDeletePerfMonitorsAMD
|
||||||
|
glDeleteProgram
|
||||||
|
glDeleteRenderbuffers
|
||||||
|
glDeleteShader
|
||||||
|
glDeleteTextures
|
||||||
|
glDeleteVertexArraysOES
|
||||||
|
glDepthFunc
|
||||||
|
glDepthMask
|
||||||
|
glDepthRangef
|
||||||
|
glDetachShader
|
||||||
|
glDisable
|
||||||
|
glDisableDriverControlQCOM
|
||||||
|
glDisableVertexAttribArray
|
||||||
|
glDiscardFramebufferEXT
|
||||||
|
glDrawArrays
|
||||||
|
glDrawElements
|
||||||
|
glEGLImageTargetRenderbufferStorageOES
|
||||||
|
glEGLImageTargetTexture2DOES
|
||||||
|
glEnable
|
||||||
|
glEnableDriverControlQCOM
|
||||||
|
glEnableVertexAttribArray
|
||||||
|
glEndPerfMonitorAMD
|
||||||
|
glEndTilingQCOM
|
||||||
|
glExtGetBufferPointervQCOM
|
||||||
|
glExtGetBuffersQCOM
|
||||||
|
glExtGetFramebuffersQCOM
|
||||||
|
glExtGetProgramBinarySourceQCOM
|
||||||
|
glExtGetProgramsQCOM
|
||||||
|
glExtGetRenderbuffersQCOM
|
||||||
|
glExtGetShadersQCOM
|
||||||
|
glExtGetTexLevelParameterivQCOM
|
||||||
|
glExtGetTexSubImageQCOM
|
||||||
|
glExtGetTexturesQCOM
|
||||||
|
glExtIsProgramBinaryQCOM
|
||||||
|
glExtTexObjectStateOverrideiQCOM
|
||||||
|
glFinish
|
||||||
|
glFinishFenceNV
|
||||||
|
glFlush
|
||||||
|
glFramebufferRenderbuffer
|
||||||
|
glFramebufferTexture2D
|
||||||
|
glFramebufferTexture2DMultisampleIMG
|
||||||
|
glFramebufferTexture3DOES
|
||||||
|
glFrontFace
|
||||||
|
glGenBuffers
|
||||||
|
glGenFencesNV
|
||||||
|
glGenFramebuffers
|
||||||
|
glGenPerfMonitorsAMD
|
||||||
|
glGenRenderbuffers
|
||||||
|
glGenTextures
|
||||||
|
glGenVertexArraysOES
|
||||||
|
glGenerateMipmap
|
||||||
|
glGetActiveAttrib
|
||||||
|
glGetActiveUniform
|
||||||
|
glGetAttachedShaders
|
||||||
|
glGetAttribLocation
|
||||||
|
glGetBooleanv
|
||||||
|
glGetBufferParameteriv
|
||||||
|
glGetBufferPointervOES
|
||||||
|
glGetDriverControlStringQCOM
|
||||||
|
glGetDriverControlsQCOM
|
||||||
|
glGetError
|
||||||
|
glGetFenceivNV
|
||||||
|
glGetFloatv
|
||||||
|
glGetFramebufferAttachmentParameteriv
|
||||||
|
glGetIntegerv
|
||||||
|
glGetPerfMonitorCounterDataAMD
|
||||||
|
glGetPerfMonitorCounterInfoAMD
|
||||||
|
glGetPerfMonitorCounterStringAMD
|
||||||
|
glGetPerfMonitorCountersAMD
|
||||||
|
glGetPerfMonitorGroupStringAMD
|
||||||
|
glGetPerfMonitorGroupsAMD
|
||||||
|
glGetProgramBinaryOES
|
||||||
|
glGetProgramInfoLog
|
||||||
|
glGetProgramiv
|
||||||
|
glGetRenderbufferParameteriv
|
||||||
|
glGetShaderInfoLog
|
||||||
|
glGetShaderPrecisionFormat
|
||||||
|
glGetShaderSource
|
||||||
|
glGetShaderiv
|
||||||
|
glGetString
|
||||||
|
glGetTexParameterfv
|
||||||
|
glGetTexParameteriv
|
||||||
|
glGetUniformLocation
|
||||||
|
glGetUniformfv
|
||||||
|
glGetUniformiv
|
||||||
|
glGetVertexAttribPointerv
|
||||||
|
glGetVertexAttribfv
|
||||||
|
glGetVertexAttribiv
|
||||||
|
glHint
|
||||||
|
glIsBuffer
|
||||||
|
glIsEnabled
|
||||||
|
glIsFenceNV
|
||||||
|
glIsFramebuffer
|
||||||
|
glIsProgram
|
||||||
|
glIsRenderbuffer
|
||||||
|
glIsShader
|
||||||
|
glIsTexture
|
||||||
|
glIsVertexArrayOES
|
||||||
|
glLineWidth
|
||||||
|
glLinkProgram
|
||||||
|
glMapBufferOES
|
||||||
|
glMultiDrawArraysEXT
|
||||||
|
glMultiDrawElementsEXT
|
||||||
|
glPixelStorei
|
||||||
|
glPolygonOffset
|
||||||
|
glProgramBinaryOES
|
||||||
|
glReadPixels
|
||||||
|
glReleaseShaderCompiler
|
||||||
|
glRenderbufferStorage
|
||||||
|
glRenderbufferStorageMultisampleIMG
|
||||||
|
glSampleCoverage
|
||||||
|
glScissor
|
||||||
|
glSelectPerfMonitorCountersAMD
|
||||||
|
glSetFenceNV
|
||||||
|
glShaderBinary
|
||||||
|
glShaderSource
|
||||||
|
glStartTilingQCOM
|
||||||
|
glStencilFunc
|
||||||
|
glStencilFuncSeparate
|
||||||
|
glStencilMask
|
||||||
|
glStencilMaskSeparate
|
||||||
|
glStencilOp
|
||||||
|
glStencilOpSeparate
|
||||||
|
glTestFenceNV
|
||||||
|
glTexImage2D
|
||||||
|
glTexImage3DOES
|
||||||
|
glTexParameterf
|
||||||
|
glTexParameterfv
|
||||||
|
glTexParameteri
|
||||||
|
glTexParameteriv
|
||||||
|
glTexSubImage2D
|
||||||
|
glTexSubImage3DOES
|
||||||
|
glUniform1f
|
||||||
|
glUniform1fv
|
||||||
|
glUniform1i
|
||||||
|
glUniform1iv
|
||||||
|
glUniform2f
|
||||||
|
glUniform2fv
|
||||||
|
glUniform2i
|
||||||
|
glUniform2iv
|
||||||
|
glUniform3f
|
||||||
|
glUniform3fv
|
||||||
|
glUniform3i
|
||||||
|
glUniform3iv
|
||||||
|
glUniform4f
|
||||||
|
glUniform4fv
|
||||||
|
glUniform4i
|
||||||
|
glUniform4iv
|
||||||
|
glUniformMatrix2fv
|
||||||
|
glUniformMatrix3fv
|
||||||
|
glUniformMatrix4fv
|
||||||
|
glUnmapBufferOES
|
||||||
|
glUseProgram
|
||||||
|
glValidateProgram
|
||||||
|
glVertexAttrib1f
|
||||||
|
glVertexAttrib1fv
|
||||||
|
glVertexAttrib2f
|
||||||
|
glVertexAttrib2fv
|
||||||
|
glVertexAttrib3f
|
||||||
|
glVertexAttrib3fv
|
||||||
|
glVertexAttrib4f
|
||||||
|
glVertexAttrib4fv
|
||||||
|
glVertexAttribPointer
|
||||||
|
glViewport
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
@@ -0,0 +1,263 @@
|
|||||||
|
glActiveTexture
|
||||||
|
glAttachShader
|
||||||
|
glBeginQuery
|
||||||
|
glBeginTransformFeedback
|
||||||
|
glBindAttribLocation
|
||||||
|
glBindBuffer
|
||||||
|
glBindBufferBase
|
||||||
|
glBindBufferRange
|
||||||
|
glBindFramebuffer
|
||||||
|
glBindRenderbuffer
|
||||||
|
glBindSampler
|
||||||
|
glBindTexture
|
||||||
|
glBindTransformFeedback
|
||||||
|
glBindVertexArray
|
||||||
|
glBindVertexArrayOES
|
||||||
|
glBlendColor
|
||||||
|
glBlendEquation
|
||||||
|
glBlendEquationSeparate
|
||||||
|
glBlendFunc
|
||||||
|
glBlendFuncSeparate
|
||||||
|
glBlitFramebuffer
|
||||||
|
glBufferData
|
||||||
|
glBufferSubData
|
||||||
|
glCheckFramebufferStatus
|
||||||
|
glClear
|
||||||
|
glClearBufferfi
|
||||||
|
glClearBufferfv
|
||||||
|
glClearBufferiv
|
||||||
|
glClearBufferuiv
|
||||||
|
glClearColor
|
||||||
|
glClearDepthf
|
||||||
|
glClearStencil
|
||||||
|
glClientWaitSync
|
||||||
|
glColorMask
|
||||||
|
glCompileShader
|
||||||
|
glCompressedTexImage2D
|
||||||
|
glCompressedTexImage3D
|
||||||
|
glCompressedTexImage3DOES
|
||||||
|
glCompressedTexSubImage2D
|
||||||
|
glCompressedTexSubImage3D
|
||||||
|
glCompressedTexSubImage3DOES
|
||||||
|
glCopyBufferSubData
|
||||||
|
glCopyTexImage2D
|
||||||
|
glCopyTexSubImage2D
|
||||||
|
glCopyTexSubImage3D
|
||||||
|
glCopyTexSubImage3DOES
|
||||||
|
glCreateProgram
|
||||||
|
glCreateShader
|
||||||
|
glCullFace
|
||||||
|
glDeleteBuffers
|
||||||
|
glDeleteFramebuffers
|
||||||
|
glDeleteProgram
|
||||||
|
glDeleteQueries
|
||||||
|
glDeleteRenderbuffers
|
||||||
|
glDeleteSamplers
|
||||||
|
glDeleteShader
|
||||||
|
glDeleteSync
|
||||||
|
glDeleteTextures
|
||||||
|
glDeleteTransformFeedbacks
|
||||||
|
glDeleteVertexArrays
|
||||||
|
glDeleteVertexArraysOES
|
||||||
|
glDepthFunc
|
||||||
|
glDepthMask
|
||||||
|
glDepthRangef
|
||||||
|
glDetachShader
|
||||||
|
glDisable
|
||||||
|
glDisableVertexAttribArray
|
||||||
|
glDrawArrays
|
||||||
|
glDrawArraysInstanced
|
||||||
|
glDrawBuffers
|
||||||
|
glDrawElements
|
||||||
|
glDrawElementsInstanced
|
||||||
|
glDrawRangeElements
|
||||||
|
glEGLImageTargetRenderbufferStorageOES
|
||||||
|
glEGLImageTargetTexture2DOES
|
||||||
|
glEnable
|
||||||
|
glEnableVertexAttribArray
|
||||||
|
glEndQuery
|
||||||
|
glEndTransformFeedback
|
||||||
|
glFenceSync
|
||||||
|
glFinish
|
||||||
|
glFlush
|
||||||
|
glFlushMappedBufferRange
|
||||||
|
glFramebufferRenderbuffer
|
||||||
|
glFramebufferTexture2D
|
||||||
|
glFramebufferTexture3DOES
|
||||||
|
glFramebufferTextureLayer
|
||||||
|
glFrontFace
|
||||||
|
glGenBuffers
|
||||||
|
glGenFramebuffers
|
||||||
|
glGenQueries
|
||||||
|
glGenRenderbuffers
|
||||||
|
glGenSamplers
|
||||||
|
glGenTextures
|
||||||
|
glGenTransformFeedbacks
|
||||||
|
glGenVertexArrays
|
||||||
|
glGenVertexArraysOES
|
||||||
|
glGenerateMipmap
|
||||||
|
glGetActiveAttrib
|
||||||
|
glGetActiveUniform
|
||||||
|
glGetActiveUniformBlockName
|
||||||
|
glGetActiveUniformBlockiv
|
||||||
|
glGetActiveUniformsiv
|
||||||
|
glGetAttachedShaders
|
||||||
|
glGetAttribLocation
|
||||||
|
glGetBooleanv
|
||||||
|
glGetBufferParameteri64v
|
||||||
|
glGetBufferParameteriv
|
||||||
|
glGetBufferPointerv
|
||||||
|
glGetBufferPointervOES
|
||||||
|
glGetError
|
||||||
|
glGetFloatv
|
||||||
|
glGetFragDataLocation
|
||||||
|
glGetFramebufferAttachmentParameteriv
|
||||||
|
glGetInteger64i_v
|
||||||
|
glGetInteger64v
|
||||||
|
glGetIntegeri_v
|
||||||
|
glGetIntegerv
|
||||||
|
glGetInternalformativ
|
||||||
|
glGetProgramBinary
|
||||||
|
glGetProgramBinaryOES
|
||||||
|
glGetProgramInfoLog
|
||||||
|
glGetProgramiv
|
||||||
|
glGetQueryObjectuiv
|
||||||
|
glGetQueryiv
|
||||||
|
glGetRenderbufferParameteriv
|
||||||
|
glGetSamplerParameterfv
|
||||||
|
glGetSamplerParameteriv
|
||||||
|
glGetShaderInfoLog
|
||||||
|
glGetShaderPrecisionFormat
|
||||||
|
glGetShaderSource
|
||||||
|
glGetShaderiv
|
||||||
|
glGetString
|
||||||
|
glGetStringi
|
||||||
|
glGetSynciv
|
||||||
|
glGetTexParameterfv
|
||||||
|
glGetTexParameteriv
|
||||||
|
glGetTransformFeedbackVarying
|
||||||
|
glGetUniformBlockIndex
|
||||||
|
glGetUniformIndices
|
||||||
|
glGetUniformLocation
|
||||||
|
glGetUniformfv
|
||||||
|
glGetUniformiv
|
||||||
|
glGetUniformuiv
|
||||||
|
glGetVertexAttribIiv
|
||||||
|
glGetVertexAttribIuiv
|
||||||
|
glGetVertexAttribPointerv
|
||||||
|
glGetVertexAttribfv
|
||||||
|
glGetVertexAttribiv
|
||||||
|
glHint
|
||||||
|
glInvalidateFramebuffer
|
||||||
|
glInvalidateSubFramebuffer
|
||||||
|
glIsBuffer
|
||||||
|
glIsEnabled
|
||||||
|
glIsFramebuffer
|
||||||
|
glIsProgram
|
||||||
|
glIsQuery
|
||||||
|
glIsRenderbuffer
|
||||||
|
glIsSampler
|
||||||
|
glIsShader
|
||||||
|
glIsSync
|
||||||
|
glIsTexture
|
||||||
|
glIsTransformFeedback
|
||||||
|
glIsVertexArray
|
||||||
|
glIsVertexArrayOES
|
||||||
|
glLineWidth
|
||||||
|
glLinkProgram
|
||||||
|
glMapBufferOES
|
||||||
|
glMapBufferRange
|
||||||
|
glPauseTransformFeedback
|
||||||
|
glPixelStorei
|
||||||
|
glPolygonOffset
|
||||||
|
glProgramBinary
|
||||||
|
glProgramBinaryOES
|
||||||
|
glProgramParameteri
|
||||||
|
glReadBuffer
|
||||||
|
glReadPixels
|
||||||
|
glReleaseShaderCompiler
|
||||||
|
glRenderbufferStorage
|
||||||
|
glRenderbufferStorageMultisample
|
||||||
|
glResumeTransformFeedback
|
||||||
|
glSampleCoverage
|
||||||
|
glSamplerParameterf
|
||||||
|
glSamplerParameterfv
|
||||||
|
glSamplerParameteri
|
||||||
|
glSamplerParameteriv
|
||||||
|
glScissor
|
||||||
|
glShaderBinary
|
||||||
|
glShaderSource
|
||||||
|
glStencilFunc
|
||||||
|
glStencilFuncSeparate
|
||||||
|
glStencilMask
|
||||||
|
glStencilMaskSeparate
|
||||||
|
glStencilOp
|
||||||
|
glStencilOpSeparate
|
||||||
|
glTexImage2D
|
||||||
|
glTexImage3D
|
||||||
|
glTexImage3DOES
|
||||||
|
glTexParameterf
|
||||||
|
glTexParameterfv
|
||||||
|
glTexParameteri
|
||||||
|
glTexParameteriv
|
||||||
|
glTexStorage2D
|
||||||
|
glTexStorage3D
|
||||||
|
glTexSubImage2D
|
||||||
|
glTexSubImage3D
|
||||||
|
glTexSubImage3DOES
|
||||||
|
glTransformFeedbackVaryings
|
||||||
|
glUniform1f
|
||||||
|
glUniform1fv
|
||||||
|
glUniform1i
|
||||||
|
glUniform1iv
|
||||||
|
glUniform1ui
|
||||||
|
glUniform1uiv
|
||||||
|
glUniform2f
|
||||||
|
glUniform2fv
|
||||||
|
glUniform2i
|
||||||
|
glUniform2iv
|
||||||
|
glUniform2ui
|
||||||
|
glUniform2uiv
|
||||||
|
glUniform3f
|
||||||
|
glUniform3fv
|
||||||
|
glUniform3i
|
||||||
|
glUniform3iv
|
||||||
|
glUniform3ui
|
||||||
|
glUniform3uiv
|
||||||
|
glUniform4f
|
||||||
|
glUniform4fv
|
||||||
|
glUniform4i
|
||||||
|
glUniform4iv
|
||||||
|
glUniform4ui
|
||||||
|
glUniform4uiv
|
||||||
|
glUniformBlockBinding
|
||||||
|
glUniformMatrix2fv
|
||||||
|
glUniformMatrix2x3fv
|
||||||
|
glUniformMatrix2x4fv
|
||||||
|
glUniformMatrix3fv
|
||||||
|
glUniformMatrix3x2fv
|
||||||
|
glUniformMatrix3x4fv
|
||||||
|
glUniformMatrix4fv
|
||||||
|
glUniformMatrix4x2fv
|
||||||
|
glUniformMatrix4x3fv
|
||||||
|
glUnmapBuffer
|
||||||
|
glUnmapBufferOES
|
||||||
|
glUseProgram
|
||||||
|
glValidateProgram
|
||||||
|
glVertexAttrib1f
|
||||||
|
glVertexAttrib1fv
|
||||||
|
glVertexAttrib2f
|
||||||
|
glVertexAttrib2fv
|
||||||
|
glVertexAttrib3f
|
||||||
|
glVertexAttrib3fv
|
||||||
|
glVertexAttrib4f
|
||||||
|
glVertexAttrib4fv
|
||||||
|
glVertexAttribDivisor
|
||||||
|
glVertexAttribI4i
|
||||||
|
glVertexAttribI4iv
|
||||||
|
glVertexAttribI4ui
|
||||||
|
glVertexAttribI4uiv
|
||||||
|
glVertexAttribIPointer
|
||||||
|
glVertexAttribPointer
|
||||||
|
glViewport
|
||||||
|
glWaitSync
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
xaCreateEngine
|
||||||
|
xaQueryNumSupportedEngineInterfaces
|
||||||
|
xaQuerySupportedEngineInterfaces
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
XA_IID_ANDROIDBUFFERQUEUESOURCE
|
||||||
|
XA_IID_AUDIODECODERCAPABILITIES
|
||||||
|
XA_IID_AUDIOENCODER
|
||||||
|
XA_IID_AUDIOENCODERCAPABILITIES
|
||||||
|
XA_IID_AUDIOIODEVICECAPABILITIES
|
||||||
|
XA_IID_CAMERA
|
||||||
|
XA_IID_CAMERACAPABILITIES
|
||||||
|
XA_IID_CONFIGEXTENSION
|
||||||
|
XA_IID_DEVICEVOLUME
|
||||||
|
XA_IID_DYNAMICINTERFACEMANAGEMENT
|
||||||
|
XA_IID_DYNAMICSOURCE
|
||||||
|
XA_IID_ENGINE
|
||||||
|
XA_IID_EQUALIZER
|
||||||
|
XA_IID_IMAGECONTROLS
|
||||||
|
XA_IID_IMAGEDECODERCAPABILITIES
|
||||||
|
XA_IID_IMAGEEFFECTS
|
||||||
|
XA_IID_IMAGEENCODER
|
||||||
|
XA_IID_IMAGEENCODERCAPABILITIES
|
||||||
|
XA_IID_LED
|
||||||
|
XA_IID_METADATAEXTRACTION
|
||||||
|
XA_IID_METADATAINSERTION
|
||||||
|
XA_IID_METADATATRAVERSAL
|
||||||
|
XA_IID_NULL
|
||||||
|
XA_IID_OBJECT
|
||||||
|
XA_IID_OUTPUTMIX
|
||||||
|
XA_IID_PLAY
|
||||||
|
XA_IID_PLAYBACKRATE
|
||||||
|
XA_IID_PREFETCHSTATUS
|
||||||
|
XA_IID_RADIO
|
||||||
|
XA_IID_RDS
|
||||||
|
XA_IID_RECORD
|
||||||
|
XA_IID_SEEK
|
||||||
|
XA_IID_SNAPSHOT
|
||||||
|
XA_IID_STREAMINFORMATION
|
||||||
|
XA_IID_THREADSYNC
|
||||||
|
XA_IID_VIBRA
|
||||||
|
XA_IID_VIDEODECODERCAPABILITIES
|
||||||
|
XA_IID_VIDEOENCODER
|
||||||
|
XA_IID_VIDEOENCODERCAPABILITIES
|
||||||
|
XA_IID_VIDEOPOSTPROCESSING
|
||||||
|
XA_IID_VOLUME
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
slCreateEngine
|
||||||
|
slQueryNumSupportedEngineInterfaces
|
||||||
|
slQuerySupportedEngineInterfaces
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
SL_IID_3DCOMMIT
|
||||||
|
SL_IID_3DDOPPLER
|
||||||
|
SL_IID_3DGROUPING
|
||||||
|
SL_IID_3DLOCATION
|
||||||
|
SL_IID_3DMACROSCOPIC
|
||||||
|
SL_IID_3DSOURCE
|
||||||
|
SL_IID_ANDROIDBUFFERQUEUESOURCE
|
||||||
|
SL_IID_ANDROIDCONFIGURATION
|
||||||
|
SL_IID_ANDROIDEFFECT
|
||||||
|
SL_IID_ANDROIDEFFECTCAPABILITIES
|
||||||
|
SL_IID_ANDROIDEFFECTSEND
|
||||||
|
SL_IID_ANDROIDSIMPLEBUFFERQUEUE
|
||||||
|
SL_IID_AUDIODECODERCAPABILITIES
|
||||||
|
SL_IID_AUDIOENCODER
|
||||||
|
SL_IID_AUDIOENCODERCAPABILITIES
|
||||||
|
SL_IID_AUDIOIODEVICECAPABILITIES
|
||||||
|
SL_IID_BASSBOOST
|
||||||
|
SL_IID_BUFFERQUEUE
|
||||||
|
SL_IID_DEVICEVOLUME
|
||||||
|
SL_IID_DYNAMICINTERFACEMANAGEMENT
|
||||||
|
SL_IID_DYNAMICSOURCE
|
||||||
|
SL_IID_EFFECTSEND
|
||||||
|
SL_IID_ENGINE
|
||||||
|
SL_IID_ENGINECAPABILITIES
|
||||||
|
SL_IID_ENVIRONMENTALREVERB
|
||||||
|
SL_IID_EQUALIZER
|
||||||
|
SL_IID_LED
|
||||||
|
SL_IID_METADATAEXTRACTION
|
||||||
|
SL_IID_METADATATRAVERSAL
|
||||||
|
SL_IID_MIDIMESSAGE
|
||||||
|
SL_IID_MIDIMUTESOLO
|
||||||
|
SL_IID_MIDITEMPO
|
||||||
|
SL_IID_MIDITIME
|
||||||
|
SL_IID_MUTESOLO
|
||||||
|
SL_IID_NULL
|
||||||
|
SL_IID_OBJECT
|
||||||
|
SL_IID_OUTPUTMIX
|
||||||
|
SL_IID_PITCH
|
||||||
|
SL_IID_PLAY
|
||||||
|
SL_IID_PLAYBACKRATE
|
||||||
|
SL_IID_PREFETCHSTATUS
|
||||||
|
SL_IID_PRESETREVERB
|
||||||
|
SL_IID_RATEPITCH
|
||||||
|
SL_IID_RECORD
|
||||||
|
SL_IID_SEEK
|
||||||
|
SL_IID_THREADSYNC
|
||||||
|
SL_IID_VIBRA
|
||||||
|
SL_IID_VIRTUALIZER
|
||||||
|
SL_IID_VISUALIZATION
|
||||||
|
SL_IID_VOLUME
|
||||||
@@ -0,0 +1,173 @@
|
|||||||
|
AAsset_close
|
||||||
|
AAssetDir_close
|
||||||
|
AAssetDir_getNextFileName
|
||||||
|
AAssetDir_rewind
|
||||||
|
AAsset_getBuffer
|
||||||
|
AAsset_getLength
|
||||||
|
AAsset_getLength64
|
||||||
|
AAsset_getRemainingLength
|
||||||
|
AAsset_getRemainingLength64
|
||||||
|
AAsset_isAllocated
|
||||||
|
AAssetManager_fromJava
|
||||||
|
AAssetManager_open
|
||||||
|
AAssetManager_openDir
|
||||||
|
AAsset_openFileDescriptor
|
||||||
|
AAsset_openFileDescriptor64
|
||||||
|
AAsset_read
|
||||||
|
AAsset_seek
|
||||||
|
AAsset_seek64
|
||||||
|
AConfiguration_copy
|
||||||
|
AConfiguration_delete
|
||||||
|
AConfiguration_diff
|
||||||
|
AConfiguration_fromAssetManager
|
||||||
|
AConfiguration_getCountry
|
||||||
|
AConfiguration_getDensity
|
||||||
|
AConfiguration_getKeyboard
|
||||||
|
AConfiguration_getKeysHidden
|
||||||
|
AConfiguration_getLanguage
|
||||||
|
AConfiguration_getLayoutDirection
|
||||||
|
AConfiguration_getMcc
|
||||||
|
AConfiguration_getMnc
|
||||||
|
AConfiguration_getNavHidden
|
||||||
|
AConfiguration_getNavigation
|
||||||
|
AConfiguration_getOrientation
|
||||||
|
AConfiguration_getScreenHeightDp
|
||||||
|
AConfiguration_getScreenLong
|
||||||
|
AConfiguration_getScreenSize
|
||||||
|
AConfiguration_getScreenWidthDp
|
||||||
|
AConfiguration_getSdkVersion
|
||||||
|
AConfiguration_getSmallestScreenWidthDp
|
||||||
|
AConfiguration_getTouchscreen
|
||||||
|
AConfiguration_getUiModeNight
|
||||||
|
AConfiguration_getUiModeType
|
||||||
|
AConfiguration_isBetterThan
|
||||||
|
AConfiguration_match
|
||||||
|
AConfiguration_new
|
||||||
|
AConfiguration_setCountry
|
||||||
|
AConfiguration_setDensity
|
||||||
|
AConfiguration_setKeyboard
|
||||||
|
AConfiguration_setKeysHidden
|
||||||
|
AConfiguration_setLanguage
|
||||||
|
AConfiguration_setLayoutDirection
|
||||||
|
AConfiguration_setMcc
|
||||||
|
AConfiguration_setMnc
|
||||||
|
AConfiguration_setNavHidden
|
||||||
|
AConfiguration_setNavigation
|
||||||
|
AConfiguration_setOrientation
|
||||||
|
AConfiguration_setScreenHeightDp
|
||||||
|
AConfiguration_setScreenLong
|
||||||
|
AConfiguration_setScreenSize
|
||||||
|
AConfiguration_setScreenWidthDp
|
||||||
|
AConfiguration_setSdkVersion
|
||||||
|
AConfiguration_setSmallestScreenWidthDp
|
||||||
|
AConfiguration_setTouchscreen
|
||||||
|
AConfiguration_setUiModeNight
|
||||||
|
AConfiguration_setUiModeType
|
||||||
|
AInputEvent_getDeviceId
|
||||||
|
AInputEvent_getSource
|
||||||
|
AInputEvent_getType
|
||||||
|
AInputQueue_attachLooper
|
||||||
|
AInputQueue_detachLooper
|
||||||
|
AInputQueue_finishEvent
|
||||||
|
AInputQueue_getEvent
|
||||||
|
AInputQueue_hasEvents
|
||||||
|
AInputQueue_preDispatchEvent
|
||||||
|
AKeyEvent_getAction
|
||||||
|
AKeyEvent_getDownTime
|
||||||
|
AKeyEvent_getEventTime
|
||||||
|
AKeyEvent_getFlags
|
||||||
|
AKeyEvent_getKeyCode
|
||||||
|
AKeyEvent_getMetaState
|
||||||
|
AKeyEvent_getRepeatCount
|
||||||
|
AKeyEvent_getScanCode
|
||||||
|
ALooper_acquire
|
||||||
|
ALooper_addFd
|
||||||
|
ALooper_forThread
|
||||||
|
ALooper_pollAll
|
||||||
|
ALooper_pollOnce
|
||||||
|
ALooper_prepare
|
||||||
|
ALooper_release
|
||||||
|
ALooper_removeFd
|
||||||
|
ALooper_wake
|
||||||
|
AMotionEvent_getAction
|
||||||
|
AMotionEvent_getAxisValue
|
||||||
|
AMotionEvent_getButtonState
|
||||||
|
AMotionEvent_getDownTime
|
||||||
|
AMotionEvent_getEdgeFlags
|
||||||
|
AMotionEvent_getEventTime
|
||||||
|
AMotionEvent_getFlags
|
||||||
|
AMotionEvent_getHistoricalAxisValue
|
||||||
|
AMotionEvent_getHistoricalEventTime
|
||||||
|
AMotionEvent_getHistoricalOrientation
|
||||||
|
AMotionEvent_getHistoricalPressure
|
||||||
|
AMotionEvent_getHistoricalRawX
|
||||||
|
AMotionEvent_getHistoricalRawY
|
||||||
|
AMotionEvent_getHistoricalSize
|
||||||
|
AMotionEvent_getHistoricalToolMajor
|
||||||
|
AMotionEvent_getHistoricalToolMinor
|
||||||
|
AMotionEvent_getHistoricalTouchMajor
|
||||||
|
AMotionEvent_getHistoricalTouchMinor
|
||||||
|
AMotionEvent_getHistoricalX
|
||||||
|
AMotionEvent_getHistoricalY
|
||||||
|
AMotionEvent_getHistorySize
|
||||||
|
AMotionEvent_getMetaState
|
||||||
|
AMotionEvent_getOrientation
|
||||||
|
AMotionEvent_getPointerCount
|
||||||
|
AMotionEvent_getPointerId
|
||||||
|
AMotionEvent_getPressure
|
||||||
|
AMotionEvent_getRawX
|
||||||
|
AMotionEvent_getRawY
|
||||||
|
AMotionEvent_getSize
|
||||||
|
AMotionEvent_getToolMajor
|
||||||
|
AMotionEvent_getToolMinor
|
||||||
|
AMotionEvent_getToolType
|
||||||
|
AMotionEvent_getTouchMajor
|
||||||
|
AMotionEvent_getTouchMinor
|
||||||
|
AMotionEvent_getX
|
||||||
|
AMotionEvent_getXOffset
|
||||||
|
AMotionEvent_getXPrecision
|
||||||
|
AMotionEvent_getY
|
||||||
|
AMotionEvent_getYOffset
|
||||||
|
AMotionEvent_getYPrecision
|
||||||
|
ANativeActivity_finish
|
||||||
|
ANativeActivity_hideSoftInput
|
||||||
|
ANativeActivity_setWindowFlags
|
||||||
|
ANativeActivity_setWindowFormat
|
||||||
|
ANativeActivity_showSoftInput
|
||||||
|
ANativeWindow_acquire
|
||||||
|
ANativeWindow_fromSurface
|
||||||
|
ANativeWindow_getFormat
|
||||||
|
ANativeWindow_getHeight
|
||||||
|
ANativeWindow_getWidth
|
||||||
|
ANativeWindow_lock
|
||||||
|
ANativeWindow_release
|
||||||
|
ANativeWindow_setBuffersGeometry
|
||||||
|
ANativeWindow_unlockAndPost
|
||||||
|
android_getTtsEngine
|
||||||
|
AObbInfo_delete
|
||||||
|
AObbInfo_getFlags
|
||||||
|
AObbInfo_getPackageName
|
||||||
|
AObbInfo_getVersion
|
||||||
|
AObbScanner_getObbInfo
|
||||||
|
ASensorEventQueue_disableSensor
|
||||||
|
ASensorEventQueue_enableSensor
|
||||||
|
ASensorEventQueue_getEvents
|
||||||
|
ASensorEventQueue_hasEvents
|
||||||
|
ASensorEventQueue_setEventRate
|
||||||
|
ASensor_getMinDelay
|
||||||
|
ASensor_getName
|
||||||
|
ASensor_getResolution
|
||||||
|
ASensor_getType
|
||||||
|
ASensor_getVendor
|
||||||
|
ASensorManager_createEventQueue
|
||||||
|
ASensorManager_destroyEventQueue
|
||||||
|
ASensorManager_getDefaultSensor
|
||||||
|
ASensorManager_getInstance
|
||||||
|
ASensorManager_getSensorList
|
||||||
|
AStorageManager_delete
|
||||||
|
AStorageManager_getMountedObbPath
|
||||||
|
AStorageManager_isObbMounted
|
||||||
|
AStorageManager_mountObb
|
||||||
|
AStorageManager_new
|
||||||
|
AStorageManager_unmountObb
|
||||||
|
getTtsEngine
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
AndroidBitmap_getInfo
|
||||||
|
AndroidBitmap_lockPixels
|
||||||
|
AndroidBitmap_unlockPixels
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
__android_log_assert
|
||||||
|
__android_log_btwrite
|
||||||
|
__android_log_buf_print
|
||||||
|
__android_log_buf_write
|
||||||
|
__android_log_bwrite
|
||||||
|
__android_log_dev_available
|
||||||
|
__android_log_print
|
||||||
|
__android_log_vprint
|
||||||
|
__android_log_write
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
21
ndk/platforms/android-20/arch-mips64/include/asm/auxvec.h
Normal file
21
ndk/platforms/android-20/arch-mips64/include/asm/auxvec.h
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_AUXVEC_H
|
||||||
|
#define _ASM_AUXVEC_H
|
||||||
|
#endif
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_MIPS_BITSPERLONG_H
|
||||||
|
#define __ASM_MIPS_BITSPERLONG_H
|
||||||
|
#define __BITS_PER_LONG _MIPS_SZLONG
|
||||||
|
#include <asm-generic/bitsperlong.h>
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#endif
|
||||||
34
ndk/platforms/android-20/arch-mips64/include/asm/break.h
Normal file
34
ndk/platforms/android-20/arch-mips64/include/asm/break.h
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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 __UAPI_ASM_BREAK_H
|
||||||
|
#define __UAPI_ASM_BREAK_H
|
||||||
|
#define BRK_USERBP 0
|
||||||
|
#define BRK_SSTEPBP 5
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define BRK_OVERFLOW 6
|
||||||
|
#define BRK_DIVZERO 7
|
||||||
|
#define BRK_RANGE 8
|
||||||
|
#define BRK_BUG 12
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define BRK_MEMU 514
|
||||||
|
#define BRK_KPROBE_BP 515
|
||||||
|
#define BRK_KPROBE_SSTEPBP 516
|
||||||
|
#define BRK_MULOVF 1023
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#endif
|
||||||
30
ndk/platforms/android-20/arch-mips64/include/asm/byteorder.h
Normal file
30
ndk/platforms/android-20/arch-mips64/include/asm/byteorder.h
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_BYTEORDER_H
|
||||||
|
#define _ASM_BYTEORDER_H
|
||||||
|
#ifdef __MIPSEB__
|
||||||
|
#include <linux/byteorder/big_endian.h>
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#elif defined(__MIPSEL__)
|
||||||
|
#include <linux/byteorder/little_endian.h>
|
||||||
|
#else
|
||||||
|
#error "MIPS, but neither __MIPSEB__, nor __MIPSEL__???"
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
28
ndk/platforms/android-20/arch-mips64/include/asm/cachectl.h
Normal file
28
ndk/platforms/android-20/arch-mips64/include/asm/cachectl.h
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_CACHECTL
|
||||||
|
#define _ASM_CACHECTL
|
||||||
|
#define ICACHE (1<<0)
|
||||||
|
#define DCACHE (1<<1)
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define BCACHE (ICACHE|DCACHE)
|
||||||
|
#define CACHEABLE 0
|
||||||
|
#define UNCACHEABLE 1
|
||||||
|
#endif
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
149
ndk/platforms/android-20/arch-mips64/include/asm/errno.h
Normal file
149
ndk/platforms/android-20/arch-mips64/include/asm/errno.h
Normal file
@@ -0,0 +1,149 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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 _UAPI_ASM_ERRNO_H
|
||||||
|
#define _UAPI_ASM_ERRNO_H
|
||||||
|
#include <asm-generic/errno-base.h>
|
||||||
|
#define ENOMSG 35
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define EIDRM 36
|
||||||
|
#define ECHRNG 37
|
||||||
|
#define EL2NSYNC 38
|
||||||
|
#define EL3HLT 39
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define EL3RST 40
|
||||||
|
#define ELNRNG 41
|
||||||
|
#define EUNATCH 42
|
||||||
|
#define ENOCSI 43
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define EL2HLT 44
|
||||||
|
#define EDEADLK 45
|
||||||
|
#define ENOLCK 46
|
||||||
|
#define EBADE 50
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define EBADR 51
|
||||||
|
#define EXFULL 52
|
||||||
|
#define ENOANO 53
|
||||||
|
#define EBADRQC 54
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define EBADSLT 55
|
||||||
|
#define EDEADLOCK 56
|
||||||
|
#define EBFONT 59
|
||||||
|
#define ENOSTR 60
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define ENODATA 61
|
||||||
|
#define ETIME 62
|
||||||
|
#define ENOSR 63
|
||||||
|
#define ENONET 64
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define ENOPKG 65
|
||||||
|
#define EREMOTE 66
|
||||||
|
#define ENOLINK 67
|
||||||
|
#define EADV 68
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define ESRMNT 69
|
||||||
|
#define ECOMM 70
|
||||||
|
#define EPROTO 71
|
||||||
|
#define EDOTDOT 73
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define EMULTIHOP 74
|
||||||
|
#define EBADMSG 77
|
||||||
|
#define ENAMETOOLONG 78
|
||||||
|
#define EOVERFLOW 79
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define ENOTUNIQ 80
|
||||||
|
#define EBADFD 81
|
||||||
|
#define EREMCHG 82
|
||||||
|
#define ELIBACC 83
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define ELIBBAD 84
|
||||||
|
#define ELIBSCN 85
|
||||||
|
#define ELIBMAX 86
|
||||||
|
#define ELIBEXEC 87
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define EILSEQ 88
|
||||||
|
#define ENOSYS 89
|
||||||
|
#define ELOOP 90
|
||||||
|
#define ERESTART 91
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define ESTRPIPE 92
|
||||||
|
#define ENOTEMPTY 93
|
||||||
|
#define EUSERS 94
|
||||||
|
#define ENOTSOCK 95
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define EDESTADDRREQ 96
|
||||||
|
#define EMSGSIZE 97
|
||||||
|
#define EPROTOTYPE 98
|
||||||
|
#define ENOPROTOOPT 99
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define EPROTONOSUPPORT 120
|
||||||
|
#define ESOCKTNOSUPPORT 121
|
||||||
|
#define EOPNOTSUPP 122
|
||||||
|
#define EPFNOSUPPORT 123
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define EAFNOSUPPORT 124
|
||||||
|
#define EADDRINUSE 125
|
||||||
|
#define EADDRNOTAVAIL 126
|
||||||
|
#define ENETDOWN 127
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define ENETUNREACH 128
|
||||||
|
#define ENETRESET 129
|
||||||
|
#define ECONNABORTED 130
|
||||||
|
#define ECONNRESET 131
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define ENOBUFS 132
|
||||||
|
#define EISCONN 133
|
||||||
|
#define ENOTCONN 134
|
||||||
|
#define EUCLEAN 135
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define ENOTNAM 137
|
||||||
|
#define ENAVAIL 138
|
||||||
|
#define EISNAM 139
|
||||||
|
#define EREMOTEIO 140
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define EINIT 141
|
||||||
|
#define EREMDEV 142
|
||||||
|
#define ESHUTDOWN 143
|
||||||
|
#define ETOOMANYREFS 144
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define ETIMEDOUT 145
|
||||||
|
#define ECONNREFUSED 146
|
||||||
|
#define EHOSTDOWN 147
|
||||||
|
#define EHOSTUNREACH 148
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define EWOULDBLOCK EAGAIN
|
||||||
|
#define EALREADY 149
|
||||||
|
#define EINPROGRESS 150
|
||||||
|
#define ESTALE 151
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define ECANCELED 158
|
||||||
|
#define ENOMEDIUM 159
|
||||||
|
#define EMEDIUMTYPE 160
|
||||||
|
#define ENOKEY 161
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define EKEYEXPIRED 162
|
||||||
|
#define EKEYREVOKED 163
|
||||||
|
#define EKEYREJECTED 164
|
||||||
|
#define EOWNERDEAD 165
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define ENOTRECOVERABLE 166
|
||||||
|
#define ERFKILL 167
|
||||||
|
#define EHWPOISON 168
|
||||||
|
#define EDQUOT 1133
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#endif
|
||||||
64
ndk/platforms/android-20/arch-mips64/include/asm/fcntl.h
Normal file
64
ndk/platforms/android-20/arch-mips64/include/asm/fcntl.h
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_FCNTL_H
|
||||||
|
#define _ASM_FCNTL_H
|
||||||
|
#define O_APPEND 0x0008
|
||||||
|
#define O_DSYNC 0x0010
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define O_NONBLOCK 0x0080
|
||||||
|
#define O_CREAT 0x0100
|
||||||
|
#define O_TRUNC 0x0200
|
||||||
|
#define O_EXCL 0x0400
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define O_NOCTTY 0x0800
|
||||||
|
#define FASYNC 0x1000
|
||||||
|
#define O_LARGEFILE 0x2000
|
||||||
|
#define __O_SYNC 0x4000
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define O_SYNC (__O_SYNC|O_DSYNC)
|
||||||
|
#define O_DIRECT 0x8000
|
||||||
|
#define F_GETLK 14
|
||||||
|
#define F_SETLK 6
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define F_SETLKW 7
|
||||||
|
#define F_SETOWN 24
|
||||||
|
#define F_GETOWN 23
|
||||||
|
#ifndef __mips64
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define F_GETLK64 33
|
||||||
|
#define F_SETLK64 34
|
||||||
|
#define F_SETLKW64 35
|
||||||
|
#endif
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#include <linux/types.h>
|
||||||
|
struct flock {
|
||||||
|
short l_type;
|
||||||
|
short l_whence;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__kernel_off_t l_start;
|
||||||
|
__kernel_off_t l_len;
|
||||||
|
long l_sysid;
|
||||||
|
__kernel_pid_t l_pid;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
long pad[4];
|
||||||
|
};
|
||||||
|
#define HAVE_ARCH_STRUCT_FLOCK
|
||||||
|
#include <asm-generic/fcntl.h>
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#endif
|
||||||
886
ndk/platforms/android-20/arch-mips64/include/asm/inst.h
Normal file
886
ndk/platforms/android-20/arch-mips64/include/asm/inst.h
Normal file
@@ -0,0 +1,886 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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 _UAPI_ASM_INST_H
|
||||||
|
#define _UAPI_ASM_INST_H
|
||||||
|
enum major_op {
|
||||||
|
spec_op, bcond_op, j_op, jal_op,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
beq_op, bne_op, blez_op, bgtz_op,
|
||||||
|
addi_op, addiu_op, slti_op, sltiu_op,
|
||||||
|
andi_op, ori_op, xori_op, lui_op,
|
||||||
|
cop0_op, cop1_op, cop2_op, cop1x_op,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
beql_op, bnel_op, blezl_op, bgtzl_op,
|
||||||
|
daddi_op, daddiu_op, ldl_op, ldr_op,
|
||||||
|
spec2_op, jalx_op, mdmx_op, spec3_op,
|
||||||
|
lb_op, lh_op, lwl_op, lw_op,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
lbu_op, lhu_op, lwr_op, lwu_op,
|
||||||
|
sb_op, sh_op, swl_op, sw_op,
|
||||||
|
sdl_op, sdr_op, swr_op, cache_op,
|
||||||
|
ll_op, lwc1_op, lwc2_op, pref_op,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
lld_op, ldc1_op, ldc2_op, ld_op,
|
||||||
|
sc_op, swc1_op, swc2_op, major_3b_op,
|
||||||
|
scd_op, sdc1_op, sdc2_op, sd_op
|
||||||
|
};
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
enum spec_op {
|
||||||
|
sll_op, movc_op, srl_op, sra_op,
|
||||||
|
sllv_op, pmon_op, srlv_op, srav_op,
|
||||||
|
jr_op, jalr_op, movz_op, movn_op,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
syscall_op, break_op, spim_op, sync_op,
|
||||||
|
mfhi_op, mthi_op, mflo_op, mtlo_op,
|
||||||
|
dsllv_op, spec2_unused_op, dsrlv_op, dsrav_op,
|
||||||
|
mult_op, multu_op, div_op, divu_op,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
dmult_op, dmultu_op, ddiv_op, ddivu_op,
|
||||||
|
add_op, addu_op, sub_op, subu_op,
|
||||||
|
and_op, or_op, xor_op, nor_op,
|
||||||
|
spec3_unused_op, spec4_unused_op, slt_op, sltu_op,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
dadd_op, daddu_op, dsub_op, dsubu_op,
|
||||||
|
tge_op, tgeu_op, tlt_op, tltu_op,
|
||||||
|
teq_op, spec5_unused_op, tne_op, spec6_unused_op,
|
||||||
|
dsll_op, spec7_unused_op, dsrl_op, dsra_op,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
dsll32_op, spec8_unused_op, dsrl32_op, dsra32_op
|
||||||
|
};
|
||||||
|
enum spec2_op {
|
||||||
|
madd_op, maddu_op, mul_op, spec2_3_unused_op,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
msub_op, msubu_op,
|
||||||
|
clz_op = 0x20, clo_op,
|
||||||
|
dclz_op = 0x24, dclo_op,
|
||||||
|
sdbpp_op = 0x3f
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
enum spec3_op {
|
||||||
|
ext_op, dextm_op, dextu_op, dext_op,
|
||||||
|
ins_op, dinsm_op, dinsu_op, dins_op,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
lx_op = 0x0a,
|
||||||
|
bshfl_op = 0x20,
|
||||||
|
dbshfl_op = 0x24,
|
||||||
|
rdhwr_op = 0x3b
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
enum rt_op {
|
||||||
|
bltz_op, bgez_op, bltzl_op, bgezl_op,
|
||||||
|
spimi_op, unused_rt_op_0x05, unused_rt_op_0x06, unused_rt_op_0x07,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
tgei_op, tgeiu_op, tlti_op, tltiu_op,
|
||||||
|
teqi_op, unused_0x0d_rt_op, tnei_op, unused_0x0f_rt_op,
|
||||||
|
bltzal_op, bgezal_op, bltzall_op, bgezall_op,
|
||||||
|
rt_op_0x14, rt_op_0x15, rt_op_0x16, rt_op_0x17,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
rt_op_0x18, rt_op_0x19, rt_op_0x1a, rt_op_0x1b,
|
||||||
|
bposge32_op, rt_op_0x1d, rt_op_0x1e, rt_op_0x1f
|
||||||
|
};
|
||||||
|
enum cop_op {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mfc_op = 0x00, dmfc_op = 0x01,
|
||||||
|
cfc_op = 0x02, mtc_op = 0x04,
|
||||||
|
dmtc_op = 0x05, ctc_op = 0x06,
|
||||||
|
bc_op = 0x08, cop_op = 0x10,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
copm_op = 0x18
|
||||||
|
};
|
||||||
|
enum bcop_op {
|
||||||
|
bcf_op, bct_op, bcfl_op, bctl_op
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
enum cop0_coi_func {
|
||||||
|
tlbr_op = 0x01, tlbwi_op = 0x02,
|
||||||
|
tlbwr_op = 0x06, tlbp_op = 0x08,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
rfe_op = 0x10, eret_op = 0x18
|
||||||
|
};
|
||||||
|
enum cop0_com_func {
|
||||||
|
tlbr1_op = 0x01, tlbw_op = 0x02,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
tlbp1_op = 0x08, dctr_op = 0x09,
|
||||||
|
dctw_op = 0x0a
|
||||||
|
};
|
||||||
|
enum cop1_fmt {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
s_fmt, d_fmt, e_fmt, q_fmt,
|
||||||
|
w_fmt, l_fmt
|
||||||
|
};
|
||||||
|
enum cop1_sdw_func {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
fadd_op = 0x00, fsub_op = 0x01,
|
||||||
|
fmul_op = 0x02, fdiv_op = 0x03,
|
||||||
|
fsqrt_op = 0x04, fabs_op = 0x05,
|
||||||
|
fmov_op = 0x06, fneg_op = 0x07,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
froundl_op = 0x08, ftruncl_op = 0x09,
|
||||||
|
fceill_op = 0x0a, ffloorl_op = 0x0b,
|
||||||
|
fround_op = 0x0c, ftrunc_op = 0x0d,
|
||||||
|
fceil_op = 0x0e, ffloor_op = 0x0f,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
fmovc_op = 0x11, fmovz_op = 0x12,
|
||||||
|
fmovn_op = 0x13, frecip_op = 0x15,
|
||||||
|
frsqrt_op = 0x16, fcvts_op = 0x20,
|
||||||
|
fcvtd_op = 0x21, fcvte_op = 0x22,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
fcvtw_op = 0x24, fcvtl_op = 0x25,
|
||||||
|
fcmp_op = 0x30
|
||||||
|
};
|
||||||
|
enum cop1x_func {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
lwxc1_op = 0x00, ldxc1_op = 0x01,
|
||||||
|
pfetch_op = 0x07, swxc1_op = 0x08,
|
||||||
|
sdxc1_op = 0x09, madd_s_op = 0x20,
|
||||||
|
madd_d_op = 0x21, madd_e_op = 0x22,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
msub_s_op = 0x28, msub_d_op = 0x29,
|
||||||
|
msub_e_op = 0x2a, nmadd_s_op = 0x30,
|
||||||
|
nmadd_d_op = 0x31, nmadd_e_op = 0x32,
|
||||||
|
nmsub_s_op = 0x38, nmsub_d_op = 0x39,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
nmsub_e_op = 0x3a
|
||||||
|
};
|
||||||
|
enum mad_func {
|
||||||
|
madd_fp_op = 0x08, msub_fp_op = 0x0a,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
nmadd_fp_op = 0x0c, nmsub_fp_op = 0x0e
|
||||||
|
};
|
||||||
|
enum lx_func {
|
||||||
|
lwx_op = 0x00,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
lhx_op = 0x04,
|
||||||
|
lbux_op = 0x06,
|
||||||
|
ldx_op = 0x08,
|
||||||
|
lwux_op = 0x10,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
lhux_op = 0x14,
|
||||||
|
lbx_op = 0x16,
|
||||||
|
};
|
||||||
|
enum mm_major_op {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_pool32a_op, mm_pool16a_op, mm_lbu16_op, mm_move16_op,
|
||||||
|
mm_addi32_op, mm_lbu32_op, mm_sb32_op, mm_lb32_op,
|
||||||
|
mm_pool32b_op, mm_pool16b_op, mm_lhu16_op, mm_andi16_op,
|
||||||
|
mm_addiu32_op, mm_lhu32_op, mm_sh32_op, mm_lh32_op,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_pool32i_op, mm_pool16c_op, mm_lwsp16_op, mm_pool16d_op,
|
||||||
|
mm_ori32_op, mm_pool32f_op, mm_reserved1_op, mm_reserved2_op,
|
||||||
|
mm_pool32c_op, mm_lwgp16_op, mm_lw16_op, mm_pool16e_op,
|
||||||
|
mm_xori32_op, mm_jals32_op, mm_addiupc_op, mm_reserved3_op,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_reserved4_op, mm_pool16f_op, mm_sb16_op, mm_beqz16_op,
|
||||||
|
mm_slti32_op, mm_beq32_op, mm_swc132_op, mm_lwc132_op,
|
||||||
|
mm_reserved5_op, mm_reserved6_op, mm_sh16_op, mm_bnez16_op,
|
||||||
|
mm_sltiu32_op, mm_bne32_op, mm_sdc132_op, mm_ldc132_op,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_reserved7_op, mm_reserved8_op, mm_swsp16_op, mm_b16_op,
|
||||||
|
mm_andi32_op, mm_j32_op, mm_sd32_op, mm_ld32_op,
|
||||||
|
mm_reserved11_op, mm_reserved12_op, mm_sw16_op, mm_li16_op,
|
||||||
|
mm_jalx32_op, mm_jal32_op, mm_sw32_op, mm_lw32_op,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
enum mm_32i_minor_op {
|
||||||
|
mm_bltz_op, mm_bltzal_op, mm_bgez_op, mm_bgezal_op,
|
||||||
|
mm_blez_op, mm_bnezc_op, mm_bgtz_op, mm_beqzc_op,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_tlti_op, mm_tgei_op, mm_tltiu_op, mm_tgeiu_op,
|
||||||
|
mm_tnei_op, mm_lui_op, mm_teqi_op, mm_reserved13_op,
|
||||||
|
mm_synci_op, mm_bltzals_op, mm_reserved14_op, mm_bgezals_op,
|
||||||
|
mm_bc2f_op, mm_bc2t_op, mm_reserved15_op, mm_reserved16_op,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_reserved17_op, mm_reserved18_op, mm_bposge64_op, mm_bposge32_op,
|
||||||
|
mm_bc1f_op, mm_bc1t_op, mm_reserved19_op, mm_reserved20_op,
|
||||||
|
mm_bc1any2f_op, mm_bc1any2t_op, mm_bc1any4f_op, mm_bc1any4t_op,
|
||||||
|
};
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
enum mm_32a_minor_op {
|
||||||
|
mm_sll32_op = 0x000,
|
||||||
|
mm_ins_op = 0x00c,
|
||||||
|
mm_ext_op = 0x02c,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_pool32axf_op = 0x03c,
|
||||||
|
mm_srl32_op = 0x040,
|
||||||
|
mm_sra_op = 0x080,
|
||||||
|
mm_rotr_op = 0x0c0,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_lwxs_op = 0x118,
|
||||||
|
mm_addu32_op = 0x150,
|
||||||
|
mm_subu32_op = 0x1d0,
|
||||||
|
mm_and_op = 0x250,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_or32_op = 0x290,
|
||||||
|
mm_xor32_op = 0x310,
|
||||||
|
};
|
||||||
|
enum mm_32b_func {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_lwc2_func = 0x0,
|
||||||
|
mm_lwp_func = 0x1,
|
||||||
|
mm_ldc2_func = 0x2,
|
||||||
|
mm_ldp_func = 0x4,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_lwm32_func = 0x5,
|
||||||
|
mm_cache_func = 0x6,
|
||||||
|
mm_ldm_func = 0x7,
|
||||||
|
mm_swc2_func = 0x8,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_swp_func = 0x9,
|
||||||
|
mm_sdc2_func = 0xa,
|
||||||
|
mm_sdp_func = 0xc,
|
||||||
|
mm_swm32_func = 0xd,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_sdm_func = 0xf,
|
||||||
|
};
|
||||||
|
enum mm_32c_func {
|
||||||
|
mm_pref_func = 0x2,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_ll_func = 0x3,
|
||||||
|
mm_swr_func = 0x9,
|
||||||
|
mm_sc_func = 0xb,
|
||||||
|
mm_lwu_func = 0xe,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
enum mm_32axf_minor_op {
|
||||||
|
mm_mfc0_op = 0x003,
|
||||||
|
mm_mtc0_op = 0x00b,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_tlbp_op = 0x00d,
|
||||||
|
mm_jalr_op = 0x03c,
|
||||||
|
mm_tlbr_op = 0x04d,
|
||||||
|
mm_jalrhb_op = 0x07c,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_tlbwi_op = 0x08d,
|
||||||
|
mm_tlbwr_op = 0x0cd,
|
||||||
|
mm_jalrs_op = 0x13c,
|
||||||
|
mm_jalrshb_op = 0x17c,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_syscall_op = 0x22d,
|
||||||
|
mm_eret_op = 0x3cd,
|
||||||
|
};
|
||||||
|
enum mm_32f_minor_op {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_32f_00_op = 0x00,
|
||||||
|
mm_32f_01_op = 0x01,
|
||||||
|
mm_32f_02_op = 0x02,
|
||||||
|
mm_32f_10_op = 0x08,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_32f_11_op = 0x09,
|
||||||
|
mm_32f_12_op = 0x0a,
|
||||||
|
mm_32f_20_op = 0x10,
|
||||||
|
mm_32f_30_op = 0x18,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_32f_40_op = 0x20,
|
||||||
|
mm_32f_41_op = 0x21,
|
||||||
|
mm_32f_42_op = 0x22,
|
||||||
|
mm_32f_50_op = 0x28,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_32f_51_op = 0x29,
|
||||||
|
mm_32f_52_op = 0x2a,
|
||||||
|
mm_32f_60_op = 0x30,
|
||||||
|
mm_32f_70_op = 0x38,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_32f_73_op = 0x3b,
|
||||||
|
mm_32f_74_op = 0x3c,
|
||||||
|
};
|
||||||
|
enum mm_32f_10_minor_op {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_lwxc1_op = 0x1,
|
||||||
|
mm_swxc1_op,
|
||||||
|
mm_ldxc1_op,
|
||||||
|
mm_sdxc1_op,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_luxc1_op,
|
||||||
|
mm_suxc1_op,
|
||||||
|
};
|
||||||
|
enum mm_32f_func {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_lwxc1_func = 0x048,
|
||||||
|
mm_swxc1_func = 0x088,
|
||||||
|
mm_ldxc1_func = 0x0c8,
|
||||||
|
mm_sdxc1_func = 0x108,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
enum mm_32f_40_minor_op {
|
||||||
|
mm_fmovf_op,
|
||||||
|
mm_fmovt_op,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
enum mm_32f_60_minor_op {
|
||||||
|
mm_fadd_op,
|
||||||
|
mm_fsub_op,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_fmul_op,
|
||||||
|
mm_fdiv_op,
|
||||||
|
};
|
||||||
|
enum mm_32f_70_minor_op {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_fmovn_op,
|
||||||
|
mm_fmovz_op,
|
||||||
|
};
|
||||||
|
enum mm_32f_73_minor_op {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_fmov0_op = 0x01,
|
||||||
|
mm_fcvtl_op = 0x04,
|
||||||
|
mm_movf0_op = 0x05,
|
||||||
|
mm_frsqrt_op = 0x08,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_ffloorl_op = 0x0c,
|
||||||
|
mm_fabs0_op = 0x0d,
|
||||||
|
mm_fcvtw_op = 0x24,
|
||||||
|
mm_movt0_op = 0x25,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_fsqrt_op = 0x28,
|
||||||
|
mm_ffloorw_op = 0x2c,
|
||||||
|
mm_fneg0_op = 0x2d,
|
||||||
|
mm_cfc1_op = 0x40,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_frecip_op = 0x48,
|
||||||
|
mm_fceill_op = 0x4c,
|
||||||
|
mm_fcvtd0_op = 0x4d,
|
||||||
|
mm_ctc1_op = 0x60,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_fceilw_op = 0x6c,
|
||||||
|
mm_fcvts0_op = 0x6d,
|
||||||
|
mm_mfc1_op = 0x80,
|
||||||
|
mm_fmov1_op = 0x81,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_movf1_op = 0x85,
|
||||||
|
mm_ftruncl_op = 0x8c,
|
||||||
|
mm_fabs1_op = 0x8d,
|
||||||
|
mm_mtc1_op = 0xa0,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_movt1_op = 0xa5,
|
||||||
|
mm_ftruncw_op = 0xac,
|
||||||
|
mm_fneg1_op = 0xad,
|
||||||
|
mm_froundl_op = 0xcc,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_fcvtd1_op = 0xcd,
|
||||||
|
mm_froundw_op = 0xec,
|
||||||
|
mm_fcvts1_op = 0xed,
|
||||||
|
};
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
enum mm_16c_minor_op {
|
||||||
|
mm_lwm16_op = 0x04,
|
||||||
|
mm_swm16_op = 0x05,
|
||||||
|
mm_jr16_op = 0x18,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
mm_jrc_op = 0x1a,
|
||||||
|
mm_jalr16_op = 0x1c,
|
||||||
|
mm_jalrs16_op = 0x1e,
|
||||||
|
};
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
enum mm_16d_minor_op {
|
||||||
|
mm_addius5_func,
|
||||||
|
mm_addiusp_func,
|
||||||
|
};
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
enum MIPS16e_ops {
|
||||||
|
MIPS16e_jal_op = 003,
|
||||||
|
MIPS16e_ld_op = 007,
|
||||||
|
MIPS16e_i8_op = 014,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
MIPS16e_sd_op = 017,
|
||||||
|
MIPS16e_lb_op = 020,
|
||||||
|
MIPS16e_lh_op = 021,
|
||||||
|
MIPS16e_lwsp_op = 022,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
MIPS16e_lw_op = 023,
|
||||||
|
MIPS16e_lbu_op = 024,
|
||||||
|
MIPS16e_lhu_op = 025,
|
||||||
|
MIPS16e_lwpc_op = 026,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
MIPS16e_lwu_op = 027,
|
||||||
|
MIPS16e_sb_op = 030,
|
||||||
|
MIPS16e_sh_op = 031,
|
||||||
|
MIPS16e_swsp_op = 032,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
MIPS16e_sw_op = 033,
|
||||||
|
MIPS16e_rr_op = 035,
|
||||||
|
MIPS16e_extend_op = 036,
|
||||||
|
MIPS16e_i64_op = 037,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
enum MIPS16e_i64_func {
|
||||||
|
MIPS16e_ldsp_func,
|
||||||
|
MIPS16e_sdsp_func,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
MIPS16e_sdrasp_func,
|
||||||
|
MIPS16e_dadjsp_func,
|
||||||
|
MIPS16e_ldpc_func,
|
||||||
|
};
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
enum MIPS16e_rr_func {
|
||||||
|
MIPS16e_jr_func,
|
||||||
|
};
|
||||||
|
enum MIPS6e_i8_func {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
MIPS16e_swrasp_func = 02,
|
||||||
|
};
|
||||||
|
#define MM_NOP16 0x0c00
|
||||||
|
#ifdef __MIPSEB__
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define BITFIELD_FIELD(field, more) field; more
|
||||||
|
#elif defined(__MIPSEL__)
|
||||||
|
#define BITFIELD_FIELD(field, more) more field;
|
||||||
|
#else
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#error "MIPS but neither __MIPSEL__ nor __MIPSEB__?"
|
||||||
|
#endif
|
||||||
|
struct j_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int target : 26,
|
||||||
|
;))
|
||||||
|
};
|
||||||
|
struct i_format {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
BITFIELD_FIELD(unsigned int rs : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int rt : 5,
|
||||||
|
BITFIELD_FIELD(signed int simmediate : 16,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
;))))
|
||||||
|
};
|
||||||
|
struct u_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int rs : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int rt : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int uimmediate : 16,
|
||||||
|
;))))
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
struct c_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
BITFIELD_FIELD(unsigned int rs : 5,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int c_op : 3,
|
||||||
|
BITFIELD_FIELD(unsigned int cache : 2,
|
||||||
|
BITFIELD_FIELD(unsigned int simmediate : 16,
|
||||||
|
;)))))
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
struct r_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
BITFIELD_FIELD(unsigned int rs : 5,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int rt : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int rd : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int re : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int func : 6,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
;))))))
|
||||||
|
};
|
||||||
|
struct p_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int rs : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int rt : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int rd : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int re : 5,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int func : 6,
|
||||||
|
;))))))
|
||||||
|
};
|
||||||
|
struct f_format {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
BITFIELD_FIELD(unsigned int : 1,
|
||||||
|
BITFIELD_FIELD(unsigned int fmt : 4,
|
||||||
|
BITFIELD_FIELD(unsigned int rt : 5,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int rd : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int re : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int func : 6,
|
||||||
|
;)))))))
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
struct ma_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
BITFIELD_FIELD(unsigned int fr : 5,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int ft : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int fs : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int fd : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int func : 4,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int fmt : 2,
|
||||||
|
;)))))))
|
||||||
|
};
|
||||||
|
struct b_format {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
BITFIELD_FIELD(unsigned int code : 20,
|
||||||
|
BITFIELD_FIELD(unsigned int func : 6,
|
||||||
|
;)))
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
struct ps_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
BITFIELD_FIELD(unsigned int rs : 5,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int ft : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int fs : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int fd : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int func : 6,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
;))))))
|
||||||
|
};
|
||||||
|
struct v_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int sel : 4,
|
||||||
|
BITFIELD_FIELD(unsigned int fmt : 1,
|
||||||
|
BITFIELD_FIELD(unsigned int vt : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int vs : 5,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int vd : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int func : 6,
|
||||||
|
;)))))))
|
||||||
|
};
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct fb_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
BITFIELD_FIELD(unsigned int bc : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int cc : 3,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int flag : 2,
|
||||||
|
BITFIELD_FIELD(signed int simmediate : 16,
|
||||||
|
;)))))
|
||||||
|
};
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct fp0_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
BITFIELD_FIELD(unsigned int fmt : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int ft : 5,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int fs : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int fd : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int func : 6,
|
||||||
|
;))))))
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
struct mm_fp0_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
BITFIELD_FIELD(unsigned int ft : 5,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int fs : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int fd : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int fmt : 3,
|
||||||
|
BITFIELD_FIELD(unsigned int op : 2,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int func : 6,
|
||||||
|
;)))))))
|
||||||
|
};
|
||||||
|
struct fp1_format {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
BITFIELD_FIELD(unsigned int op : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int rt : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int fs : 5,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int fd : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int func : 6,
|
||||||
|
;))))))
|
||||||
|
};
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct mm_fp1_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
BITFIELD_FIELD(unsigned int rt : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int fs : 5,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int fmt : 2,
|
||||||
|
BITFIELD_FIELD(unsigned int op : 8,
|
||||||
|
BITFIELD_FIELD(unsigned int func : 6,
|
||||||
|
;))))))
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
struct mm_fp2_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
BITFIELD_FIELD(unsigned int fd : 5,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int fs : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int cc : 3,
|
||||||
|
BITFIELD_FIELD(unsigned int zero : 2,
|
||||||
|
BITFIELD_FIELD(unsigned int fmt : 2,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int op : 3,
|
||||||
|
BITFIELD_FIELD(unsigned int func : 6,
|
||||||
|
;))))))))
|
||||||
|
};
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct mm_fp3_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
BITFIELD_FIELD(unsigned int rt : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int fs : 5,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int fmt : 3,
|
||||||
|
BITFIELD_FIELD(unsigned int op : 7,
|
||||||
|
BITFIELD_FIELD(unsigned int func : 6,
|
||||||
|
;))))))
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
struct mm_fp4_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
BITFIELD_FIELD(unsigned int rt : 5,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int fs : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int cc : 3,
|
||||||
|
BITFIELD_FIELD(unsigned int fmt : 3,
|
||||||
|
BITFIELD_FIELD(unsigned int cond : 4,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int func : 6,
|
||||||
|
;)))))))
|
||||||
|
};
|
||||||
|
struct mm_fp5_format {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
BITFIELD_FIELD(unsigned int index : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int base : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int fd : 5,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int op : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int func : 6,
|
||||||
|
;))))))
|
||||||
|
};
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct fp6_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
BITFIELD_FIELD(unsigned int fr : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int ft : 5,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int fs : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int fd : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int func : 6,
|
||||||
|
;))))))
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
struct mm_fp6_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
BITFIELD_FIELD(unsigned int ft : 5,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int fs : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int fd : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int fr : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int func : 6,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
;))))))
|
||||||
|
};
|
||||||
|
struct mm_i_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int rt : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int rs : 5,
|
||||||
|
BITFIELD_FIELD(signed int simmediate : 16,
|
||||||
|
;))))
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
struct mm_m_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
BITFIELD_FIELD(unsigned int rd : 5,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int base : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int func : 4,
|
||||||
|
BITFIELD_FIELD(signed int simmediate : 12,
|
||||||
|
;)))))
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
struct mm_x_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
BITFIELD_FIELD(unsigned int index : 5,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int base : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int rd : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int func : 11,
|
||||||
|
;)))))
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
struct mm_b0_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
BITFIELD_FIELD(signed int simmediate : 10,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int : 16,
|
||||||
|
;)))
|
||||||
|
};
|
||||||
|
struct mm_b1_format {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
BITFIELD_FIELD(unsigned int rs : 3,
|
||||||
|
BITFIELD_FIELD(signed int simmediate : 7,
|
||||||
|
BITFIELD_FIELD(unsigned int : 16,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
;))))
|
||||||
|
};
|
||||||
|
struct mm16_m_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int func : 4,
|
||||||
|
BITFIELD_FIELD(unsigned int rlist : 2,
|
||||||
|
BITFIELD_FIELD(unsigned int imm : 4,
|
||||||
|
BITFIELD_FIELD(unsigned int : 16,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
;)))))
|
||||||
|
};
|
||||||
|
struct mm16_rb_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int rt : 3,
|
||||||
|
BITFIELD_FIELD(unsigned int base : 3,
|
||||||
|
BITFIELD_FIELD(signed int simmediate : 4,
|
||||||
|
BITFIELD_FIELD(unsigned int : 16,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
;)))))
|
||||||
|
};
|
||||||
|
struct mm16_r3_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int rt : 3,
|
||||||
|
BITFIELD_FIELD(signed int simmediate : 7,
|
||||||
|
BITFIELD_FIELD(unsigned int : 16,
|
||||||
|
;))))
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
struct mm16_r5_format {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 6,
|
||||||
|
BITFIELD_FIELD(unsigned int rt : 5,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(signed int simmediate : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int : 16,
|
||||||
|
;))))
|
||||||
|
};
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct m16e_rr {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int rx : 3,
|
||||||
|
BITFIELD_FIELD(unsigned int nd : 1,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int l : 1,
|
||||||
|
BITFIELD_FIELD(unsigned int ra : 1,
|
||||||
|
BITFIELD_FIELD(unsigned int func : 5,
|
||||||
|
;))))))
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
struct m16e_jal {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int x : 1,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int imm20_16 : 5,
|
||||||
|
BITFIELD_FIELD(signed int imm25_21 : 5,
|
||||||
|
;))))
|
||||||
|
};
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct m16e_i64 {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int func : 3,
|
||||||
|
BITFIELD_FIELD(unsigned int imm : 8,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
;)))
|
||||||
|
};
|
||||||
|
struct m16e_ri64 {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 5,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int func : 3,
|
||||||
|
BITFIELD_FIELD(unsigned int ry : 3,
|
||||||
|
BITFIELD_FIELD(unsigned int imm : 5,
|
||||||
|
;))))
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
struct m16e_ri {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int rx : 3,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int imm : 8,
|
||||||
|
;)))
|
||||||
|
};
|
||||||
|
struct m16e_rri {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 5,
|
||||||
|
BITFIELD_FIELD(unsigned int rx : 3,
|
||||||
|
BITFIELD_FIELD(unsigned int ry : 3,
|
||||||
|
BITFIELD_FIELD(unsigned int imm : 5,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
;))))
|
||||||
|
};
|
||||||
|
struct m16e_i8 {
|
||||||
|
BITFIELD_FIELD(unsigned int opcode : 5,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
BITFIELD_FIELD(unsigned int func : 3,
|
||||||
|
BITFIELD_FIELD(unsigned int imm : 8,
|
||||||
|
;)))
|
||||||
|
};
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
union mips_instruction {
|
||||||
|
unsigned int word;
|
||||||
|
unsigned short halfword[2];
|
||||||
|
unsigned char byte[4];
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct j_format j_format;
|
||||||
|
struct i_format i_format;
|
||||||
|
struct u_format u_format;
|
||||||
|
struct c_format c_format;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct r_format r_format;
|
||||||
|
struct p_format p_format;
|
||||||
|
struct f_format f_format;
|
||||||
|
struct ma_format ma_format;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct b_format b_format;
|
||||||
|
struct ps_format ps_format;
|
||||||
|
struct v_format v_format;
|
||||||
|
struct fb_format fb_format;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct fp0_format fp0_format;
|
||||||
|
struct mm_fp0_format mm_fp0_format;
|
||||||
|
struct fp1_format fp1_format;
|
||||||
|
struct mm_fp1_format mm_fp1_format;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct mm_fp2_format mm_fp2_format;
|
||||||
|
struct mm_fp3_format mm_fp3_format;
|
||||||
|
struct mm_fp4_format mm_fp4_format;
|
||||||
|
struct mm_fp5_format mm_fp5_format;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct fp6_format fp6_format;
|
||||||
|
struct mm_fp6_format mm_fp6_format;
|
||||||
|
struct mm_i_format mm_i_format;
|
||||||
|
struct mm_m_format mm_m_format;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct mm_x_format mm_x_format;
|
||||||
|
struct mm_b0_format mm_b0_format;
|
||||||
|
struct mm_b1_format mm_b1_format;
|
||||||
|
struct mm16_m_format mm16_m_format ;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct mm16_rb_format mm16_rb_format;
|
||||||
|
struct mm16_r3_format mm16_r3_format;
|
||||||
|
struct mm16_r5_format mm16_r5_format;
|
||||||
|
};
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
union mips16e_instruction {
|
||||||
|
unsigned int full : 16;
|
||||||
|
struct m16e_rr rr;
|
||||||
|
struct m16e_jal jal;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct m16e_i64 i64;
|
||||||
|
struct m16e_ri64 ri64;
|
||||||
|
struct m16e_ri ri;
|
||||||
|
struct m16e_rri rri;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct m16e_i8 i8;
|
||||||
|
};
|
||||||
|
#endif
|
||||||
29
ndk/platforms/android-20/arch-mips64/include/asm/ioctl.h
Normal file
29
ndk/platforms/android-20/arch-mips64/include/asm/ioctl.h
Normal file
@@ -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_IOCTL_H
|
||||||
|
#define __ASM_IOCTL_H
|
||||||
|
#define _IOC_SIZEBITS 13
|
||||||
|
#define _IOC_DIRBITS 3
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define _IOC_NONE 1U
|
||||||
|
#define _IOC_READ 2U
|
||||||
|
#define _IOC_WRITE 4U
|
||||||
|
#include <asm-generic/ioctl.h>
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#endif
|
||||||
124
ndk/platforms/android-20/arch-mips64/include/asm/ioctls.h
Normal file
124
ndk/platforms/android-20/arch-mips64/include/asm/ioctls.h
Normal file
@@ -0,0 +1,124 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_IOCTLS_H
|
||||||
|
#define __ASM_IOCTLS_H
|
||||||
|
#include <asm/ioctl.h>
|
||||||
|
#define TCGETA 0x5401
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TCSETA 0x5402
|
||||||
|
#define TCSETAW 0x5403
|
||||||
|
#define TCSETAF 0x5404
|
||||||
|
#define TCSBRK 0x5405
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TCXONC 0x5406
|
||||||
|
#define TCFLSH 0x5407
|
||||||
|
#define TCGETS 0x540d
|
||||||
|
#define TCSETS 0x540e
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TCSETSW 0x540f
|
||||||
|
#define TCSETSF 0x5410
|
||||||
|
#define TIOCEXCL 0x740d
|
||||||
|
#define TIOCNXCL 0x740e
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TIOCOUTQ 0x7472
|
||||||
|
#define TIOCSTI 0x5472
|
||||||
|
#define TIOCMGET 0x741d
|
||||||
|
#define TIOCMBIS 0x741b
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TIOCMBIC 0x741c
|
||||||
|
#define TIOCMSET 0x741a
|
||||||
|
#define TIOCPKT 0x5470
|
||||||
|
#define TIOCPKT_DATA 0x00
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TIOCPKT_FLUSHREAD 0x01
|
||||||
|
#define TIOCPKT_FLUSHWRITE 0x02
|
||||||
|
#define TIOCPKT_STOP 0x04
|
||||||
|
#define TIOCPKT_START 0x08
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TIOCPKT_NOSTOP 0x10
|
||||||
|
#define TIOCPKT_DOSTOP 0x20
|
||||||
|
#define TIOCPKT_IOCTL 0x40
|
||||||
|
#define TIOCSWINSZ _IOW('t', 103, struct winsize)
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TIOCGWINSZ _IOR('t', 104, struct winsize)
|
||||||
|
#define TIOCNOTTY 0x5471
|
||||||
|
#define TIOCSETD 0x7401
|
||||||
|
#define TIOCGETD 0x7400
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define FIOCLEX 0x6601
|
||||||
|
#define FIONCLEX 0x6602
|
||||||
|
#define FIOASYNC 0x667d
|
||||||
|
#define FIONBIO 0x667e
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define FIOQSIZE 0x667f
|
||||||
|
#define TIOCGLTC 0x7474
|
||||||
|
#define TIOCSLTC 0x7475
|
||||||
|
#define TIOCSPGRP _IOW('t', 118, int)
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TIOCGPGRP _IOR('t', 119, int)
|
||||||
|
#define TIOCCONS _IOW('t', 120, int)
|
||||||
|
#define FIONREAD 0x467f
|
||||||
|
#define TIOCINQ FIONREAD
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TIOCGETP 0x7408
|
||||||
|
#define TIOCSETP 0x7409
|
||||||
|
#define TIOCSETN 0x740a
|
||||||
|
#define TIOCSBRK 0x5427
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TIOCCBRK 0x5428
|
||||||
|
#define TIOCGSID 0x7416
|
||||||
|
#define TCGETS2 _IOR('T', 0x2A, struct termios2)
|
||||||
|
#define TCSETS2 _IOW('T', 0x2B, struct termios2)
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TCSETSW2 _IOW('T', 0x2C, struct termios2)
|
||||||
|
#define TCSETSF2 _IOW('T', 0x2D, struct termios2)
|
||||||
|
#define TIOCGPTN _IOR('T', 0x30, unsigned int)
|
||||||
|
#define TIOCSPTLCK _IOW('T', 0x31, int)
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TIOCGDEV _IOR('T', 0x32, unsigned int)
|
||||||
|
#define TIOCSIG _IOW('T', 0x36, int)
|
||||||
|
#define TIOCVHANGUP 0x5437
|
||||||
|
#define TIOCGPKT _IOR('T', 0x38, int)
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TIOCGPTLCK _IOR('T', 0x39, int)
|
||||||
|
#define TIOCGEXCL _IOR('T', 0x40, int)
|
||||||
|
#define TIOCSCTTY 0x5480
|
||||||
|
#define TIOCGSOFTCAR 0x5481
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TIOCSSOFTCAR 0x5482
|
||||||
|
#define TIOCLINUX 0x5483
|
||||||
|
#define TIOCGSERIAL 0x5484
|
||||||
|
#define TIOCSSERIAL 0x5485
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TCSBRKP 0x5486
|
||||||
|
#define TIOCSERCONFIG 0x5488
|
||||||
|
#define TIOCSERGWILD 0x5489
|
||||||
|
#define TIOCSERSWILD 0x548a
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TIOCGLCKTRMIOS 0x548b
|
||||||
|
#define TIOCSLCKTRMIOS 0x548c
|
||||||
|
#define TIOCSERGSTRUCT 0x548d
|
||||||
|
#define TIOCSERGETLSR 0x548e
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TIOCSERGETMULTI 0x548f
|
||||||
|
#define TIOCSERSETMULTI 0x5490
|
||||||
|
#define TIOCMIWAIT 0x5491
|
||||||
|
#define TIOCGICOUNT 0x5492
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#endif
|
||||||
19
ndk/platforms/android-20/arch-mips64/include/asm/ipcbuf.h
Normal file
19
ndk/platforms/android-20/arch-mips64/include/asm/ipcbuf.h
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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!
|
||||||
|
***
|
||||||
|
****************************************************************************
|
||||||
|
****************************************************************************/
|
||||||
|
#include <asm-generic/ipcbuf.h>
|
||||||
101
ndk/platforms/android-20/arch-mips64/include/asm/kvm.h
Normal file
101
ndk/platforms/android-20/arch-mips64/include/asm/kvm.h
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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 __LINUX_KVM_MIPS_H
|
||||||
|
#define __LINUX_KVM_MIPS_H
|
||||||
|
#include <linux/types.h>
|
||||||
|
struct kvm_regs {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u64 gpr[32];
|
||||||
|
__u64 hi;
|
||||||
|
__u64 lo;
|
||||||
|
__u64 pc;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
struct kvm_fpu {
|
||||||
|
__u64 fpr[32];
|
||||||
|
__u32 fir;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u32 fccr;
|
||||||
|
__u32 fexr;
|
||||||
|
__u32 fenr;
|
||||||
|
__u32 fcsr;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u32 pad;
|
||||||
|
};
|
||||||
|
#define KVM_REG_MIPS_R0 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 0)
|
||||||
|
#define KVM_REG_MIPS_R1 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 1)
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define KVM_REG_MIPS_R2 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 2)
|
||||||
|
#define KVM_REG_MIPS_R3 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 3)
|
||||||
|
#define KVM_REG_MIPS_R4 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 4)
|
||||||
|
#define KVM_REG_MIPS_R5 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 5)
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define KVM_REG_MIPS_R6 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 6)
|
||||||
|
#define KVM_REG_MIPS_R7 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 7)
|
||||||
|
#define KVM_REG_MIPS_R8 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 8)
|
||||||
|
#define KVM_REG_MIPS_R9 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 9)
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define KVM_REG_MIPS_R10 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 10)
|
||||||
|
#define KVM_REG_MIPS_R11 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 11)
|
||||||
|
#define KVM_REG_MIPS_R12 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 12)
|
||||||
|
#define KVM_REG_MIPS_R13 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 13)
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define KVM_REG_MIPS_R14 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 14)
|
||||||
|
#define KVM_REG_MIPS_R15 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 15)
|
||||||
|
#define KVM_REG_MIPS_R16 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 16)
|
||||||
|
#define KVM_REG_MIPS_R17 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 17)
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define KVM_REG_MIPS_R18 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 18)
|
||||||
|
#define KVM_REG_MIPS_R19 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 19)
|
||||||
|
#define KVM_REG_MIPS_R20 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 20)
|
||||||
|
#define KVM_REG_MIPS_R21 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 21)
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define KVM_REG_MIPS_R22 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 22)
|
||||||
|
#define KVM_REG_MIPS_R23 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 23)
|
||||||
|
#define KVM_REG_MIPS_R24 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 24)
|
||||||
|
#define KVM_REG_MIPS_R25 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 25)
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define KVM_REG_MIPS_R26 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 26)
|
||||||
|
#define KVM_REG_MIPS_R27 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 27)
|
||||||
|
#define KVM_REG_MIPS_R28 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 28)
|
||||||
|
#define KVM_REG_MIPS_R29 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 29)
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define KVM_REG_MIPS_R30 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 30)
|
||||||
|
#define KVM_REG_MIPS_R31 (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 31)
|
||||||
|
#define KVM_REG_MIPS_HI (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 32)
|
||||||
|
#define KVM_REG_MIPS_LO (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 33)
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define KVM_REG_MIPS_PC (KVM_REG_MIPS | KVM_REG_SIZE_U64 | 34)
|
||||||
|
struct kvm_debug_exit_arch {
|
||||||
|
__u64 epc;
|
||||||
|
};
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct kvm_guest_debug_arch {
|
||||||
|
};
|
||||||
|
struct kvm_sync_regs {
|
||||||
|
};
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct kvm_sregs {
|
||||||
|
};
|
||||||
|
struct kvm_mips_interrupt {
|
||||||
|
__u32 cpu;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u32 irq;
|
||||||
|
};
|
||||||
|
#endif
|
||||||
19
ndk/platforms/android-20/arch-mips64/include/asm/kvm_para.h
Normal file
19
ndk/platforms/android-20/arch-mips64/include/asm/kvm_para.h
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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!
|
||||||
|
***
|
||||||
|
****************************************************************************
|
||||||
|
****************************************************************************/
|
||||||
|
#include <asm-generic/kvm_para.h>
|
||||||
81
ndk/platforms/android-20/arch-mips64/include/asm/mman.h
Normal file
81
ndk/platforms/android-20/arch-mips64/include/asm/mman.h
Normal file
@@ -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_MMAN_H
|
||||||
|
#define _ASM_MMAN_H
|
||||||
|
#define PROT_NONE 0x00
|
||||||
|
#define PROT_READ 0x01
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define PROT_WRITE 0x02
|
||||||
|
#define PROT_EXEC 0x04
|
||||||
|
#define PROT_SEM 0x10
|
||||||
|
#define PROT_GROWSDOWN 0x01000000
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define PROT_GROWSUP 0x02000000
|
||||||
|
#define MAP_SHARED 0x001
|
||||||
|
#define MAP_PRIVATE 0x002
|
||||||
|
#define MAP_TYPE 0x00f
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define MAP_FIXED 0x010
|
||||||
|
#define MAP_RENAME 0x020
|
||||||
|
#define MAP_AUTOGROW 0x040
|
||||||
|
#define MAP_LOCAL 0x080
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define MAP_AUTORSRV 0x100
|
||||||
|
#define MAP_NORESERVE 0x0400
|
||||||
|
#define MAP_ANONYMOUS 0x0800
|
||||||
|
#define MAP_GROWSDOWN 0x1000
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define MAP_DENYWRITE 0x2000
|
||||||
|
#define MAP_EXECUTABLE 0x4000
|
||||||
|
#define MAP_LOCKED 0x8000
|
||||||
|
#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
|
||||||
|
#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
|
||||||
|
#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
|
||||||
|
#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
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define MAP_HUGE_SHIFT 26
|
||||||
|
#define MAP_HUGE_MASK 0x3f
|
||||||
|
#endif
|
||||||
41
ndk/platforms/android-20/arch-mips64/include/asm/msgbuf.h
Normal file
41
ndk/platforms/android-20/arch-mips64/include/asm/msgbuf.h
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_MSGBUF_H
|
||||||
|
#define _ASM_MSGBUF_H
|
||||||
|
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;
|
||||||
|
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;
|
||||||
|
unsigned long __unused4;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
unsigned long __unused5;
|
||||||
|
};
|
||||||
|
#endif
|
||||||
24
ndk/platforms/android-20/arch-mips64/include/asm/param.h
Normal file
24
ndk/platforms/android-20/arch-mips64/include/asm/param.h
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_PARAM_H
|
||||||
|
#define _ASM_PARAM_H
|
||||||
|
#define EXEC_PAGESIZE 65536
|
||||||
|
#include <asm-generic/param.h>
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#endif
|
||||||
25
ndk/platforms/android-20/arch-mips64/include/asm/poll.h
Normal file
25
ndk/platforms/android-20/arch-mips64/include/asm/poll.h
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_POLL_H
|
||||||
|
#define __ASM_POLL_H
|
||||||
|
#define POLLWRNORM POLLOUT
|
||||||
|
#define POLLWRBAND 0x0100
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#include <asm-generic/poll.h>
|
||||||
|
#endif
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_POSIX_TYPES_H
|
||||||
|
#define _ASM_POSIX_TYPES_H
|
||||||
|
#include <asm/sgidefs.h>
|
||||||
|
typedef long __kernel_daddr_t;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define __kernel_daddr_t __kernel_daddr_t
|
||||||
|
#if _MIPS_SZLONG == 32
|
||||||
|
typedef struct {
|
||||||
|
long val[2];
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
} __kernel_fsid_t;
|
||||||
|
#define __kernel_fsid_t __kernel_fsid_t
|
||||||
|
#endif
|
||||||
|
#include <asm-generic/posix_types.h>
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#endif
|
||||||
93
ndk/platforms/android-20/arch-mips64/include/asm/ptrace.h
Normal file
93
ndk/platforms/android-20/arch-mips64/include/asm/ptrace.h
Normal file
@@ -0,0 +1,93 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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 _UAPI_ASM_PTRACE_H
|
||||||
|
#define _UAPI_ASM_PTRACE_H
|
||||||
|
#define FPR_BASE 32
|
||||||
|
#define PC 64
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define CAUSE 65
|
||||||
|
#define BADVADDR 66
|
||||||
|
#define MMHI 67
|
||||||
|
#define MMLO 68
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define FPC_CSR 69
|
||||||
|
#define FPC_EIR 70
|
||||||
|
#define DSP_BASE 71
|
||||||
|
#define DSP_CONTROL 77
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define ACX 78
|
||||||
|
struct pt_regs {
|
||||||
|
unsigned long regs[32];
|
||||||
|
unsigned long cp0_status;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
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_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_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_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_POKEDATA_3264 0xc3
|
||||||
|
#define PTRACE_GET_THREAD_AREA_3264 0xc4
|
||||||
|
enum pt_watch_style {
|
||||||
|
pt_watch_style_mips32,
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
pt_watch_style_mips64
|
||||||
|
};
|
||||||
|
struct mips32_watch_regs {
|
||||||
|
unsigned int watchlo[8];
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
unsigned short watchhi[8];
|
||||||
|
unsigned short watch_masks[8];
|
||||||
|
unsigned int num_valid;
|
||||||
|
} __attribute__((aligned(8)));
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct mips64_watch_regs {
|
||||||
|
unsigned long long watchlo[8];
|
||||||
|
unsigned short watchhi[8];
|
||||||
|
unsigned short watch_masks[8];
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
unsigned int num_valid;
|
||||||
|
} __attribute__((aligned(8)));
|
||||||
|
struct pt_watch_regs {
|
||||||
|
enum pt_watch_style style;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
union {
|
||||||
|
struct mips32_watch_regs mips32;
|
||||||
|
struct mips64_watch_regs mips64;
|
||||||
|
};
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
#define PTRACE_GET_WATCH_REGS 0xd0
|
||||||
|
#define PTRACE_SET_WATCH_REGS 0xd1
|
||||||
|
#endif
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
30
ndk/platforms/android-20/arch-mips64/include/asm/resource.h
Normal file
30
ndk/platforms/android-20/arch-mips64/include/asm/resource.h
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_RESOURCE_H
|
||||||
|
#define _ASM_RESOURCE_H
|
||||||
|
#define RLIMIT_NOFILE 5
|
||||||
|
#define RLIMIT_AS 6
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define RLIMIT_RSS 7
|
||||||
|
#define RLIMIT_NPROC 8
|
||||||
|
#define RLIMIT_MEMLOCK 9
|
||||||
|
#define RLIM_INFINITY 0x7fffffffUL
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#include <asm-generic/resource.h>
|
||||||
|
#endif
|
||||||
31
ndk/platforms/android-20/arch-mips64/include/asm/sembuf.h
Normal file
31
ndk/platforms/android-20/arch-mips64/include/asm/sembuf.h
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_SEMBUF_H
|
||||||
|
#define _ASM_SEMBUF_H
|
||||||
|
struct semid64_ds {
|
||||||
|
struct ipc64_perm sem_perm;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__kernel_time_t sem_otime;
|
||||||
|
__kernel_time_t sem_ctime;
|
||||||
|
unsigned long sem_nsems;
|
||||||
|
unsigned long __unused1;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
unsigned long __unused2;
|
||||||
|
};
|
||||||
|
#endif
|
||||||
23
ndk/platforms/android-20/arch-mips64/include/asm/setup.h
Normal file
23
ndk/platforms/android-20/arch-mips64/include/asm/setup.h
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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 _UAPI_MIPS_SETUP_H
|
||||||
|
#define _UAPI_MIPS_SETUP_H
|
||||||
|
#define COMMAND_LINE_SIZE 4096
|
||||||
|
#endif
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
38
ndk/platforms/android-20/arch-mips64/include/asm/sgidefs.h
Normal file
38
ndk/platforms/android-20/arch-mips64/include/asm/sgidefs.h
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_SGIDEFS_H
|
||||||
|
#define __ASM_SGIDEFS_H
|
||||||
|
#ifndef __linux__
|
||||||
|
#error Use a Linux compiler or give up.
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#endif
|
||||||
|
#define _MIPS_ISA_MIPS1 1
|
||||||
|
#define _MIPS_ISA_MIPS2 2
|
||||||
|
#define _MIPS_ISA_MIPS3 3
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define _MIPS_ISA_MIPS4 4
|
||||||
|
#define _MIPS_ISA_MIPS5 5
|
||||||
|
#define _MIPS_ISA_MIPS32 6
|
||||||
|
#define _MIPS_ISA_MIPS64 7
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define _MIPS_SIM_ABI32 1
|
||||||
|
#define _MIPS_SIM_NABI32 2
|
||||||
|
#define _MIPS_SIM_ABI64 3
|
||||||
|
#endif
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
50
ndk/platforms/android-20/arch-mips64/include/asm/shmbuf.h
Normal file
50
ndk/platforms/android-20/arch-mips64/include/asm/shmbuf.h
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_SHMBUF_H
|
||||||
|
#define _ASM_SHMBUF_H
|
||||||
|
struct shmid64_ds {
|
||||||
|
struct ipc64_perm shm_perm;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
size_t shm_segsz;
|
||||||
|
__kernel_time_t shm_atime;
|
||||||
|
__kernel_time_t shm_dtime;
|
||||||
|
__kernel_time_t shm_ctime;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__kernel_pid_t shm_cpid;
|
||||||
|
__kernel_pid_t shm_lpid;
|
||||||
|
unsigned long shm_nattch;
|
||||||
|
unsigned long __unused1;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
unsigned long __unused2;
|
||||||
|
};
|
||||||
|
struct shminfo64 {
|
||||||
|
unsigned long shmmax;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
unsigned long shmmin;
|
||||||
|
unsigned long shmmni;
|
||||||
|
unsigned long shmseg;
|
||||||
|
unsigned long shmall;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
unsigned long __unused1;
|
||||||
|
unsigned long __unused2;
|
||||||
|
unsigned long __unused3;
|
||||||
|
unsigned long __unused4;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
#endif
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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 _UAPI_ASM_SIGCONTEXT_H
|
||||||
|
#define _UAPI_ASM_SIGCONTEXT_H
|
||||||
|
#include <linux/types.h>
|
||||||
|
#include <asm/sgidefs.h>
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#if _MIPS_SIM == _MIPS_SIM_ABI32
|
||||||
|
struct sigcontext {
|
||||||
|
unsigned int sc_regmask;
|
||||||
|
unsigned int sc_status;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
unsigned long long sc_pc;
|
||||||
|
unsigned long long sc_regs[32];
|
||||||
|
unsigned long long sc_fpregs[32];
|
||||||
|
unsigned int sc_acx;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
unsigned int sc_fpc_csr;
|
||||||
|
unsigned int sc_fpc_eir;
|
||||||
|
unsigned int sc_used_math;
|
||||||
|
unsigned int sc_dsp;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
unsigned long long sc_mdhi;
|
||||||
|
unsigned long long sc_mdlo;
|
||||||
|
unsigned long sc_hi1;
|
||||||
|
unsigned long sc_lo1;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
unsigned long sc_hi2;
|
||||||
|
unsigned long sc_lo2;
|
||||||
|
unsigned long sc_hi3;
|
||||||
|
unsigned long sc_lo3;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
#endif
|
||||||
|
#if _MIPS_SIM == _MIPS_SIM_ABI64 || _MIPS_SIM == _MIPS_SIM_NABI32
|
||||||
|
#include <linux/posix_types.h>
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct sigcontext {
|
||||||
|
__u64 sc_regs[32];
|
||||||
|
__u64 sc_fpregs[32];
|
||||||
|
__u64 sc_mdhi;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u64 sc_hi1;
|
||||||
|
__u64 sc_hi2;
|
||||||
|
__u64 sc_hi3;
|
||||||
|
__u64 sc_mdlo;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u64 sc_lo1;
|
||||||
|
__u64 sc_lo2;
|
||||||
|
__u64 sc_lo3;
|
||||||
|
__u64 sc_pc;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u32 sc_fpc_csr;
|
||||||
|
__u32 sc_used_math;
|
||||||
|
__u32 sc_dsp;
|
||||||
|
__u32 sc_reserved;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
99
ndk/platforms/android-20/arch-mips64/include/asm/siginfo.h
Normal file
99
ndk/platforms/android-20/arch-mips64/include/asm/siginfo.h
Normal file
@@ -0,0 +1,99 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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 _UAPI_ASM_SIGINFO_H
|
||||||
|
#define _UAPI_ASM_SIGINFO_H
|
||||||
|
#define __ARCH_SIGEV_PREAMBLE_SIZE (sizeof(long) + 2*sizeof(int))
|
||||||
|
#undef __ARCH_SI_TRAPNO
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define HAVE_ARCH_SIGINFO_T
|
||||||
|
#define HAVE_ARCH_COPY_SIGINFO
|
||||||
|
struct siginfo;
|
||||||
|
#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;
|
||||||
|
/* 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];
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct {
|
||||||
|
pid_t _pid;
|
||||||
|
__ARCH_SI_UID_T _uid;
|
||||||
|
} _kill;
|
||||||
|
/* 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)];
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
sigval_t _sigval;
|
||||||
|
int _sys_private;
|
||||||
|
} _timer;
|
||||||
|
struct {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
pid_t _pid;
|
||||||
|
__ARCH_SI_UID_T _uid;
|
||||||
|
sigval_t _sigval;
|
||||||
|
} _rt;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct {
|
||||||
|
pid_t _pid;
|
||||||
|
__ARCH_SI_UID_T _uid;
|
||||||
|
int _status;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
clock_t _utime;
|
||||||
|
clock_t _stime;
|
||||||
|
} _sigchld;
|
||||||
|
struct {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
pid_t _pid;
|
||||||
|
clock_t _utime;
|
||||||
|
int _status;
|
||||||
|
clock_t _stime;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
} _irix_sigchld;
|
||||||
|
struct {
|
||||||
|
void __user *_addr;
|
||||||
|
#ifdef __ARCH_SI_TRAPNO
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
int _trapno;
|
||||||
|
#endif
|
||||||
|
short _addr_lsb;
|
||||||
|
} _sigfault;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct {
|
||||||
|
__ARCH_SI_BAND_T _band;
|
||||||
|
int _fd;
|
||||||
|
} _sigpoll;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
} _sifields;
|
||||||
|
} siginfo_t;
|
||||||
|
#undef SI_ASYNCIO
|
||||||
|
#undef SI_TIMER
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#undef SI_MESGQ
|
||||||
|
#define SI_ASYNCIO -2
|
||||||
|
#define SI_TIMER __SI_CODE(__SI_TIMER, -3)
|
||||||
|
#define SI_MESGQ __SI_CODE(__SI_MESGQ, -4)
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#endif
|
||||||
108
ndk/platforms/android-20/arch-mips64/include/asm/signal.h
Normal file
108
ndk/platforms/android-20/arch-mips64/include/asm/signal.h
Normal file
@@ -0,0 +1,108 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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 _UAPI_ASM_SIGNAL_H
|
||||||
|
#define _UAPI_ASM_SIGNAL_H
|
||||||
|
#include <linux/types.h>
|
||||||
|
#define _NSIG 128
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define _NSIG_BPW (sizeof(unsigned long) * 8)
|
||||||
|
#define _NSIG_WORDS (_NSIG / _NSIG_BPW)
|
||||||
|
typedef struct {
|
||||||
|
unsigned long sig[_NSIG_WORDS];
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
} sigset_t;
|
||||||
|
typedef unsigned long old_sigset_t;
|
||||||
|
#define SIGHUP 1
|
||||||
|
#define SIGINT 2
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define SIGQUIT 3
|
||||||
|
#define SIGILL 4
|
||||||
|
#define SIGTRAP 5
|
||||||
|
#define SIGIOT 6
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define SIGABRT SIGIOT
|
||||||
|
#define SIGEMT 7
|
||||||
|
#define SIGFPE 8
|
||||||
|
#define SIGKILL 9
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define SIGBUS 10
|
||||||
|
#define SIGSEGV 11
|
||||||
|
#define SIGSYS 12
|
||||||
|
#define SIGPIPE 13
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define SIGALRM 14
|
||||||
|
#define SIGTERM 15
|
||||||
|
#define SIGUSR1 16
|
||||||
|
#define SIGUSR2 17
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define SIGCHLD 18
|
||||||
|
#define SIGCLD SIGCHLD
|
||||||
|
#define SIGPWR 19
|
||||||
|
#define SIGWINCH 20
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define SIGURG 21
|
||||||
|
#define SIGIO 22
|
||||||
|
#define SIGPOLL SIGIO
|
||||||
|
#define SIGSTOP 23
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define SIGTSTP 24
|
||||||
|
#define SIGCONT 25
|
||||||
|
#define SIGTTIN 26
|
||||||
|
#define SIGTTOU 27
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define SIGVTALRM 28
|
||||||
|
#define SIGPROF 29
|
||||||
|
#define SIGXCPU 30
|
||||||
|
#define SIGXFSZ 31
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define SIGRTMIN 32
|
||||||
|
#define SIGRTMAX _NSIG
|
||||||
|
#define SA_ONSTACK 0x08000000
|
||||||
|
#define SA_RESETHAND 0x80000000
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define SA_RESTART 0x10000000
|
||||||
|
#define SA_SIGINFO 0x00000008
|
||||||
|
#define SA_NODEFER 0x40000000
|
||||||
|
#define SA_NOCLDWAIT 0x00010000
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define SA_NOCLDSTOP 0x00000001
|
||||||
|
#define SA_NOMASK SA_NODEFER
|
||||||
|
#define SA_ONESHOT SA_RESETHAND
|
||||||
|
#define MINSIGSTKSZ 2048
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define SIGSTKSZ 8192
|
||||||
|
#define SIG_BLOCK 1
|
||||||
|
#define SIG_UNBLOCK 2
|
||||||
|
#define SIG_SETMASK 3
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#include <asm-generic/signal-defs.h>
|
||||||
|
struct sigaction {
|
||||||
|
unsigned int sa_flags;
|
||||||
|
__sighandler_t sa_handler;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
sigset_t sa_mask;
|
||||||
|
};
|
||||||
|
typedef struct sigaltstack {
|
||||||
|
void __user *ss_sp;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
size_t ss_size;
|
||||||
|
int ss_flags;
|
||||||
|
} stack_t;
|
||||||
|
#endif
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
88
ndk/platforms/android-20/arch-mips64/include/asm/socket.h
Normal file
88
ndk/platforms/android-20/arch-mips64/include/asm/socket.h
Normal file
@@ -0,0 +1,88 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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 _UAPI_ASM_SOCKET_H
|
||||||
|
#define _UAPI_ASM_SOCKET_H
|
||||||
|
#include <asm/sockios.h>
|
||||||
|
#define SOL_SOCKET 0xffff
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define SO_DEBUG 0x0001
|
||||||
|
#define SO_REUSEADDR 0x0004
|
||||||
|
#define SO_KEEPALIVE 0x0008
|
||||||
|
#define SO_DONTROUTE 0x0010
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define SO_BROADCAST 0x0020
|
||||||
|
#define SO_LINGER 0x0080
|
||||||
|
#define SO_OOBINLINE 0x0100
|
||||||
|
#define SO_REUSEPORT 0x0200
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define SO_TYPE 0x1008
|
||||||
|
#define SO_STYLE SO_TYPE
|
||||||
|
#define SO_ERROR 0x1007
|
||||||
|
#define SO_SNDBUF 0x1001
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define SO_RCVBUF 0x1002
|
||||||
|
#define SO_SNDLOWAT 0x1003
|
||||||
|
#define SO_RCVLOWAT 0x1004
|
||||||
|
#define SO_SNDTIMEO 0x1005
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define SO_RCVTIMEO 0x1006
|
||||||
|
#define SO_ACCEPTCONN 0x1009
|
||||||
|
#define SO_PROTOCOL 0x1028
|
||||||
|
#define SO_DOMAIN 0x1029
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define SO_NO_CHECK 11
|
||||||
|
#define SO_PRIORITY 12
|
||||||
|
#define SO_BSDCOMPAT 14
|
||||||
|
#define SO_PASSCRED 17
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define SO_PEERCRED 18
|
||||||
|
#define SO_SECURITY_AUTHENTICATION 22
|
||||||
|
#define SO_SECURITY_ENCRYPTION_TRANSPORT 23
|
||||||
|
#define SO_SECURITY_ENCRYPTION_NETWORK 24
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define SO_BINDTODEVICE 25
|
||||||
|
#define SO_ATTACH_FILTER 26
|
||||||
|
#define SO_DETACH_FILTER 27
|
||||||
|
#define SO_GET_FILTER SO_ATTACH_FILTER
|
||||||
|
/* 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_PEERSEC 30
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define SO_SNDBUFFORCE 31
|
||||||
|
#define SO_RCVBUFFORCE 33
|
||||||
|
#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
|
||||||
|
#define SO_TIMESTAMPING 37
|
||||||
|
#define SCM_TIMESTAMPING SO_TIMESTAMPING
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define SO_RXQ_OVFL 40
|
||||||
|
#define SO_WIFI_STATUS 41
|
||||||
|
#define SCM_WIFI_STATUS SO_WIFI_STATUS
|
||||||
|
#define SO_PEEK_OFF 42
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define SO_NOFCS 43
|
||||||
|
#define SO_LOCK_FILTER 44
|
||||||
|
#define SO_SELECT_ERR_QUEUE 45
|
||||||
|
#endif
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
31
ndk/platforms/android-20/arch-mips64/include/asm/sockios.h
Normal file
31
ndk/platforms/android-20/arch-mips64/include/asm/sockios.h
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_SOCKIOS_H
|
||||||
|
#define _ASM_SOCKIOS_H
|
||||||
|
#include <asm/ioctl.h>
|
||||||
|
#define FIOGETOWN _IOR('f', 123, int)
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define FIOSETOWN _IOW('f', 124, int)
|
||||||
|
#define SIOCATMARK _IOR('s', 7, int)
|
||||||
|
#define SIOCSPGRP _IOW('s', 8, pid_t)
|
||||||
|
#define SIOCGPGRP _IOR('s', 9, pid_t)
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define SIOCGSTAMP 0x8906
|
||||||
|
#define SIOCGSTAMPNS 0x8907
|
||||||
|
#endif
|
||||||
110
ndk/platforms/android-20/arch-mips64/include/asm/stat.h
Normal file
110
ndk/platforms/android-20/arch-mips64/include/asm/stat.h
Normal file
@@ -0,0 +1,110 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_STAT_H
|
||||||
|
#define _ASM_STAT_H
|
||||||
|
#include <linux/types.h>
|
||||||
|
#include <asm/sgidefs.h>
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#if _MIPS_SIM == _MIPS_SIM_ABI32 || _MIPS_SIM == _MIPS_SIM_NABI32
|
||||||
|
struct stat {
|
||||||
|
unsigned st_dev;
|
||||||
|
long st_pad1[3];
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
ino_t st_ino;
|
||||||
|
mode_t st_mode;
|
||||||
|
__u32 st_nlink;
|
||||||
|
uid_t st_uid;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
gid_t st_gid;
|
||||||
|
unsigned st_rdev;
|
||||||
|
long st_pad2[2];
|
||||||
|
__kernel_off_t st_size;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
long st_pad3;
|
||||||
|
time_t st_atime;
|
||||||
|
long st_atime_nsec;
|
||||||
|
time_t st_mtime;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
long st_mtime_nsec;
|
||||||
|
time_t st_ctime;
|
||||||
|
long st_ctime_nsec;
|
||||||
|
long st_blksize;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
long st_blocks;
|
||||||
|
long st_pad4[14];
|
||||||
|
};
|
||||||
|
struct stat64 {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
unsigned long st_dev;
|
||||||
|
unsigned long st_pad0[3];
|
||||||
|
unsigned long long st_ino;
|
||||||
|
mode_t st_mode;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u32 st_nlink;
|
||||||
|
uid_t st_uid;
|
||||||
|
gid_t st_gid;
|
||||||
|
unsigned long st_rdev;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
unsigned long st_pad1[3];
|
||||||
|
long long st_size;
|
||||||
|
time_t st_atime;
|
||||||
|
unsigned long st_atime_nsec;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
time_t st_mtime;
|
||||||
|
unsigned long st_mtime_nsec;
|
||||||
|
time_t st_ctime;
|
||||||
|
unsigned long st_ctime_nsec;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
unsigned long st_blksize;
|
||||||
|
unsigned long st_pad2;
|
||||||
|
long long st_blocks;
|
||||||
|
};
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#endif
|
||||||
|
#if _MIPS_SIM == _MIPS_SIM_ABI64
|
||||||
|
struct stat {
|
||||||
|
unsigned int st_dev;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
unsigned int st_pad0[3];
|
||||||
|
unsigned long st_ino;
|
||||||
|
mode_t st_mode;
|
||||||
|
__u32 st_nlink;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
uid_t st_uid;
|
||||||
|
gid_t st_gid;
|
||||||
|
unsigned int st_rdev;
|
||||||
|
unsigned int st_pad1[3];
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__kernel_off_t st_size;
|
||||||
|
unsigned int st_atime;
|
||||||
|
unsigned int st_atime_nsec;
|
||||||
|
unsigned int st_mtime;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
unsigned int st_mtime_nsec;
|
||||||
|
unsigned int st_ctime;
|
||||||
|
unsigned int st_ctime_nsec;
|
||||||
|
unsigned int st_blksize;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
unsigned int st_pad2;
|
||||||
|
unsigned long st_blocks;
|
||||||
|
};
|
||||||
|
#endif
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define STAT_HAVE_NSEC 1
|
||||||
|
#endif
|
||||||
103
ndk/platforms/android-20/arch-mips64/include/asm/statfs.h
Normal file
103
ndk/platforms/android-20/arch-mips64/include/asm/statfs.h
Normal file
@@ -0,0 +1,103 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_STATFS_H
|
||||||
|
#define _ASM_STATFS_H
|
||||||
|
#include <linux/posix_types.h>
|
||||||
|
#include <asm/sgidefs.h>
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct statfs {
|
||||||
|
long f_type;
|
||||||
|
#define f_fstyp f_type
|
||||||
|
long f_bsize;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
long f_frsize;
|
||||||
|
long f_blocks;
|
||||||
|
long f_bfree;
|
||||||
|
long f_files;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
long f_ffree;
|
||||||
|
long f_bavail;
|
||||||
|
__kernel_fsid_t f_fsid;
|
||||||
|
long f_namelen;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
long f_flags;
|
||||||
|
long f_spare[5];
|
||||||
|
};
|
||||||
|
#if _MIPS_SIM == _MIPS_SIM_ABI32 || _MIPS_SIM == _MIPS_SIM_NABI32
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct statfs64 {
|
||||||
|
__u32 f_type;
|
||||||
|
__u32 f_bsize;
|
||||||
|
__u32 f_frsize;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u32 __pad;
|
||||||
|
__u64 f_blocks;
|
||||||
|
__u64 f_bfree;
|
||||||
|
__u64 f_files;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u64 f_ffree;
|
||||||
|
__u64 f_bavail;
|
||||||
|
__kernel_fsid_t f_fsid;
|
||||||
|
__u32 f_namelen;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u32 f_flags;
|
||||||
|
__u32 f_spare[5];
|
||||||
|
};
|
||||||
|
#endif
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#if _MIPS_SIM == _MIPS_SIM_ABI64
|
||||||
|
struct statfs64 {
|
||||||
|
long f_type;
|
||||||
|
long f_bsize;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
long f_frsize;
|
||||||
|
long f_blocks;
|
||||||
|
long f_bfree;
|
||||||
|
long f_files;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
long f_ffree;
|
||||||
|
long f_bavail;
|
||||||
|
__kernel_fsid_t f_fsid;
|
||||||
|
long f_namelen;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
long f_flags;
|
||||||
|
long f_spare[5];
|
||||||
|
};
|
||||||
|
struct compat_statfs64 {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u32 f_type;
|
||||||
|
__u32 f_bsize;
|
||||||
|
__u32 f_frsize;
|
||||||
|
__u32 __pad;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u64 f_blocks;
|
||||||
|
__u64 f_bfree;
|
||||||
|
__u64 f_files;
|
||||||
|
__u64 f_ffree;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u64 f_bavail;
|
||||||
|
__kernel_fsid_t f_fsid;
|
||||||
|
__u32 f_namelen;
|
||||||
|
__u32 f_flags;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
__u32 f_spare[5];
|
||||||
|
};
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
25
ndk/platforms/android-20/arch-mips64/include/asm/swab.h
Normal file
25
ndk/platforms/android-20/arch-mips64/include/asm/swab.h
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_SWAB_H
|
||||||
|
#define _ASM_SWAB_H
|
||||||
|
#include <linux/compiler.h>
|
||||||
|
#include <linux/types.h>
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define __SWAB_64_THRU_32__
|
||||||
|
#endif
|
||||||
28
ndk/platforms/android-20/arch-mips64/include/asm/sysmips.h
Normal file
28
ndk/platforms/android-20/arch-mips64/include/asm/sysmips.h
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_SYSMIPS_H
|
||||||
|
#define _ASM_SYSMIPS_H
|
||||||
|
#define SETNAME 1
|
||||||
|
#define FLUSH_CACHE 3
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define MIPS_FIXADE 7
|
||||||
|
#define MIPS_RDNVRAM 10
|
||||||
|
#define MIPS_ATOMIC_SET 2001
|
||||||
|
#endif
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
241
ndk/platforms/android-20/arch-mips64/include/asm/termbits.h
Normal file
241
ndk/platforms/android-20/arch-mips64/include/asm/termbits.h
Normal file
@@ -0,0 +1,241 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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_TERMBITS_H
|
||||||
|
#define _ASM_TERMBITS_H
|
||||||
|
#include <linux/posix_types.h>
|
||||||
|
typedef unsigned char cc_t;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
typedef unsigned int speed_t;
|
||||||
|
typedef unsigned int tcflag_t;
|
||||||
|
#define NCCS 23
|
||||||
|
struct termios {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
tcflag_t c_iflag;
|
||||||
|
tcflag_t c_oflag;
|
||||||
|
tcflag_t c_cflag;
|
||||||
|
tcflag_t c_lflag;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
cc_t c_line;
|
||||||
|
cc_t c_cc[NCCS];
|
||||||
|
};
|
||||||
|
struct termios2 {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
tcflag_t c_iflag;
|
||||||
|
tcflag_t c_oflag;
|
||||||
|
tcflag_t c_cflag;
|
||||||
|
tcflag_t c_lflag;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
cc_t c_line;
|
||||||
|
cc_t c_cc[NCCS];
|
||||||
|
speed_t c_ispeed;
|
||||||
|
speed_t c_ospeed;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
};
|
||||||
|
struct ktermios {
|
||||||
|
tcflag_t c_iflag;
|
||||||
|
tcflag_t c_oflag;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
tcflag_t c_cflag;
|
||||||
|
tcflag_t c_lflag;
|
||||||
|
cc_t c_line;
|
||||||
|
cc_t c_cc[NCCS];
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
speed_t c_ispeed;
|
||||||
|
speed_t c_ospeed;
|
||||||
|
};
|
||||||
|
#define VINTR 0
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define VQUIT 1
|
||||||
|
#define VERASE 2
|
||||||
|
#define VKILL 3
|
||||||
|
#define VMIN 4
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define VTIME 5
|
||||||
|
#define VEOL2 6
|
||||||
|
#define VSWTC 7
|
||||||
|
#define VSWTCH VSWTC
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define VSTART 8
|
||||||
|
#define VSTOP 9
|
||||||
|
#define VSUSP 10
|
||||||
|
#define VREPRINT 12
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define VDISCARD 13
|
||||||
|
#define VWERASE 14
|
||||||
|
#define VLNEXT 15
|
||||||
|
#define VEOF 16
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define VEOL 17
|
||||||
|
#define IGNBRK 0000001
|
||||||
|
#define BRKINT 0000002
|
||||||
|
#define IGNPAR 0000004
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define PARMRK 0000010
|
||||||
|
#define INPCK 0000020
|
||||||
|
#define ISTRIP 0000040
|
||||||
|
#define INLCR 0000100
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define IGNCR 0000200
|
||||||
|
#define ICRNL 0000400
|
||||||
|
#define IUCLC 0001000
|
||||||
|
#define IXON 0002000
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define IXANY 0004000
|
||||||
|
#define IXOFF 0010000
|
||||||
|
#define IMAXBEL 0020000
|
||||||
|
#define IUTF8 0040000
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define OPOST 0000001
|
||||||
|
#define OLCUC 0000002
|
||||||
|
#define ONLCR 0000004
|
||||||
|
#define OCRNL 0000010
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define ONOCR 0000020
|
||||||
|
#define ONLRET 0000040
|
||||||
|
#define OFILL 0000100
|
||||||
|
#define OFDEL 0000200
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define NLDLY 0000400
|
||||||
|
#define NL0 0000000
|
||||||
|
#define NL1 0000400
|
||||||
|
#define CRDLY 0003000
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define CR0 0000000
|
||||||
|
#define CR1 0001000
|
||||||
|
#define CR2 0002000
|
||||||
|
#define CR3 0003000
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TABDLY 0014000
|
||||||
|
#define TAB0 0000000
|
||||||
|
#define TAB1 0004000
|
||||||
|
#define TAB2 0010000
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TAB3 0014000
|
||||||
|
#define XTABS 0014000
|
||||||
|
#define BSDLY 0020000
|
||||||
|
#define BS0 0000000
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define BS1 0020000
|
||||||
|
#define VTDLY 0040000
|
||||||
|
#define VT0 0000000
|
||||||
|
#define VT1 0040000
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define FFDLY 0100000
|
||||||
|
#define FF0 0000000
|
||||||
|
#define FF1 0100000
|
||||||
|
#define CBAUD 0010017
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define B0 0000000
|
||||||
|
#define B50 0000001
|
||||||
|
#define B75 0000002
|
||||||
|
#define B110 0000003
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define B134 0000004
|
||||||
|
#define B150 0000005
|
||||||
|
#define B200 0000006
|
||||||
|
#define B300 0000007
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define B600 0000010
|
||||||
|
#define B1200 0000011
|
||||||
|
#define B1800 0000012
|
||||||
|
#define B2400 0000013
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define B4800 0000014
|
||||||
|
#define B9600 0000015
|
||||||
|
#define B19200 0000016
|
||||||
|
#define B38400 0000017
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define EXTA B19200
|
||||||
|
#define EXTB B38400
|
||||||
|
#define CSIZE 0000060
|
||||||
|
#define CS5 0000000
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define CS6 0000020
|
||||||
|
#define CS7 0000040
|
||||||
|
#define CS8 0000060
|
||||||
|
#define CSTOPB 0000100
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define CREAD 0000200
|
||||||
|
#define PARENB 0000400
|
||||||
|
#define PARODD 0001000
|
||||||
|
#define HUPCL 0002000
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define CLOCAL 0004000
|
||||||
|
#define CBAUDEX 0010000
|
||||||
|
#define BOTHER 0010000
|
||||||
|
#define B57600 0010001
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define B115200 0010002
|
||||||
|
#define B230400 0010003
|
||||||
|
#define B460800 0010004
|
||||||
|
#define B500000 0010005
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define B576000 0010006
|
||||||
|
#define B921600 0010007
|
||||||
|
#define B1000000 0010010
|
||||||
|
#define B1152000 0010011
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define B1500000 0010012
|
||||||
|
#define B2000000 0010013
|
||||||
|
#define B2500000 0010014
|
||||||
|
#define B3000000 0010015
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define B3500000 0010016
|
||||||
|
#define B4000000 0010017
|
||||||
|
#define CIBAUD 002003600000
|
||||||
|
#define CMSPAR 010000000000
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define CRTSCTS 020000000000
|
||||||
|
#define IBSHIFT 16
|
||||||
|
#define ISIG 0000001
|
||||||
|
#define ICANON 0000002
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define XCASE 0000004
|
||||||
|
#define ECHO 0000010
|
||||||
|
#define ECHOE 0000020
|
||||||
|
#define ECHOK 0000040
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define ECHONL 0000100
|
||||||
|
#define NOFLSH 0000200
|
||||||
|
#define IEXTEN 0000400
|
||||||
|
#define ECHOCTL 0001000
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define ECHOPRT 0002000
|
||||||
|
#define ECHOKE 0004000
|
||||||
|
#define FLUSHO 0020000
|
||||||
|
#define PENDIN 0040000
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TOSTOP 0100000
|
||||||
|
#define ITOSTOP TOSTOP
|
||||||
|
#define EXTPROC 0200000
|
||||||
|
#define TIOCSER_TEMT 0x01
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TCOOFF 0
|
||||||
|
#define TCOON 1
|
||||||
|
#define TCIOFF 2
|
||||||
|
#define TCION 3
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TCIFLUSH 0
|
||||||
|
#define TCOFLUSH 1
|
||||||
|
#define TCIOFLUSH 2
|
||||||
|
#define TCSANOW TCSETS
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TCSADRAIN TCSETSW
|
||||||
|
#define TCSAFLUSH TCSETSF
|
||||||
|
#endif
|
||||||
90
ndk/platforms/android-20/arch-mips64/include/asm/termios.h
Normal file
90
ndk/platforms/android-20/arch-mips64/include/asm/termios.h
Normal file
@@ -0,0 +1,90 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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 _UAPI_ASM_TERMIOS_H
|
||||||
|
#define _UAPI_ASM_TERMIOS_H
|
||||||
|
#include <linux/errno.h>
|
||||||
|
#include <asm/termbits.h>
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#include <asm/ioctls.h>
|
||||||
|
struct sgttyb {
|
||||||
|
char sg_ispeed;
|
||||||
|
char sg_ospeed;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
char sg_erase;
|
||||||
|
char sg_kill;
|
||||||
|
int sg_flags;
|
||||||
|
};
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct tchars {
|
||||||
|
char t_intrc;
|
||||||
|
char t_quitc;
|
||||||
|
char t_startc;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
char t_stopc;
|
||||||
|
char t_eofc;
|
||||||
|
char t_brkc;
|
||||||
|
};
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct ltchars {
|
||||||
|
char t_suspc;
|
||||||
|
char t_dsuspc;
|
||||||
|
char t_rprntc;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
char t_flushc;
|
||||||
|
char t_werasc;
|
||||||
|
char t_lnextc;
|
||||||
|
};
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
struct winsize {
|
||||||
|
unsigned short ws_row;
|
||||||
|
unsigned short ws_col;
|
||||||
|
unsigned short ws_xpixel;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
unsigned short ws_ypixel;
|
||||||
|
};
|
||||||
|
#define NCC 8
|
||||||
|
struct termio {
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
unsigned short c_iflag;
|
||||||
|
unsigned short c_oflag;
|
||||||
|
unsigned short c_cflag;
|
||||||
|
unsigned short c_lflag;
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
char c_line;
|
||||||
|
unsigned char c_cc[NCCS];
|
||||||
|
};
|
||||||
|
#define TIOCM_LE 0x001
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TIOCM_DTR 0x002
|
||||||
|
#define TIOCM_RTS 0x004
|
||||||
|
#define TIOCM_ST 0x010
|
||||||
|
#define TIOCM_SR 0x020
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TIOCM_CTS 0x040
|
||||||
|
#define TIOCM_CAR 0x100
|
||||||
|
#define TIOCM_CD TIOCM_CAR
|
||||||
|
#define TIOCM_RNG 0x200
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TIOCM_RI TIOCM_RNG
|
||||||
|
#define TIOCM_DSR 0x400
|
||||||
|
#define TIOCM_OUT1 0x2000
|
||||||
|
#define TIOCM_OUT2 0x4000
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#define TIOCM_LOOP 0x8000
|
||||||
|
#endif
|
||||||
28
ndk/platforms/android-20/arch-mips64/include/asm/types.h
Normal file
28
ndk/platforms/android-20/arch-mips64/include/asm/types.h
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
****************************************************************************
|
||||||
|
***
|
||||||
|
*** 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 _UAPI_ASM_TYPES_H
|
||||||
|
#define _UAPI_ASM_TYPES_H
|
||||||
|
#if _MIPS_SZLONG == 64
|
||||||
|
#include <asm-generic/int-l64.h>
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
|
#else
|
||||||
|
#include <asm-generic/int-ll64.h>
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
||||||
1255
ndk/platforms/android-20/arch-mips64/include/asm/unistd.h
Normal file
1255
ndk/platforms/android-20/arch-mips64/include/asm/unistd.h
Normal file
File diff suppressed because it is too large
Load Diff
225
ndk/platforms/android-20/arch-mips64/include/fenv.h
Normal file
225
ndk/platforms/android-20/arch-mips64/include/fenv.h
Normal file
@@ -0,0 +1,225 @@
|
|||||||
|
/*-
|
||||||
|
* 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/arm/fenv.h,v 1.5 2005/03/16 19:03:45 das Exp $
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
Rewritten for Android.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* MIPS FPU floating point control register bits.
|
||||||
|
*
|
||||||
|
* 31-25 -> floating point conditions code bits set by FP compare
|
||||||
|
* instructions
|
||||||
|
* 24 -> flush denormalized results to zero instead of
|
||||||
|
* causing unimplemented operation exception.
|
||||||
|
* 23 -> Condition bit
|
||||||
|
* 22 -> In conjunction with FS detects denormalized
|
||||||
|
* operands and replaces them internally with 0.
|
||||||
|
* 21 -> In conjunction with FS forces denormalized operands
|
||||||
|
* to the closest normalized value.
|
||||||
|
* 20-18 -> reserved (read as 0, write with 0)
|
||||||
|
* 17 -> cause bit for unimplemented operation
|
||||||
|
* 16 -> cause bit for invalid exception
|
||||||
|
* 15 -> cause bit for division by zero exception
|
||||||
|
* 14 -> cause bit for overflow exception
|
||||||
|
* 13 -> cause bit for underflow exception
|
||||||
|
* 12 -> cause bit for inexact exception
|
||||||
|
* 11 -> enable exception for invalid exception
|
||||||
|
* 10 -> enable exception for division by zero exception
|
||||||
|
* 9 -> enable exception for overflow exception
|
||||||
|
* 8 -> enable exception for underflow exception
|
||||||
|
* 7 -> enable exception for inexact exception
|
||||||
|
* 6 -> flag invalid exception
|
||||||
|
* 5 -> flag division by zero exception
|
||||||
|
* 4 -> flag overflow exception
|
||||||
|
* 3 -> flag underflow exception
|
||||||
|
* 2 -> flag inexact exception
|
||||||
|
* 1-0 -> rounding control
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Rounding Control:
|
||||||
|
* 00 - rounding to nearest (RN)
|
||||||
|
* 01 - rounding toward zero (RZ)
|
||||||
|
* 10 - rounding (up) toward plus infinity (RP)
|
||||||
|
* 11 - rounding (down)toward minus infinity (RM)
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _FENV_H_
|
||||||
|
#define _FENV_H_
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
__BEGIN_DECLS
|
||||||
|
|
||||||
|
typedef __uint32_t fenv_t;
|
||||||
|
typedef __uint32_t fexcept_t;
|
||||||
|
|
||||||
|
/* Exception flags */
|
||||||
|
#define FE_INVALID 0x40
|
||||||
|
#define FE_DIVBYZERO 0x20
|
||||||
|
#define FE_OVERFLOW 0x10
|
||||||
|
#define FE_UNDERFLOW 0x08
|
||||||
|
#define FE_INEXACT 0x04
|
||||||
|
#define FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | \
|
||||||
|
FE_INVALID | FE_OVERFLOW | FE_UNDERFLOW)
|
||||||
|
#define _FCSR_CAUSE_SHIFT 10
|
||||||
|
#define _ENABLE_SHIFT 5
|
||||||
|
#define _FCSR_ENABLE_MASK (FE_ALL_EXCEPT << _ENABLE_SHIFT)
|
||||||
|
|
||||||
|
/* Rounding modes */
|
||||||
|
#define FE_TONEAREST 0x0000
|
||||||
|
#define FE_TOWARDZERO 0x0001
|
||||||
|
#define FE_UPWARD 0x0002
|
||||||
|
#define FE_DOWNWARD 0x0003
|
||||||
|
#define _FCSR_RMODE_SHIFT 0
|
||||||
|
#define _FCSR_RMASK 0x3
|
||||||
|
/* Default floating-point environment */
|
||||||
|
extern const fenv_t __fe_dfl_env;
|
||||||
|
#define FE_DFL_ENV (&__fe_dfl_env)
|
||||||
|
|
||||||
|
static __inline int fegetenv(fenv_t* __envp) {
|
||||||
|
fenv_t _fcsr = 0;
|
||||||
|
#ifdef __mips_hard_float
|
||||||
|
__asm__ __volatile__("cfc1 %0,$31" : "=r" (_fcsr));
|
||||||
|
#endif
|
||||||
|
*__envp = _fcsr;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static __inline int fesetenv(const fenv_t* __envp) {
|
||||||
|
fenv_t _fcsr = *__envp;
|
||||||
|
#ifdef __mips_hard_float
|
||||||
|
__asm__ __volatile__("ctc1 %0,$31" : : "r" (_fcsr));
|
||||||
|
#endif
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static __inline int feclearexcept(int __excepts) {
|
||||||
|
fexcept_t __fcsr;
|
||||||
|
fegetenv(&__fcsr);
|
||||||
|
__excepts &= FE_ALL_EXCEPT;
|
||||||
|
__fcsr &= ~(__excepts | (__excepts << _FCSR_CAUSE_SHIFT));
|
||||||
|
fesetenv(&__fcsr);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static __inline int fegetexceptflag(fexcept_t* __flagp, int __excepts) {
|
||||||
|
fexcept_t __fcsr;
|
||||||
|
fegetenv(&__fcsr);
|
||||||
|
*__flagp = __fcsr & __excepts & FE_ALL_EXCEPT;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static __inline int fesetexceptflag(const fexcept_t* __flagp, int __excepts) {
|
||||||
|
fexcept_t __fcsr;
|
||||||
|
fegetenv(&__fcsr);
|
||||||
|
/* Ensure that flags are all legal */
|
||||||
|
__excepts &= FE_ALL_EXCEPT;
|
||||||
|
__fcsr &= ~__excepts;
|
||||||
|
__fcsr |= *__flagp & __excepts;
|
||||||
|
fesetenv(&__fcsr);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static __inline int feraiseexcept(int __excepts) {
|
||||||
|
fexcept_t __fcsr;
|
||||||
|
fegetenv(&__fcsr);
|
||||||
|
/* Ensure that flags are all legal */
|
||||||
|
__excepts &= FE_ALL_EXCEPT;
|
||||||
|
/* Cause bit needs to be set as well for generating the exception*/
|
||||||
|
__fcsr |= __excepts | (__excepts << _FCSR_CAUSE_SHIFT);
|
||||||
|
fesetenv(&__fcsr);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static __inline int fetestexcept(int __excepts) {
|
||||||
|
fexcept_t __FCSR;
|
||||||
|
fegetenv(&__FCSR);
|
||||||
|
return (__FCSR & __excepts & FE_ALL_EXCEPT);
|
||||||
|
}
|
||||||
|
|
||||||
|
static __inline int fegetround(void) {
|
||||||
|
fenv_t _fcsr;
|
||||||
|
fegetenv(&_fcsr);
|
||||||
|
return (_fcsr & _FCSR_RMASK);
|
||||||
|
}
|
||||||
|
|
||||||
|
static __inline int fesetround(int __round) {
|
||||||
|
fenv_t _fcsr;
|
||||||
|
fegetenv(&_fcsr);
|
||||||
|
_fcsr &= ~_FCSR_RMASK;
|
||||||
|
_fcsr |= (__round & _FCSR_RMASK ) ;
|
||||||
|
fesetenv(&_fcsr);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static __inline int feholdexcept(fenv_t* __envp) {
|
||||||
|
fenv_t __env;
|
||||||
|
fegetenv(&__env);
|
||||||
|
*__envp = __env;
|
||||||
|
__env &= ~(FE_ALL_EXCEPT | _FCSR_ENABLE_MASK);
|
||||||
|
fesetenv(&__env);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static __inline int feupdateenv(const fenv_t* __envp) {
|
||||||
|
fexcept_t __fcsr;
|
||||||
|
fegetenv(&__fcsr);
|
||||||
|
fesetenv(__envp);
|
||||||
|
feraiseexcept(__fcsr & FE_ALL_EXCEPT);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#if __BSD_VISIBLE
|
||||||
|
|
||||||
|
static __inline int feenableexcept(int __mask) {
|
||||||
|
fenv_t __old_fcsr, __new_fcsr;
|
||||||
|
fegetenv(&__old_fcsr);
|
||||||
|
__new_fcsr = __old_fcsr | (__mask & FE_ALL_EXCEPT) << _ENABLE_SHIFT;
|
||||||
|
fesetenv(&__new_fcsr);
|
||||||
|
return ((__old_fcsr >> _ENABLE_SHIFT) & FE_ALL_EXCEPT);
|
||||||
|
}
|
||||||
|
|
||||||
|
static __inline int fedisableexcept(int __mask) {
|
||||||
|
fenv_t __old_fcsr, __new_fcsr;
|
||||||
|
fegetenv(&__old_fcsr);
|
||||||
|
__new_fcsr = __old_fcsr & ~((__mask & FE_ALL_EXCEPT) << _ENABLE_SHIFT);
|
||||||
|
fesetenv(&__new_fcsr);
|
||||||
|
return ((__old_fcsr >> _ENABLE_SHIFT) & FE_ALL_EXCEPT);
|
||||||
|
}
|
||||||
|
|
||||||
|
static __inline int fegetexcept(void) {
|
||||||
|
fenv_t __fcsr;
|
||||||
|
fegetenv(&__fcsr);
|
||||||
|
return ((__fcsr & _FCSR_ENABLE_MASK) >> _ENABLE_SHIFT);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /* __BSD_VISIBLE */
|
||||||
|
|
||||||
|
__END_DECLS
|
||||||
|
|
||||||
|
#endif /* !_FENV_H_ */
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user