]> git.proxmox.com Git - mirror_qemu.git/commit
sh4: cleanup cpu type name composition
authorIgor Mammedov <imammedo@redhat.com>
Thu, 5 Oct 2017 13:50:55 +0000 (15:50 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 27 Oct 2017 14:03:54 +0000 (16:03 +0200)
commit974e58d2105f1b728232ce354441f95ff0349388
tree828ee63fa347c3618cf3f04d5dbf8b5d52cc6256
parentb0224788e7dc6d016ccda68959720ea9ab435191
sh4: cleanup cpu type name composition

introduce SUPERH_CPU_TYPE_NAME macro and use it to construct
cpu type names. While at it move cpu type_infos into one
array and register it directly with type_init_from_array()
instead of custom superh_cpu_register_types()

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <1507211474-188400-22-git-send-email-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/sh4/cpu-qom.h
target/sh4/cpu.c
target/sh4/cpu.h