unicorn/qemu/target-sparc
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
..
cc_helper.c Sparc support added. (#734) 2017-01-23 13:29:41 +08: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
fop_helper.c import 2015-08-21 15:04:50 +08:00
helper.c do not use syscall to quit emulation. this can fix issues #147 & #148 2015-09-26 16:49:00 +08:00
helper.h rework code/block tracing 2016-01-22 18:42:27 -08:00
int32_helper.c import 2015-08-21 15:04:50 +08:00
int64_helper.c Sparc support added. (#734) 2017-01-23 13:29:41 +08:00
ldst_helper.c Sparc support added. (#734) 2017-01-23 13:29:41 +08:00
Makefile.objs cleanup Sparc unused code 2017-01-23 12:34:00 +08:00
mmu_helper.c import 2015-08-21 15:04:50 +08:00
TODO import 2015-08-21 15:04:50 +08:00
translate.c target-*: Increment num_insns immediately after tcg_gen_insn_start 2018-02-11 12:46:30 -05:00
unicorn.c This code should now build the x86_x64-softmmu part 2. 2017-01-19 22:50:28 +11:00
unicorn.h New feature: registers can be bulk saved/restored in an opaque blob 2016-08-20 04:14:07 -07:00
unicorn64.c This code should now build the x86_x64-softmmu part 2. 2017-01-19 22:50:28 +11:00
vis_helper.c import 2015-08-21 15:04:50 +08:00
win_helper.c import 2015-08-21 15:04:50 +08:00