From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IPF3V-0006WX-65 for qemu-devel@nongnu.org; Sun, 26 Aug 2007 06:09:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IPF3T-0006VH-Hq for qemu-devel@nongnu.org; Sun, 26 Aug 2007 06:09:16 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IPF3T-0006VD-D0 for qemu-devel@nongnu.org; Sun, 26 Aug 2007 06:09:15 -0400 Received: from os.inf.tu-dresden.de ([141.76.48.99]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IPF3S-0006yO-Kx for qemu-devel@nongnu.org; Sun, 26 Aug 2007 06:09:15 -0400 Received: from erwin.inf.tu-dresden.de ([141.76.48.80]) by os.inf.tu-dresden.de with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) id 1IPF3P-0003ve-MX for qemu-devel@nongnu.org; Sun, 26 Aug 2007 12:09:11 +0200 Received: from adam by erwin.inf.tu-dresden.de with local (Exim 4.63) (envelope-from ) id 1IPF3P-0006hD-5v for qemu-devel@nongnu.org; Sun, 26 Aug 2007 12:09:11 +0200 Date: Sun, 26 Aug 2007 12:09:11 +0200 From: Adam Lackorzynski Message-ID: <20070826100910.GC19315@os.inf.tu-dresden.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Subject: [Qemu-devel] [PATCH] arm_gic.c error message fix 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 Hello, this patch fixes two typos in the gic_cpu_write and gic_cpu_read functions of arm_gic.c. Index: hw/arm_gic.c =================================================================== RCS file: /sources/qemu/qemu/hw/arm_gic.c,v retrieving revision 1.5 diff -u -r1.5 arm_gic.c --- hw/arm_gic.c 3 Jun 2007 15:19:31 -0000 1.5 +++ hw/arm_gic.c 26 Aug 2007 10:07:01 -0000 @@ -460,7 +460,7 @@ case 0x18: /* Highest Pending Interrupt */ return s->current_pending; default: - cpu_abort (cpu_single_env, "gic_cpu_writeb: Bad offset %x\n", offset); + cpu_abort (cpu_single_env, "gic_cpu_read: Bad offset %x\n", offset); return 0; } } @@ -484,7 +484,7 @@ case 0x10: /* End Of Interrupt */ return gic_complete_irq(s, value & 0x3ff); default: - cpu_abort (cpu_single_env, "gic_cpu_writeb: Bad offset %x\n", offset); + cpu_abort (cpu_single_env, "gic_cpu_write: Bad offset %x\n", offset); return; } gic_update(s); Adam -- Adam adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/