xemu/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 target-sparc: make cpu-qom.h not target specific 2016-05-19 16:41:34 +02:00
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 qemu-common: push cpu.h inclusion out of qemu-common.h 2016-05-19 16:42:29 +02:00
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 log: do not unnecessarily include qom/cpu.h 2016-02-03 09:19:10 +00:00
int64_helper.c target-sparc: fix Trap Based Address Register behavior for sparc64 2016-04-15 09:30:40 +01:00
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 monitor: remove target-specific code from monitor.c 2015-09-16 17:33:32 +02:00
mmu_helper.c cpu: move exec-all.h inclusion out of cpu.h 2016-05-19 16:42:29 +02:00
monitor.c sparc: Clean up includes 2016-01-29 15:07:22 +00:00
TODO fix spelling in target sub directory 2011-12-02 10:50:57 +00:00
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 sparc: Clean up includes 2016-01-29 15:07:22 +00:00
win_helper.c sparc: Clean up includes 2016-01-29 15:07:22 +00:00