qemu-patch-raspberry4/target
Alex Bennée 65255e8efd target/*helper: don't check retaddr before calling cpu_restore_state
cpu_restore_state officially supports being passed an address it can't
resolve the state for. As a result the checks in the helpers are
superfluous and can be removed. This makes the code consistent with
other users of cpu_restore_state.

Of course this does nothing to address what to do if cpu_restore_state
can't resolve the state but so far it seems this is handled elsewhere.

The change was made with included coccinelle script.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
[rth: Fixed up comment indentation.  Added second hunk to script to
combine cpu_restore_state and cpu_loop_exit.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2017-12-27 17:20:44 -08:00
..
alpha target/*helper: don't check retaddr before calling cpu_restore_state 2017-12-27 17:20:44 -08:00
arm target/*helper: don't check retaddr before calling cpu_restore_state 2017-12-27 17:20:44 -08:00
cris x86/cpu/numa queue, 2017-10-27 2017-10-30 10:11:22 +00:00
hppa Capstone disassembler 2017-10-27 08:04:51 +01:00
i386 target/*helper: don't check retaddr before calling cpu_restore_state 2017-12-27 17:20:44 -08:00
lm32 target/*helper: don't check retaddr before calling cpu_restore_state 2017-12-27 17:20:44 -08:00
m68k target/*helper: don't check retaddr before calling cpu_restore_state 2017-12-27 17:20:44 -08:00
microblaze target/*helper: don't check retaddr before calling cpu_restore_state 2017-12-27 17:20:44 -08:00
mips x86/cpu/numa queue, 2017-10-27 2017-10-30 10:11:22 +00:00
moxie target/*helper: don't check retaddr before calling cpu_restore_state 2017-12-27 17:20:44 -08:00
nios2 target/*helper: don't check retaddr before calling cpu_restore_state 2017-12-27 17:20:44 -08:00
openrisc target/*helper: don't check retaddr before calling cpu_restore_state 2017-12-27 17:20:44 -08:00
ppc ppc: remove duplicated includes 2017-12-18 17:07:02 +03:00
s390x s390x: change the QEMU cpu model to a stripped down z12 2017-12-14 17:56:54 +01:00
sh4 target/sh4: Convert to DisasContextBase 2017-12-18 23:35:33 +01:00
sparc linux-user/sparc: Put address for data faults where linux-user expects it 2017-11-07 21:59:18 +02:00
tilegx tcg: Initialize cpu_env generically 2017-10-24 13:53:42 -07:00
tricore target/*helper: don't check retaddr before calling cpu_restore_state 2017-12-27 17:20:44 -08:00
unicore32 target/*helper: don't check retaddr before calling cpu_restore_state 2017-12-27 17:20:44 -08:00
xtensa x86/cpu/numa queue, 2017-10-27 2017-10-30 10:11:22 +00:00