summaryrefslogtreecommitdiffstats
path: root/hw/sparc/leon3.c
diff options
context:
space:
mode:
authorIgor Mammedov2017-08-24 18:31:28 +0200
committerEduardo Habkost2017-09-01 16:54:24 +0200
commit700549620b3ee15924f19b9eb79961655ce671c5 (patch)
treecda989709ced1ec08c7b9dadb78a9ed5dbf55284 /hw/sparc/leon3.c
parentsparc: convert cpu features to qdev properties (diff)
downloadqemu-700549620b3ee15924f19b9eb79961655ce671c5.tar.gz
qemu-700549620b3ee15924f19b9eb79961655ce671c5.tar.xz
qemu-700549620b3ee15924f19b9eb79961655ce671c5.zip
sparc: move adhoc CPUSPARCState initialization to realize time
SPARCCPU::env was initialized from previously set properties (with help of sparc_cpu_parse_features) in cpu_sparc_register(). However there is not reason to keep it there as this task is typically done at realize time. So move post properties initialization into sparc_cpu_realizefn, which brings cpu_sparc_init() closer to cpu_generic_init(). Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <1503592308-93913-6-git-send-email-imammedo@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/sparc/leon3.c')
0 files changed, 0 insertions, 0 deletions