Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4WXY-0004Mg-6A for qemu-devel@nongnu.org; Wed, 21 Apr 2010 05:48:16 -0400 Received: from [140.186.70.92] (port=49104 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4WXW-0004KP-5J for qemu-devel@nongnu.org; Wed, 21 Apr 2010 05:48:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4WXU-0007S4-MP for qemu-devel@nongnu.org; Wed, 21 Apr 2010 05:48:14 -0400 Received: from smtp2a.orange.fr ([80.12.242.140]:34264) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4WXU-0007Rx-6s for qemu-devel@nongnu.org; Wed, 21 Apr 2010 05:48:12 -0400 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2a21.orange.fr (SMTP Server) with ESMTP id 22FEE7001497 for ; Wed, 21 Apr 2010 11:48:11 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2a21.orange.fr (SMTP Server) with ESMTP id 1720270014BE for ; Wed, 21 Apr 2010 11:48:11 +0200 (CEST) Received: from localhost.localdomain (LPuteaux-156-15-47-90.w82-127.abo.wanadoo.fr [82.127.74.90]) by mwinf2a21.orange.fr (SMTP Server) with ESMTP id E0A427001497 for ; Wed, 21 Apr 2010 11:48:10 +0200 (CEST) From: Thomas Monjalon Date: Wed, 21 Apr 2010 11:48:11 +0200 Message-Id: <1271843291-13804-1-git-send-email-thomas_ml@monjalon.net> Subject: [Qemu-devel] [PATCH] ppc: remove dead code List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 --- 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