From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=46261 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OeeiG-0005ZT-OF for qemu-devel@nongnu.org; Thu, 29 Jul 2010 21:48:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OeeiF-0003kP-Ik for qemu-devel@nongnu.org; Thu, 29 Jul 2010 21:48:40 -0400 Received: from qmta14.westchester.pa.mail.comcast.net ([76.96.59.212]:36858) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OeeiF-0003kG-Fj for qemu-devel@nongnu.org; Thu, 29 Jul 2010 21:48:39 -0400 From: Hollis Blanchard Date: Thu, 29 Jul 2010 18:48:23 -0700 Message-Id: <1280454504-31224-1-git-send-email-hollis@penguinppc.org> Subject: [Qemu-devel] [PATCH] PPC4xx: don't unregister RAM at reset List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kvm-ppc@vger.kernel.org, Hollis Blanchard The PowerPC 4xx SDRAM controller emulation unregisters RAM in its reset callback. However, qemu_system_reset() is now called at initialization time, so RAM is unregistered before starting the guest. Signed-off-by: Hollis Blanchard --- hw/ppc4xx_devs.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/hw/ppc4xx_devs.c b/hw/ppc4xx_devs.c index be130c4..7f698b8 100644 --- a/hw/ppc4xx_devs.c +++ b/hw/ppc4xx_devs.c @@ -619,7 +619,6 @@ static void sdram_reset (void *opaque) /* We pre-initialize RAM banks */ sdram->status = 0x00000000; sdram->cfg = 0x00800000; - sdram_unmap_bcr(sdram); } void ppc4xx_sdram_init (CPUState *env, qemu_irq irq, int nbanks, -- 1.7.1.1