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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-cris/] [sigcontext.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#ifndef _ASM_CRIS_SIGCONTEXT_H
2
#define _ASM_CRIS_SIGCONTEXT_H
3
 
4
#include <asm/ptrace.h>
5
 
6
/* This struct is saved by setup_frame in signal.c, to keep the current context
7
   while a signal handler is executed. It's restored by sys_sigreturn.
8
 
9
   To keep things simple, we use pt_regs here even though normally you just
10
   specify the list of regs to save. Then we can use copy_from_user on the
11
   entire regs instead of a bunch of get_user's as well...
12
 
13
*/
14
 
15
struct sigcontext {
16
        struct pt_regs regs;  /* needs to be first */
17
        unsigned long oldmask;
18
        unsigned long usp;    /* usp before stacking this gunk on it */
19
};
20
 
21
#endif

powered by: WebSVN 2.1.0

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