Add linux-next specific files for 20110831
[linux-2.6/next.git] / arch / m68k / include / asm / ucontext.h
blob00dcc5176c577ba82d505b297f1447981fc7dac4
1 #ifndef _M68K_UCONTEXT_H
2 #define _M68K_UCONTEXT_H
4 typedef int greg_t;
5 #define NGREG 18
6 typedef greg_t gregset_t[NGREG];
8 typedef struct fpregset {
9 int f_fpcntl[3];
10 #ifdef __mcoldfire__
11 int f_fpregs[8][2];
12 #else
13 int f_fpregs[8*3];
14 #endif
15 } fpregset_t;
17 struct mcontext {
18 int version;
19 gregset_t gregs;
20 fpregset_t fpregs;
23 #define MCONTEXT_VERSION 2
25 struct ucontext {
26 unsigned long uc_flags;
27 struct ucontext *uc_link;
28 stack_t uc_stack;
29 struct mcontext uc_mcontext;
30 unsigned long uc_filler[80];
31 sigset_t uc_sigmask; /* mask last for extensibility */
34 #endif