qemu-e2k/target-sparc
Laurent Vivier ce5b1bbf62 exec: move cpu_exec_init() calls to realize functions
Modify all CPUs to call it from XXX_cpu_realizefn() function.

Remove all the cannot_destroy_with_object_finalize_yet as
unsafe references have been moved to cpu_exec_realizefn().
(tested with QOM command provided by commit 4c315c27)

for arm:

Setting of cpu->mp_affinity is moved from arm_cpu_initfn()
to arm_cpu_realizefn() as setting of cpu_index is now done
in cpu_exec_realizefn(). To avoid to overwrite an user defined
value, we set it to an invalid value by default, and update
it in realize function only if the value is still invalid.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2016-10-24 17:29:16 -02:00
..
asi.h target-sparc: Add UA2005 defines to asi.h 2016-07-12 11:02:22 -07:00
cc_helper.c coccinelle: Remove unnecessary variables for function return value 2016-06-20 16:38:13 +02:00
cpu-qom.h
cpu.c exec: move cpu_exec_init() calls to realize functions 2016-10-24 17:29:16 -02:00
cpu.h qemu-tech: document lazy condition code evaluation in cpu.h 2016-10-07 10:05:22 +02:00
fop_helper.c target-sparc: Use cpu_loop_exit_restore from helper_check_ieee_exceptions 2016-07-12 11:02:58 -07:00
gdbstub.c
helper.c cpu: move exec-all.h inclusion out of cpu.h 2016-05-19 16:42:29 +02:00
helper.h target-sparc: Use explicit writes to cpu_fsr 2016-07-12 11:02:52 -07:00
int32_helper.c
int64_helper.c
ldst_helper.c target-sparc: Remove helper_ldf_asi, helper_stf_asi 2016-07-12 11:02:48 -07:00
machine.c cpu: move exec-all.h inclusion out of cpu.h 2016-05-19 16:42:29 +02:00
Makefile.objs
mmu_helper.c cpu: move exec-all.h inclusion out of cpu.h 2016-05-19 16:42:29 +02:00
monitor.c
TODO
trace-events trace-events: fix first line comment in trace-events 2016-08-12 10:36:01 +01:00
translate.c target-sparc: Elide duplicate updates to fprs 2016-07-12 11:03:01 -07:00
vis_helper.c
win_helper.c