ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / arch / um / include / frame.h
1 /* 
2  * Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
3  * Licensed under the GPL
4  */
5
6 #ifndef __FRAME_H_
7 #define __FRAME_H_
8
9 #include "sysdep/frame.h"
10
11 struct frame_common {
12         void *data;
13         int len;
14         int sig_index;
15         int sr_index;
16         int sr_relative;
17         int sp_index;
18         struct arch_frame_data arch;
19 };
20
21 struct sc_frame {
22         struct frame_common common;
23         int sc_index;
24 };
25
26 extern struct sc_frame signal_frame_sc;
27
28 extern struct sc_frame signal_frame_sc_sr;
29
30 struct si_frame {
31         struct frame_common common;
32         int sip_index;
33         int si_index;
34         int ucp_index;
35         int uc_index;
36 };
37
38 extern struct si_frame signal_frame_si;
39
40 extern void capture_signal_stack(void);
41
42 #endif
43
44 /*
45  * Overrides for Emacs so that we follow Linus's tabbing style.
46  * Emacs will notice this stuff at the end of the file and automatically
47  * adjust the settings for this buffer only.  This must remain at the end
48  * of the file.
49  * ---------------------------------------------------------------------------
50  * Local variables:
51  * c-file-style: "linux"
52  * End:
53  */