xref: /OK3568_Linux_fs/kernel/arch/arc/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) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
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 as
7*4882a593Smuzhiyun  * published by the Free Software Foundation.
8*4882a593Smuzhiyun  */
9*4882a593Smuzhiyun 
10*4882a593Smuzhiyun #ifndef _ASM_ARC_SIGCONTEXT_H
11*4882a593Smuzhiyun #define _ASM_ARC_SIGCONTEXT_H
12*4882a593Smuzhiyun 
13*4882a593Smuzhiyun #include <asm/ptrace.h>
14*4882a593Smuzhiyun 
15*4882a593Smuzhiyun /*
16*4882a593Smuzhiyun  * Signal context structure - contains all info to do with the state
17*4882a593Smuzhiyun  * before the signal handler was invoked.
18*4882a593Smuzhiyun  */
19*4882a593Smuzhiyun struct sigcontext {
20*4882a593Smuzhiyun 	struct user_regs_struct regs;
21*4882a593Smuzhiyun 	struct user_regs_arcv2 v2abi;
22*4882a593Smuzhiyun };
23*4882a593Smuzhiyun 
24*4882a593Smuzhiyun #endif /* _ASM_ARC_SIGCONTEXT_H */
25