summaryrefslogtreecommitdiffstats
path: root/target/tricore/helper.c
diff options
context:
space:
mode:
authorIgor Mammedov2017-08-24 18:31:39 +0200
committerEduardo Habkost2017-09-01 16:54:24 +0200
commita69773122b55961ee2dd3afd87b8321564bfe3a8 (patch)
treebdd7bfe9e35169526f922c6e0725159e72761a4c /target/tricore/helper.c
parentxtensa: replace cpu_xtensa_init() with cpu_generic_init() (diff)
downloadqemu-a69773122b55961ee2dd3afd87b8321564bfe3a8.tar.gz
qemu-a69773122b55961ee2dd3afd87b8321564bfe3a8.tar.xz
qemu-a69773122b55961ee2dd3afd87b8321564bfe3a8.zip
tricore: replace cpu_tricore_init() with cpu_generic_init()
it's just a wrapper, drop it and use cpu_generic_init() directly Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <1503592308-93913-17-git-send-email-imammedo@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target/tricore/helper.c')
-rw-r--r--target/tricore/helper.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/target/tricore/helper.c b/target/tricore/helper.c
index 3118905eca..378c2a4a76 100644
--- a/target/tricore/helper.c
+++ b/target/tricore/helper.c
@@ -78,11 +78,6 @@ int cpu_tricore_handle_mmu_fault(CPUState *cs, target_ulong address,
return ret;
}
-TriCoreCPU *cpu_tricore_init(const char *cpu_model)
-{
- return TRICORE_CPU(cpu_generic_init(TYPE_TRICORE_CPU, cpu_model));
-}
-
static void tricore_cpu_list_entry(gpointer data, gpointer user_data)
{
ObjectClass *oc = data;