mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
c29b735c50
commit
bcd4933a23
3 changed files with 604 additions and 0 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue