122851890Sopenharmony_ci/****************************************************************************
222851890Sopenharmony_ci ****************************************************************************
322851890Sopenharmony_ci ***
422851890Sopenharmony_ci ***   This header was automatically generated from a Linux kernel header
522851890Sopenharmony_ci ***   of the same name, to make information necessary for userspace to
622851890Sopenharmony_ci ***   call into the kernel available to libc.  It contains only constants,
722851890Sopenharmony_ci ***   structures, and macros generated from the original header, and thus,
822851890Sopenharmony_ci ***   contains no copyrightable information.
922851890Sopenharmony_ci ***
1022851890Sopenharmony_ci ***   To edit the content of this header, modify the corresponding
1122851890Sopenharmony_ci ***   source file (e.g. under external/kernel-headers/original/) then
1222851890Sopenharmony_ci ***   run bionic/libc/kernel/tools/update_all.py
1322851890Sopenharmony_ci ***
1422851890Sopenharmony_ci ***   Any manual change here will be lost the next time this script will
1522851890Sopenharmony_ci ***   be run. You've been warned!
1622851890Sopenharmony_ci ***
1722851890Sopenharmony_ci ****************************************************************************
1822851890Sopenharmony_ci ****************************************************************************/
1922851890Sopenharmony_ci#ifndef _ASM_SIGCONTEXT_H
2022851890Sopenharmony_ci#define _ASM_SIGCONTEXT_H
2122851890Sopenharmony_ci#include <linux/types.h>
2222851890Sopenharmony_ci#include <asm/sgidefs.h>
2322851890Sopenharmony_ci#define USED_FP (1 << 0)
2422851890Sopenharmony_ci#define USED_FR1 (1 << 1)
2522851890Sopenharmony_ci#define USED_HYBRID_FPRS (1 << 2)
2622851890Sopenharmony_ci#define USED_EXTCONTEXT (1 << 3)
2722851890Sopenharmony_ci#if _MIPS_SIM == _MIPS_SIM_ABI32
2822851890Sopenharmony_cistruct sigcontext {
2922851890Sopenharmony_ci  unsigned int sc_regmask;
3022851890Sopenharmony_ci  unsigned int sc_status;
3122851890Sopenharmony_ci  unsigned long long sc_pc;
3222851890Sopenharmony_ci  unsigned long long sc_regs[32];
3322851890Sopenharmony_ci  unsigned long long sc_fpregs[32];
3422851890Sopenharmony_ci  unsigned int sc_acx;
3522851890Sopenharmony_ci  unsigned int sc_fpc_csr;
3622851890Sopenharmony_ci  unsigned int sc_fpc_eir;
3722851890Sopenharmony_ci  unsigned int sc_used_math;
3822851890Sopenharmony_ci  unsigned int sc_dsp;
3922851890Sopenharmony_ci  unsigned long long sc_mdhi;
4022851890Sopenharmony_ci  unsigned long long sc_mdlo;
4122851890Sopenharmony_ci  unsigned long sc_hi1;
4222851890Sopenharmony_ci  unsigned long sc_lo1;
4322851890Sopenharmony_ci  unsigned long sc_hi2;
4422851890Sopenharmony_ci  unsigned long sc_lo2;
4522851890Sopenharmony_ci  unsigned long sc_hi3;
4622851890Sopenharmony_ci  unsigned long sc_lo3;
4722851890Sopenharmony_ci};
4822851890Sopenharmony_ci#endif
4922851890Sopenharmony_ci#if _MIPS_SIM == _MIPS_SIM_ABI64 || _MIPS_SIM == _MIPS_SIM_NABI32
5022851890Sopenharmony_ci#include <linux/posix_types.h>
5122851890Sopenharmony_cistruct sigcontext {
5222851890Sopenharmony_ci  __u64 sc_regs[32];
5322851890Sopenharmony_ci  __u64 sc_fpregs[32];
5422851890Sopenharmony_ci  __u64 sc_mdhi;
5522851890Sopenharmony_ci  __u64 sc_hi1;
5622851890Sopenharmony_ci  __u64 sc_hi2;
5722851890Sopenharmony_ci  __u64 sc_hi3;
5822851890Sopenharmony_ci  __u64 sc_mdlo;
5922851890Sopenharmony_ci  __u64 sc_lo1;
6022851890Sopenharmony_ci  __u64 sc_lo2;
6122851890Sopenharmony_ci  __u64 sc_lo3;
6222851890Sopenharmony_ci  __u64 sc_pc;
6322851890Sopenharmony_ci  __u32 sc_fpc_csr;
6422851890Sopenharmony_ci  __u32 sc_used_math;
6522851890Sopenharmony_ci  __u32 sc_dsp;
6622851890Sopenharmony_ci  __u32 sc_reserved;
6722851890Sopenharmony_ci};
6822851890Sopenharmony_ci#endif
6922851890Sopenharmony_ci#endif
70