qemu/target-ppc
Laurent Vivier 7bbc124e7e exec: call cpu_exec_exit() from a CPU unrealize common function
As cpu_exec_exit() mirrors the cpu_exec_realizefn(),
rename it as cpu_exec_unrealizefn().

Create and register a cpu_common_unrealizefn() function for
the CPU device class and call cpu_exec_unrealizefn() from
this function.

Remove cpu_exec_exit() from cpu_common_finalize()
(which mirrors init, not realize), and as x86_cpu_unrealizefn()
and ppc_cpu_unrealizefn() overwrite the device class unrealize function,
add a call to a parent_unrealize pointer.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2016-10-24 17:29:16 -02:00
..
translate
Makefile.objs
STATUS
arch_dump.c
cpu-models.c
cpu-models.h
cpu-qom.h exec: call cpu_exec_exit() from a CPU unrealize common function 2016-10-24 17:29:16 -02:00
cpu.h
dfp_helper.c
excp_helper.c
fpu_helper.c
gdbstub.c
helper.h
helper_regs.h
int_helper.c
kvm-stub.c
kvm.c
kvm_ppc.h
machine.c
mem_helper.c
mfrom_table.c
mfrom_table_gen.c
misc_helper.c
mmu-hash32.c
mmu-hash32.h
mmu-hash64.c
mmu-hash64.h
mmu_helper.c
monitor.c
timebase_helper.c
trace-events
translate.c
translate_init.c exec: call cpu_exec_exit() from a CPU unrealize common function 2016-10-24 17:29:16 -02:00
user_only_helper.c