OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-ppc/] [ucontext.h] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1276 phoenix
#ifndef _ASMPPC_UCONTEXT_H
2
#define _ASMPPC_UCONTEXT_H
3
 
4
#include <asm/elf.h>
5
#include <asm/signal.h>
6
 
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)));
12
};
13
 
14
struct ucontext {
15
        unsigned long    uc_flags;
16
        struct ucontext *uc_link;
17
        stack_t          uc_stack;
18
        int              uc_pad[7];
19
        struct mcontext *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;
25
};
26
 
27
#endif /* !_ASMPPC_UCONTEXT_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.