blob: e3381cee5059ae9946f3c53044c8fcac45276651 [file] [log] [blame]
Chris Zankel9a8fd552005-06-23 22:01:26 -07001/*
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 Zankel29c4dfd2007-05-31 17:49:32 -07008 * Copyright (C) 2001 - 2007 Tensilica Inc.
Chris Zankel9a8fd552005-06-23 22:01:26 -07009 */
10
11#ifndef _XTENSA_SIGCONTEXT_H
12#define _XTENSA_SIGCONTEXT_H
13
Chris Zankel9a8fd552005-06-23 22:01:26 -070014
15struct sigcontext {
16 unsigned long oldmask;
17
18 /* CPU registers */
19 unsigned long sc_pc;
20 unsigned long sc_ps;
Chris Zankel9a8fd552005-06-23 22:01:26 -070021 unsigned long sc_lbeg;
22 unsigned long sc_lend;
23 unsigned long sc_lcount;
24 unsigned long sc_sar;
Chris Zankel29c4dfd2007-05-31 17:49:32 -070025 unsigned long sc_acclo;
26 unsigned long sc_acchi;
27 unsigned long sc_a[16];
Chris Zankel9a8fd552005-06-23 22:01:26 -070028};
29
Chris Zankel29c4dfd2007-05-31 17:49:32 -070030#endif /* _XTENSA_SIGCONTEXT_H */