qemu/target-m68k
Peter Crosthwaite ea3e984740 cpu-exec: Purge all uses of ENV_GET_CPU()
Remove un-needed usages of ENV_GET_CPU() by converting the APIs to use
CPUState pointers and retrieving the env_ptr as minimally needed.

Scripted conversion for target-* change:

for I in target-*/cpu.h; do
    sed -i \
    's/\(^int cpu_[^_]*_exec(\)[^ ][^ ]* \*s);$/\1CPUState *cpu);/' \
    $I;
done

Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2015-07-09 15:20:40 +02:00
..
cpu-qom.h target-m68k: Use cpu_exec_interrupt qom hook 2014-09-25 18:54:21 +01:00
cpu.c cpu: Change cpu_exec_init() arg to cpu, not env 2015-07-09 15:20:40 +02:00
cpu.h cpu-exec: Purge all uses of ENV_GET_CPU() 2015-07-09 15:20:40 +02:00
gdbstub.c cpu: Introduce CPUClass::gdb_{read,write}_register() 2013-07-27 00:04:17 +02:00
helper.c target-m68k: Use cpu_exec_enter/exit qom hooks 2014-09-25 18:54:21 +01:00
helper.h tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
m68k-semi.c exec: Change cpu_abort() argument to CPUState 2014-03-13 19:52:28 +01:00
Makefile.objs cpu: Introduce CPUClass::gdb_{read,write}_register() 2013-07-27 00:04:17 +02:00
op_helper.c m68k: fix usp processing on interrupt entry and exception exit 2015-06-22 14:43:25 +01:00
qregs.def cpu: Move exception_index field from CPU_COMMON to CPUState 2014-03-13 19:20:46 +01:00
translate.c m68k: remove useless parameter op_size from gen_lea_indexed() 2015-06-29 17:11:57 +02:00