Ley Foon Tan | b53e906 | 2014-11-06 15:19:59 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2004, Microtronix Datacom Ltd. |
| 3 | * |
| 4 | * All rights reserved. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; either version 2 of the License, or |
| 9 | * (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, but |
| 12 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or |
| 14 | * NON INFRINGEMENT. See the GNU General Public License for more |
| 15 | * details. |
| 16 | */ |
| 17 | |
Chung-Ling Tang | 92d5dd8 | 2015-03-12 13:34:31 +0800 | [diff] [blame] | 18 | #ifndef _UAPI__ASM_SIGCONTEXT_H |
| 19 | #define _UAPI__ASM_SIGCONTEXT_H |
Ley Foon Tan | b53e906 | 2014-11-06 15:19:59 +0800 | [diff] [blame] | 20 | |
Chung-Ling Tang | 92d5dd8 | 2015-03-12 13:34:31 +0800 | [diff] [blame] | 21 | #include <linux/types.h> |
| 22 | |
| 23 | #define MCONTEXT_VERSION 2 |
Ley Foon Tan | b53e906 | 2014-11-06 15:19:59 +0800 | [diff] [blame] | 24 | |
| 25 | struct sigcontext { |
Chung-Ling Tang | 92d5dd8 | 2015-03-12 13:34:31 +0800 | [diff] [blame] | 26 | int version; |
| 27 | unsigned long gregs[32]; |
Ley Foon Tan | b53e906 | 2014-11-06 15:19:59 +0800 | [diff] [blame] | 28 | }; |
| 29 | |
| 30 | #endif |