aboutsummaryrefslogtreecommitdiff
path: root/linux-user/syscall_defs.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-06-27 21:08:10 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-06-27 21:08:10 +0000
commit106ec87921a41752777781f073092301d4477567 (patch)
tree54f0f6ee22467959b29b5fa4e76567b4b146b310 /linux-user/syscall_defs.h
parent951f13516a50383cd462c9150e643cc9f9566267 (diff)
initial MIPS signal handling (initial patch by Raphael Rigo)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2031 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/syscall_defs.h')
-rw-r--r--linux-user/syscall_defs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index b5fafcc5a3..73a5c4250d 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
@@ -448,6 +448,15 @@ int do_sigaction(int sig, const struct target_sigaction *act,
#endif
+#if defined(TARGET_MIPS)
+
+struct target_sigaction {
+ target_ulong sa_flags;
+ target_ulong _sa_handler;
+ target_sigset_t sa_mask;
+};
+
+#else
struct target_old_sigaction {
target_ulong _sa_handler;
target_ulong sa_mask;
@@ -461,6 +470,7 @@ struct target_sigaction {
target_ulong sa_restorer;
target_sigset_t sa_mask;
};
+#endif
typedef union target_sigval {
int sival_int;