Received: from [140.186.70.92] (port=39723 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OERsJ-0006MD-2Q for qemu-devel@nongnu.org; Tue, 18 May 2010 14:50:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OERsH-0006JO-4O for qemu-devel@nongnu.org; Tue, 18 May 2010 14:50:42 -0400 Received: from hall.aurel32.net ([88.191.82.174]:59887) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OERsG-0006JG-Vh for qemu-devel@nongnu.org; Tue, 18 May 2010 14:50:41 -0400 Date: Tue, 18 May 2010 20:50:38 +0200 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH] ppc: remove dead code Message-ID: <20100518185038.GH31346@ohm.aurel32.net> References: <1271843291-13804-1-git-send-email-thomas_ml@monjalon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1271843291-13804-1-git-send-email-thomas_ml@monjalon.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Monjalon Cc: qemu-devel@nongnu.org On Wed, Apr 21, 2010 at 11:48:11AM +0200, Thomas Monjalon wrote: > From: Thomas Monjalon > > This function had been disabled from the beginning: > see 9fddaa0c0cabb610947146a79b4a9a38b0a216e5 > > cpu_reset() function is in target-ppc/helper.c > > Signed-off-by: Thomas Monjalon 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 aurelien@aurel32.net http://www.aurel32.net