xref: /OK3568_Linux_fs/kernel/arch/nios2/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, Microtronix Datacom Ltd.
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  * All rights reserved.
6*4882a593Smuzhiyun  *
7*4882a593Smuzhiyun  * This program is free software; you can redistribute it and/or modify
8*4882a593Smuzhiyun  * it under the terms of the GNU General Public License as published by
9*4882a593Smuzhiyun  * the Free Software Foundation; either version 2 of the License, or
10*4882a593Smuzhiyun  * (at your option) any later version.
11*4882a593Smuzhiyun  *
12*4882a593Smuzhiyun  * This program is distributed in the hope that it will be useful, but
13*4882a593Smuzhiyun  * WITHOUT ANY WARRANTY; without even the implied warranty of
14*4882a593Smuzhiyun  * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
15*4882a593Smuzhiyun  * NON INFRINGEMENT.  See the GNU General Public License for more
16*4882a593Smuzhiyun  * details.
17*4882a593Smuzhiyun  */
18*4882a593Smuzhiyun 
19*4882a593Smuzhiyun #ifndef _UAPI__ASM_SIGCONTEXT_H
20*4882a593Smuzhiyun #define _UAPI__ASM_SIGCONTEXT_H
21*4882a593Smuzhiyun 
22*4882a593Smuzhiyun #include <linux/types.h>
23*4882a593Smuzhiyun 
24*4882a593Smuzhiyun #define MCONTEXT_VERSION 2
25*4882a593Smuzhiyun 
26*4882a593Smuzhiyun struct sigcontext {
27*4882a593Smuzhiyun 	int version;
28*4882a593Smuzhiyun 	unsigned long gregs[32];
29*4882a593Smuzhiyun };
30*4882a593Smuzhiyun 
31*4882a593Smuzhiyun #endif
32