Chris Zankel | 9a8fd55 | 2005-06-23 22:01:26 -0700 | [diff] [blame] | 1 | /* |
| 2 | * include/asm-xtensa/sigcontext.h |
| 3 | * |
| 4 | * This file is subject to the terms and conditions of the GNU General Public |
| 5 | * License. See the file "COPYING" in the main directory of this archive |
| 6 | * for more details. |
| 7 | * |
Chris Zankel | 29c4dfd | 2007-05-31 17:49:32 -0700 | [diff] [blame] | 8 | * Copyright (C) 2001 - 2007 Tensilica Inc. |
Chris Zankel | 9a8fd55 | 2005-06-23 22:01:26 -0700 | [diff] [blame] | 9 | */ |
| 10 | |
| 11 | #ifndef _XTENSA_SIGCONTEXT_H |
| 12 | #define _XTENSA_SIGCONTEXT_H |
| 13 | |
Chris Zankel | 9a8fd55 | 2005-06-23 22:01:26 -0700 | [diff] [blame] | 14 | |
| 15 | struct sigcontext { |
| 16 | unsigned long oldmask; |
| 17 | |
| 18 | /* CPU registers */ |
| 19 | unsigned long sc_pc; |
| 20 | unsigned long sc_ps; |
Chris Zankel | 9a8fd55 | 2005-06-23 22:01:26 -0700 | [diff] [blame] | 21 | unsigned long sc_lbeg; |
| 22 | unsigned long sc_lend; |
| 23 | unsigned long sc_lcount; |
| 24 | unsigned long sc_sar; |
Chris Zankel | 29c4dfd | 2007-05-31 17:49:32 -0700 | [diff] [blame] | 25 | unsigned long sc_acclo; |
| 26 | unsigned long sc_acchi; |
| 27 | unsigned long sc_a[16]; |
Chris Zankel | 9a8fd55 | 2005-06-23 22:01:26 -0700 | [diff] [blame] | 28 | }; |
| 29 | |
Chris Zankel | 29c4dfd | 2007-05-31 17:49:32 -0700 | [diff] [blame] | 30 | #endif /* _XTENSA_SIGCONTEXT_H */ |