Greg Kroah-Hartman | e2be04c | 2017-11-01 15:09:13 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ |
Ley Foon Tan | b53e906 | 2014-11-06 15:19:59 +0800 | [diff] [blame] | 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 | |
Chung-Ling Tang | 92d5dd8 | 2015-03-12 13:34:31 +0800 | [diff] [blame] | 19 | #ifndef _UAPI__ASM_SIGCONTEXT_H |
| 20 | #define _UAPI__ASM_SIGCONTEXT_H |
Ley Foon Tan | b53e906 | 2014-11-06 15:19:59 +0800 | [diff] [blame] | 21 | |
Chung-Ling Tang | 92d5dd8 | 2015-03-12 13:34:31 +0800 | [diff] [blame] | 22 | #include <linux/types.h> |
| 23 | |
| 24 | #define MCONTEXT_VERSION 2 |
Ley Foon Tan | b53e906 | 2014-11-06 15:19:59 +0800 | [diff] [blame] | 25 | |
| 26 | struct sigcontext { |
Chung-Ling Tang | 92d5dd8 | 2015-03-12 13:34:31 +0800 | [diff] [blame] | 27 | int version; |
| 28 | unsigned long gregs[32]; |
Ley Foon Tan | b53e906 | 2014-11-06 15:19:59 +0800 | [diff] [blame] | 29 | }; |
| 30 | |
| 31 | #endif |