unicorn/qemu/target-m68k
Peter Crosthwaite e51f8c9f6f
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

Backports commit ea3e9847408131abc840240bd61e892d28459452 from qemu
2018-02-17 15:23:18 -05:00
..
cpu-qom.h remove slow cpu QOM casts (#815) 2017-05-02 14:56:39 +08:00
cpu.c cpu: Change cpu_exec_init() arg to cpu, not env 2018-02-17 15:23:18 -05:00
cpu.h cpu-exec: Purge all uses of ENV_GET_CPU() 2018-02-17 15:23:18 -05:00
helper.c import 2015-08-21 15:04:50 +08:00
helper.h rework code/block tracing 2016-01-22 18:42:27 -08:00
Makefile.objs del qemu/target-m68k/m68k-semi.c 2017-01-20 11:52:31 +08:00
op_helper.c m68k: fix usp processing on interrupt entry and exception exit 2018-02-17 15:23:09 -05:00
qregs.def import 2015-08-21 15:04:50 +08:00
translate.c m68k: remove useless parameter op_size from gen_lea_indexed() 2018-02-17 15:23:14 -05:00
unicorn.c M68K support added. (#735) 2017-01-23 14:40:02 +08:00
unicorn.h New feature: registers can be bulk saved/restored in an opaque blob 2016-08-20 04:14:07 -07:00