Linux 2.6.13-rc3
[linux-2.6/next.git] / include / asm-ppc / ucontext.h
blob664bc984d51f3136f6f45ec273ad328168a2903f
1 #ifndef _ASMPPC_UCONTEXT_H
2 #define _ASMPPC_UCONTEXT_H
4 #include <asm/elf.h>
5 #include <asm/signal.h>
7 struct mcontext {
8 elf_gregset_t mc_gregs;
9 elf_fpregset_t mc_fregs;
10 unsigned long mc_pad[2];
11 elf_vrregset_t mc_vregs __attribute__((__aligned__(16)));
14 struct ucontext {
15 unsigned long uc_flags;
16 struct ucontext __user *uc_link;
17 stack_t uc_stack;
18 int uc_pad[7];
19 struct mcontext __user *uc_regs;/* points to uc_mcontext field */
20 sigset_t uc_sigmask;
21 /* glibc has 1024-bit signal masks, ours are 64-bit */
22 int uc_maskext[30];
23 int uc_pad2[3];
24 struct mcontext uc_mcontext;
27 #endif /* !_ASMPPC_UCONTEXT_H */