qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 12/28] alpha: replace cpu_alpha_init() with cpu_


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH 12/28] alpha: replace cpu_alpha_init() with cpu_generic_init()
Date: Sat, 15 Jul 2017 08:05:31 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

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<address@hidden>
---
PS:
   tested only linux-user as I don't have bsd box to test on

CC: Richard Henderson<address@hidden>
CC: Riku Voipio<address@hidden>
CC: Laurent Vivier<address@hidden>
---
  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 <address@hidden>


r



reply via email to

[Prev in Thread] Current Thread [Next in Thread]