Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
sigcontext.h
Go to the documentation of this file.
1 /* MN10300 Userspace signal context
2  *
3  * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
4  * Written by David Howells ([email protected])
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public Licence
8  * as published by the Free Software Foundation; either version
9  * 2 of the Licence, or (at your option) any later version.
10  */
11 #ifndef _ASM_SIGCONTEXT_H
12 #define _ASM_SIGCONTEXT_H
13 
14 struct fpucontext {
15  /* Regular FPU environment */
16  unsigned long fs[32]; /* fpu registers */
17  unsigned long fpcr; /* fpu control register */
18 };
19 
20 struct sigcontext {
21  unsigned long d0;
22  unsigned long d1;
23  unsigned long d2;
24  unsigned long d3;
25  unsigned long a0;
26  unsigned long a1;
27  unsigned long a2;
28  unsigned long a3;
29  unsigned long e0;
30  unsigned long e1;
31  unsigned long e2;
32  unsigned long e3;
33  unsigned long e4;
34  unsigned long e5;
35  unsigned long e6;
36  unsigned long e7;
37  unsigned long lar;
38  unsigned long lir;
39  unsigned long mdr;
40  unsigned long mcvf;
41  unsigned long mcrl;
42  unsigned long mcrh;
43  unsigned long mdrq;
44  unsigned long sp;
45  unsigned long epsw;
46  unsigned long pc;
48  unsigned long oldmask;
49 };
50 
51 
52 #endif /* _ASM_SIGCONTEXT_H */