linux-old/include/asm-mips64/sigcontext.h
<<
>>
Prefs
   1/*
   2 * This file is subject to the terms and conditions of the GNU General Public
   3 * License.  See the file "COPYING" in the main directory of this archive
   4 * for more details.
   5 *
   6 * Copyright (C) 1996, 1997, 1999 by Ralf Baechle
   7 * Copyright (C) 1999 Silicon Graphics, Inc.
   8 */
   9#ifndef _ASM_SIGCONTEXT_H
  10#define _ASM_SIGCONTEXT_H
  11
  12/*
  13 * Keep this struct definition in sync with the sigcontext fragment
  14 * in arch/mips/tools/offset.c
  15 */
  16struct sigcontext {
  17        unsigned long long sc_regs[32];
  18        unsigned long long sc_fpregs[32];
  19        unsigned long long sc_mdhi;
  20        unsigned long long sc_mdlo;
  21        unsigned long long sc_pc;
  22        unsigned int       sc_status;
  23        unsigned int       sc_fpc_csr;
  24        unsigned int       sc_fpc_eir;
  25        unsigned int       sc_used_math;
  26        unsigned int       sc_cause;
  27        unsigned int       sc_badvaddr;
  28};
  29
  30#ifdef __KERNEL__
  31struct sigcontext32 {
  32        u32 sc_regmask;         /* Unused */
  33        u32 sc_status;
  34        u64 sc_pc;
  35        u64 sc_regs[32];
  36        u64 sc_fpregs[32];
  37        u32 sc_ownedfp;         /* Unused */
  38        u32 sc_fpc_csr;
  39        u32 sc_fpc_eir;         /* Unused */
  40        u32 sc_used_math;
  41        u32 sc_ssflags;         /* Unused */
  42        u64 sc_mdhi;
  43        u64 sc_mdlo;
  44
  45        u32 sc_cause;           /* Unused */
  46        u32 sc_badvaddr;        /* Unused */
  47
  48        u32 sc_sigset[4];       /* kernel's sigset_t */
  49};
  50#endif /* __KERNEL__ */
  51
  52#endif /* _ASM_SIGCONTEXT_H */
  53
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.