alpha: replace cpu_alpha_init() with cpu_generic_init()
commit82a3d1f81f8e401c6c34cba541970197aba2bb9a
authorIgor Mammedov <imammedo@redhat.com>
Thu, 24 Aug 2017 16:31:32 +0000 (24 18:31 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 1 Sep 2017 14:54:24 +0000 (1 11:54 -0300)
treee9fbaedc3e1bdd5bc7784834a58de65a27ebad2d
parent6ad76dfd137b4d43c88f88a3cd27312f066c63ac
alpha: replace cpu_alpha_init() with cpu_generic_init()

cpu_alpha_init() used to provide default fallback if invalid
(i.e. non existent) cpu_model were provided.

dp264 machine provides its own default so sole user of fallback
is [bsd|linux]-user targets which specifies 'any' cpu model that
fallbacks to "ev67" in cpu_alpha_init(). Push fallback handling
into alpha_cpu_class_by_name() and replace cpu_alpha_init() with
cpu_generic_init().

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Richard Henderson <rth@twiddle.net>
Message-Id: <1503592308-93913-10-git-send-email-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/alpha/dp264.c
target/alpha/cpu.c
target/alpha/cpu.h