qemu-e2k/target/openrisc
Like Xu 5cc8767d05 general: Replace global smp variables with smp machine properties
Basically, the context could get the MachineState reference via call
chains or unrecommended qdev_get_machine() in !CONFIG_USER_ONLY mode.

A local variable of the same name would be introduced in the declaration
phase out of less effort OR replace it on the spot if it's only used
once in the context. No semantic changes.

Signed-off-by: Like Xu <like.xu@linux.intel.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20190518205428.90532-4-like.xu@linux.intel.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2019-07-05 17:07:36 -03:00
..
Makefile.objs target/openrisc: Merge mmu_helper.c into mmu.c 2018-07-03 00:05:28 +09:00
cpu-param.h tcg: Split out target/arch/cpu-param.h 2019-06-10 07:03:34 -07:00
cpu.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
cpu.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
disas.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
exception.c target/openrisc: Fix LGPL information in the file headers 2019-05-08 17:45:54 +02:00
exception.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
exception_helper.c target/openrisc: Use env_cpu, env_archcpu 2019-06-10 07:03:42 -07:00
fpu_helper.c target/openrisc: Fix LGPL information in the file headers 2019-05-08 17:45:54 +02:00
gdbstub.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
helper.h target/openrisc: Fix LGPL version number 2019-01-30 11:01:36 +01:00
insns.decode target/openrisc: Fix LGPL information in the file headers 2019-05-08 17:45:54 +02:00
interrupt.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
interrupt_helper.c target/openrisc: Fix LGPL version number 2019-01-30 11:01:36 +01:00
machine.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
mmu.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
sys_helper.c general: Replace global smp variables with smp machine properties 2019-07-05 17:07:36 -03:00
translate.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00