/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1996, 1997, 1999 by Ralf Baechle * Copyright (C) 1999 Silicon Graphics, Inc. */ #ifndef _UAPI_ASM_SIGCONTEXT_H #define _UAPI_ASM_SIGCONTEXT_H #include <linux/types.h> #include <asm/sgidefs.h> /* scalar FP context was used */ #define USED_FP (1 << 0) /* the value of Status.FR when context was saved */ #define USED_FR1 (1 << 1) /* FR=1, but with odd singles in bits 63:32 of preceding even double */ #define USED_HYBRID_FPRS (1 << 2) /* extended context was used, see struct extcontext for details */ #define USED_EXTCONTEXT (1 << 3) #if _MIPS_SIM == _MIPS_SIM_ABI32 /* * Keep this struct definition in sync with the sigcontext fragment * in arch/mips/kernel/asm-offsets.c */ struct sigcontext { unsigned int sc_regmask; /* Unused */ unsigned int sc_status; /* Unused */ unsigned long long sc_pc; unsigned long long sc_regs[32]; unsigned long long sc_fpregs[32]; unsigned int sc_acx; /* Was sc_ownedfp */ unsigned int sc_fpc_csr; unsigned int sc_fpc_eir; /* Unused */ unsigned int sc_used_math; unsigned int sc_dsp; /* dsp status, was sc_ssflags */ unsigned long long sc_mdhi; unsigned long long sc_mdlo; unsigned long sc_hi1; /* Was sc_cause */ unsigned long sc_lo1; /* Was sc_badvaddr */ unsigned long sc_hi2; /* Was sc_sigset[4] */ unsigned long sc_lo2; unsigned long sc_hi3; unsigned long sc_lo3; }; #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */ #if _MIPS_SIM == _MIPS_SIM_ABI64 || _MIPS_SIM == _MIPS_SIM_NABI32 #include <linux/posix_types.h> /* * Keep this struct definition in sync with the sigcontext fragment * in arch/mips/kernel/asm-offsets.c * * Warning: this structure illdefined with sc_badvaddr being just an unsigned * int so it was changed to unsigned long in 2.6.0-test1. This may break * binary compatibility - no prisoners. * DSP ASE in 2.6.12-rc4. Turn sc_mdhi and sc_mdlo into an array of four * entries, add sc_dsp and sc_reserved for padding. No prisoners. */ struct sigcontext { __u64 sc_regs[32]; __u64 sc_fpregs[32]; __u64 sc_mdhi; __u64 sc_hi1; __u64 sc_hi2; __u64 sc_hi3; __u64 sc_mdlo; __u64 sc_lo1; __u64 sc_lo2; __u64 sc_lo3; __u64 sc_pc; __u32 sc_fpc_csr; __u32 sc_used_math; __u32 sc_dsp; __u32 sc_reserved; }; #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 || _MIPS_SIM == _MIPS_SIM_NABI32 */ #endif /* _UAPI_ASM_SIGCONTEXT_H */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Kbuild | File | 123 B | 0644 |
|
auxvec.h | File | 616 B | 0644 |
|
bitfield.h | File | 766 B | 0644 |
|
bitsperlong.h | File | 244 B | 0644 |
|
break.h | File | 1.29 KB | 0644 |
|
byteorder.h | File | 580 B | 0644 |
|
cachectl.h | File | 800 B | 0644 |
|
errno.h | File | 5.66 KB | 0644 |
|
fcntl.h | File | 2.33 KB | 0644 |
|
hwcap.h | File | 231 B | 0644 |
|
inst.h | File | 27.22 KB | 0644 |
|
ioctl.h | File | 781 B | 0644 |
|
ioctls.h | File | 4.6 KB | 0644 |
|
kvm.h | File | 7.54 KB | 0644 |
|
kvm_para.h | File | 109 B | 0644 |
|
mman.h | File | 4.24 KB | 0644 |
|
msgbuf.h | File | 1.44 KB | 0644 |
|
param.h | File | 476 B | 0644 |
|
poll.h | File | 217 B | 0644 |
|
posix_types.h | File | 880 B | 0644 |
|
ptrace.h | File | 2.74 KB | 0644 |
|
reg.h | File | 5.3 KB | 0644 |
|
resource.h | File | 1.04 KB | 0644 |
|
sembuf.h | File | 666 B | 0644 |
|
setup.h | File | 183 B | 0644 |
|
sgidefs.h | File | 1.03 KB | 0644 |
|
shmbuf.h | File | 1.09 KB | 0644 |
|
sigcontext.h | File | 2.53 KB | 0644 |
|
siginfo.h | File | 3.13 KB | 0644 |
|
signal.h | File | 4.12 KB | 0644 |
|
socket.h | File | 3.33 KB | 0644 |
|
sockios.h | File | 760 B | 0644 |
|
stat.h | File | 2.87 KB | 0644 |
|
statfs.h | File | 1.94 KB | 0644 |
|
swab.h | File | 1.5 KB | 0644 |
|
sysmips.h | File | 841 B | 0644 |
|
termbits.h | File | 7.79 KB | 0644 |
|
termios.h | File | 2.09 KB | 0644 |
|
types.h | File | 922 B | 0644 |
|
ucontext.h | File | 2.15 KB | 0644 |
|
unistd.h | File | 45.04 KB | 0644 |
|