xref: /OK3568_Linux_fs/kernel/arch/hexagon/include/uapi/asm/sigcontext.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  * This program is free software; you can redistribute it and/or modify
6*4882a593Smuzhiyun  * it under the terms of the GNU General Public License version 2 and
7*4882a593Smuzhiyun  * only version 2 as published by the Free Software Foundation.
8*4882a593Smuzhiyun  *
9*4882a593Smuzhiyun  * This program is distributed in the hope that it will be useful,
10*4882a593Smuzhiyun  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11*4882a593Smuzhiyun  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12*4882a593Smuzhiyun  * GNU General Public License for more details.
13*4882a593Smuzhiyun  *
14*4882a593Smuzhiyun  * You should have received a copy of the GNU General Public License
15*4882a593Smuzhiyun  * along with this program; if not, write to the Free Software
16*4882a593Smuzhiyun  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17*4882a593Smuzhiyun  * 02110-1301, USA.
18*4882a593Smuzhiyun  */
19*4882a593Smuzhiyun 
20*4882a593Smuzhiyun #ifndef _ASM_SIGCONTEXT_H
21*4882a593Smuzhiyun #define _ASM_SIGCONTEXT_H
22*4882a593Smuzhiyun 
23*4882a593Smuzhiyun #include <asm/user.h>
24*4882a593Smuzhiyun 
25*4882a593Smuzhiyun /*
26*4882a593Smuzhiyun  * Signal context structure - contains all info to do with the state
27*4882a593Smuzhiyun  * before the signal handler was invoked.  Note: only add new entries
28*4882a593Smuzhiyun  * to the end of the structure.
29*4882a593Smuzhiyun  */
30*4882a593Smuzhiyun struct sigcontext {
31*4882a593Smuzhiyun 	struct user_regs_struct sc_regs;
32*4882a593Smuzhiyun } __aligned(8);
33*4882a593Smuzhiyun 
34*4882a593Smuzhiyun #endif
35