Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kltln-0002JA-Q6 for qemu-devel@nongnu.org; Fri, 03 Oct 2008 19:09:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kltll-0002I2-IX for qemu-devel@nongnu.org; Fri, 03 Oct 2008 19:09:10 -0400 Received: from [199.232.76.173] (port=56848 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kltll-0002Hh-Cz for qemu-devel@nongnu.org; Fri, 03 Oct 2008 19:09:09 -0400 Received: from savannah.gnu.org ([199.232.41.3]:45340 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kltll-00050J-7q for qemu-devel@nongnu.org; Fri, 03 Oct 2008 19:09:09 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1Kltlk-0008JD-Lw for qemu-devel@nongnu.org; Fri, 03 Oct 2008 23:09:08 +0000 Received: from balrog by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1Kltlk-0008J8-FJ for qemu-devel@nongnu.org; Fri, 03 Oct 2008 23:09:08 +0000 MIME-Version: 1.0 Errors-To: balrog Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Andrzej Zaborowski Message-Id: Date: Fri, 03 Oct 2008 23:09:08 +0000 Subject: [Qemu-devel] [5410] Improve pflash cfi01 debug messages (Thomas Petazzoni). Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 5410 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5410 Author: balrog Date: 2008-10-03 23:09:08 +0000 (Fri, 03 Oct 2008) Log Message: ----------- Improve pflash cfi01 debug messages (Thomas Petazzoni). This patches slightly improves the debugging messages in pflash_read() and pflash_write(). Signed-off-by: Thomas Petazzoni Modified Paths: -------------- trunk/hw/pflash_cfi01.c Modified: trunk/hw/pflash_cfi01.c =================================================================== --- trunk/hw/pflash_cfi01.c 2008-10-03 23:00:09 UTC (rev 5409) +++ trunk/hw/pflash_cfi01.c 2008-10-03 23:09:08 UTC (rev 5410) @@ -111,8 +111,8 @@ else if (pfl->width == 4) boff = boff >> 2; - DPRINTF("%s: reading offset " TARGET_FMT_lx " under cmd %02x\n", - __func__, boff, pfl->cmd); + DPRINTF("%s: reading offset " TARGET_FMT_lx " under cmd %02x width %d\n", + __func__, offset, pfl->cmd, width); switch (pfl->cmd) { case 0x00: @@ -205,7 +205,7 @@ cmd = value; offset -= pfl->base; - DPRINTF("%s: offset " TARGET_FMT_lx " %08x %d wcycle 0x%x\n", + DPRINTF("%s: writing offset " TARGET_FMT_lx " value %08x width %d wcycle 0x%x\n", __func__, offset, value, width, pfl->wcycle); /* Set the device in I/O access mode */