qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH for-next 74/74] Kill off cpu_state_reset()


From: Michael Walle
Subject: Re: [Qemu-devel] [PATCH for-next 74/74] Kill off cpu_state_reset()
Date: Wed, 9 May 2012 20:16:10 +0200
User-agent: KMail/1.13.5 (Linux/2.6.32-5-686-bigmem; KDE/4.4.5; i686; ; )

> In commit 1bba0dc932e8826a7d030df3767daf0bc339f9a2 cpu_reset()
> was renamed to cpu_state_reset(), to allow introducing a new cpu_reset()
> that would operate on QOM objects.
> 
> All callers have been updated except for one in target-mips, so drop all
> implementations except for the one in target-mips and move the
> declaration there until MIPSCPU reset can be fully QOM'ified.
> 
> Signed-off-by: Andreas Färber <address@hidden>

[..]

> diff --git a/target-lm32/helper.c b/target-lm32/helper.c
> index 3b1cee7..1ea477f 100644
> --- a/target-lm32/helper.c
> +++ b/target-lm32/helper.c
> @@ -233,9 +233,3 @@ void cpu_lm32_set_phys_msb_ignore(CPULM32State *env,
> int value) env->flags &= ~LM32_FLAG_IGNORE_MSB;
>      }
>  }
> -
> -void cpu_state_reset(CPULM32State *env)
> -{
> -    cpu_reset(ENV_GET_CPU(env));
> -}
> -

Acked-by: Michael Walle <address@hidden>



reply via email to

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