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
This commit is contained in:
bellard 2006-06-27 21:08:10 +00:00
parent 951f13516a
commit 106ec87921
4 changed files with 376 additions and 3 deletions

View file

@ -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;