On 07/14/2017 03:52 AM, Igor Mammedov wrote:
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<imamm...@redhat.com>
---
PS:
tested only linux-user as I don't have bsd box to test on
CC: Richard Henderson<r...@twiddle.net>
CC: Riku Voipio<riku.voi...@iki.fi>
CC: Laurent Vivier<laur...@vivier.eu>
---
target/alpha/cpu.h | 4 +---
hw/alpha/dp264.c | 8 ++++++--
target/alpha/cpu.c | 20 +++++---------------
3 files changed, 12 insertions(+), 20 deletions(-)
Acked-by: Richard Henderson <r...@twiddle.net>
r