qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] ppc: remove dead code


From: Aurelien Jarno
Subject: Re: [Qemu-devel] [PATCH] ppc: remove dead code
Date: Tue, 18 May 2010 20:50:38 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Wed, Apr 21, 2010 at 11:48:11AM +0200, Thomas Monjalon wrote:
> From: Thomas Monjalon <address@hidden>
> 
> This function had been disabled from the beginning:
> see 9fddaa0c0cabb610947146a79b4a9a38b0a216e5
> 
> cpu_reset() function is in target-ppc/helper.c
> 
> Signed-off-by: Thomas Monjalon <address@hidden>

Thanks, applied.

> ---
>  hw/ppc.c |   10 ----------
>  1 files changed, 0 insertions(+), 10 deletions(-)
> 
> diff --git a/hw/ppc.c b/hw/ppc.c
> index 5baeeaf..2a77eb9 100644
> --- a/hw/ppc.c
> +++ b/hw/ppc.c
> @@ -1085,16 +1085,6 @@ int ppc_dcr_init (CPUState *env, int (*read_error)(int 
> dcrn),
>      return 0;
>  }
>  
> -#if 0
> -/*****************************************************************************/
> -/* Handle system reset (for now, just stop emulation) */
> -void cpu_reset(CPUState *env)
> -{
> -    printf("Reset asked... Stop emulation\n");
> -    abort();
> -}
> -#endif
> -
>  
> /*****************************************************************************/
>  /* Debug port */
>  void PPC_debug_write (void *opaque, uint32_t addr, uint32_t val)
> -- 
> 1.7.0.5
> 
> 
> 
> 
> 
> 

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
address@hidden                 http://www.aurel32.net



reply via email to

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