diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-04-04 17:33:51 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-04-04 17:33:51 +0100 |
commit | f911e0a323f29ecc780a94380cfbf9f574c19eb7 (patch) | |
tree | 9ac8c0ed17f32fdf15555ae6d3794e7f4484292e /target-arm | |
parent | 0dc1982312a7f8b5379b039d9f799bac343cc8f3 (diff) | |
download | qemu-f911e0a323f29ecc780a94380cfbf9f574c19eb7.zip qemu-f911e0a323f29ecc780a94380cfbf9f574c19eb7.tar.gz qemu-f911e0a323f29ecc780a94380cfbf9f574c19eb7.tar.bz2 |
linux-user: arm: Handle (ignore) EXCP_YIELD in ARM cpu_loop()
The new-in-ARMv8 YIELD instruction has been implemented to throw
an EXCP_YIELD back up to the QEMU main loop. In system emulation
we use this to decide to schedule a different guest CPU in SMP
configurations. In usermode emulation there is nothing to do,
so just ignore it and resume the guest.
This prevents an abort with "unhandled CPU exception 0x10004"
if the guest process uses the YIELD instruction.
Reported-by: Hunter Laux <hunterlaux@gmail.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1456833171-31900-1-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'target-arm')
0 files changed, 0 insertions, 0 deletions