diff options
author | Tom Musta <tommusta@gmail.com> | 2014-06-30 08:13:38 -0500 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-09-08 12:50:46 +0200 |
commit | 61e75fecef17aff4b0ecef26b300b90de410aaa2 (patch) | |
tree | 5aeb888972de4e806c7e2c03494bacb89edb7033 /block.c | |
parent | 7678108b134fc14d0a94fd13c0dd1129525c12d7 (diff) | |
download | qemu-61e75fecef17aff4b0ecef26b300b90de410aaa2.zip qemu-61e75fecef17aff4b0ecef26b300b90de410aaa2.tar.gz qemu-61e75fecef17aff4b0ecef26b300b90de410aaa2.tar.bz2 |
linux-user: Enable Signal Handlers on PPC64
Enable the 64-bit PowerPC signal handling code that was previously
disabled via #ifdefs. Specifically:
- Move the target_mcontext (register save area) structure and
append it to the 64-bit target_sigcontext structure. This
provides the space on the stack for saving and restoring
context.
- Define the target_rt_sigframe for 64-bit.
- Adjust the setup_frame and setup_rt_frame routines to properly
select the target_mcontext area and trampoline within the stack
frame; tthis is different for 32-bit and 64-bit implementations.
- Adjust the do_setcontext stub for 64-bit so that it compiles
without warnings.
The 64-bit signal handling code is still not functional after this
change; but the 32-bit code is. Subsequent changes will address
specific issues with the 64-bit code.
Signed-off-by: Tom Musta <tommusta@gmail.com>
[agraf: fix build on 32bit hosts, ppc64abi32]
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'block.c')
0 files changed, 0 insertions, 0 deletions