diff options
| author | Timothy E Baldwin | 2016-05-12 19:47:30 +0200 |
|---|---|---|
| committer | Riku Voipio | 2016-05-27 13:49:49 +0200 |
| commit | 0284b03ba3f47da53b6b46293a3d586c08829f7e (patch) | |
| tree | a7942bf22838565bf88cfccf69af317c36d90725 /linux-user/arm | |
| parent | linux-user: Renumber TARGET_QEMU_ESIGRETURN, make it not arch-specific (diff) | |
| download | qemu-0284b03ba3f47da53b6b46293a3d586c08829f7e.tar.gz qemu-0284b03ba3f47da53b6b46293a3d586c08829f7e.tar.xz qemu-0284b03ba3f47da53b6b46293a3d586c08829f7e.zip | |
linux-user: Support for restarting system calls for x86 targets
Update the x86 main loop and sigreturn code:
* on TARGET_ERESTARTSYS, wind guest PC backwards to repeat syscall insn
* set all guest CPU state within signal.c code rather than passing it
back out as the "return code" from do_sigreturn()
* handle TARGET_QEMU_ESIGRETURN in the main loop as the indication
that the main loop should not touch EAX
Signed-off-by: Timothy Edward Baldwin <T.E.Baldwin99@members.leeds.ac.uk>
Message-id: 1441497448-32489-5-git-send-email-T.E.Baldwin99@members.leeds.ac.uk
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: Commit message tweaks; drop TARGET_USE_ERESTARTSYS define]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/arm')
0 files changed, 0 insertions, 0 deletions
