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