]> Git Repo - qemu.git/commit
tilegx: replace cpu_tilegx_init() with cpu_generic_init()
authorIgor Mammedov <[email protected]>
Thu, 24 Aug 2017 16:31:37 +0000 (18:31 +0200)
committerEduardo Habkost <[email protected]>
Fri, 1 Sep 2017 14:54:24 +0000 (11:54 -0300)
commit12f4572ec3acde40255328dad60fd8c03281c648
tree466f06592750832cdae5ad756c3fc279ed2881c2
parentda9cbe02bc0a0c4ee8148da6238eb7bbd61f17f3
tilegx: replace cpu_tilegx_init() with cpu_generic_init()

cpu_tilegx_init() always falls back to TYPE_TILEGX_CPU object
regardless of cpu_model. Put fallback logic into
tilegx_cpu_class_by_name() which would translate any cpu_model
into TYPE_TILEGX_CPU class and replace cpu_tilegx_init()
with cpu_generic_init().

Signed-off-by: Igor Mammedov <[email protected]>
Reviewed-by: Eduardo Habkost <[email protected]>
Message-Id: <1503592308[email protected]>
Signed-off-by: Eduardo Habkost <[email protected]>
target/tilegx/cpu.c
target/tilegx/cpu.h
This page took 0.025649 seconds and 4 git commands to generate.