summaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/sigframe.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel/sigframe.h')
-rw-r--r--arch/i386/kernel/sigframe.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/i386/kernel/sigframe.h b/arch/i386/kernel/sigframe.h
new file mode 100644
index 00000000000..d21b14f5c25
--- /dev/null
+++ b/arch/i386/kernel/sigframe.h
@@ -0,0 +1,21 @@
+struct sigframe
+{
+ char *pretcode;
+ int sig;
+ struct sigcontext sc;
+ struct _fpstate fpstate;
+ unsigned long extramask[_NSIG_WORDS-1];
+ char retcode[8];
+};
+
+struct rt_sigframe
+{
+ char *pretcode;
+ int sig;
+ struct siginfo *pinfo;
+ void *puc;
+ struct siginfo info;
+ struct ucontext uc;
+ struct _fpstate fpstate;
+ char retcode[8];
+};