| 1 |
|
| 2 | |
| 3 | * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
|
| 4 | *
|
| 5 | * This program is free software; you can redistribute it and/or modify
|
| 6 | * it under the terms of the GNU General Public License version 2 and
|
| 7 | * only version 2 as published by the Free Software Foundation.
|
| 8 | *
|
| 9 | * This program is distributed in the hope that it will be useful,
|
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 12 | * GNU General Public License for more details.
|
| 13 | *
|
| 14 | * You should have received a copy of the GNU General Public License
|
| 15 | * along with this program; if not, write to the Free Software
|
| 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
| 17 | * 02110-1301, USA.
|
| 18 |
|
| 19 |
|
| 20 | #ifndef _ASM_SIGCONTEXT_H
|
| 21 | #define _ASM_SIGCONTEXT_H
|
| 22 |
|
| 23 | #include <asm/user.h>
|
| 24 |
|
| 25 | |
| 26 | * Signal context structure - contains all info to do with the state
|
| 27 | * before the signal handler was invoked. Note: only add new entries
|
| 28 | * to the end of the structure.
|
| 29 |
|
| 30 | struct sigcontext {
|
| 31 | struct user_regs_struct sc_regs;
|
| 32 | } __attribute__((aligned(8)));
|
| 33 |
|
| 34 | #endif
|