diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2009-05-12 19:13:18 -0700 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2009-05-16 01:36:12 +0400 |
commit | bcd4933a23f1dbdb5b5546b81f3305ebcb13c9c0 (patch) | |
tree | 950314ceb935ce3fcb11bb1f62d9ab24ac0cf243 /linux-user/ppc | |
parent | c29b735c50524c0561def6f4f04502a581a15683 (diff) | |
download | qemu-bcd4933a23f1dbdb5b5546b81f3305ebcb13c9c0.zip qemu-bcd4933a23f1dbdb5b5546b81f3305ebcb13c9c0.tar.gz qemu-bcd4933a23f1dbdb5b5546b81f3305ebcb13c9c0.tar.bz2 |
linux-user: ppc signal handling
Implement setup_{,rt_}frame and do_{,rt_}sigreturn for PPC 32-bit. Use
the same TARGET_QEMU_ESIGRETURN hack as for MIPS to avoid clobbering
register state on a sigreturn.
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'linux-user/ppc')
-rw-r--r-- | linux-user/ppc/syscall.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-user/ppc/syscall.h b/linux-user/ppc/syscall.h index a21d61b..d789911 100644 --- a/linux-user/ppc/syscall.h +++ b/linux-user/ppc/syscall.h @@ -51,6 +51,9 @@ struct target_revectored_struct { abi_ulong __map[8]; /* 256 bits */ }; +/* Nasty hack: define a fake errno value for use by sigreturn. */ +#define TARGET_QEMU_ESIGRETURN 255 + /* * flags masks */ |