ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / include / asm-h8300 / ucontext.h
1 #ifndef _H8300_UCONTEXT_H
2 #define _H8300_UCONTEXT_H
3
4 typedef int greg_t;
5 #define NGREG 10
6 typedef greg_t gregset_t[NGREG];
7
8 struct mcontext {
9         int version;
10         gregset_t gregs;
11 };
12
13 #define MCONTEXT_VERSION 1
14
15 struct ucontext {
16         unsigned long     uc_flags;
17         struct ucontext  *uc_link;
18         stack_t           uc_stack;
19         struct mcontext   uc_mcontext;
20         sigset_t          uc_sigmask;   /* mask last for extensibility */
21 };
22
23 #endif