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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-or32/] [sigcontext.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 _OR32_SIGCONTEXT_H
2
#define _OR32_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 while
7
   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 specify
10
   the list of regs to save. Then we can use copy_from_user on the entire regs instead
11
   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 /* _OR32_SIGCONTEXT_H */
22
 

powered by: WebSVN 2.1.0

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