mirror of
https://github.com/qemu/qemu.git
synced 2025-10-24 10:31:10 +00:00
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>
|
||
|---|---|---|
| .. | ||
| cpu.c | ||
| cpu.h | ||
| exception_helper.c | ||
| exception.c | ||
| exception.h | ||
| fpu_helper.c | ||
| gdbstub.c | ||
| helper.h | ||
| int_helper.c | ||
| interrupt_helper.c | ||
| interrupt.c | ||
| machine.c | ||
| Makefile.objs | ||
| mmu_helper.c | ||
| mmu.c | ||
| sys_helper.c | ||
| translate.c | ||