From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I5eiE-00063O-04 for qemu-devel@nongnu.org; Tue, 03 Jul 2007 05:30:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I5eiC-00061B-9Y for qemu-devel@nongnu.org; Tue, 03 Jul 2007 05:30:21 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5eiC-00060c-4m for qemu-devel@nongnu.org; Tue, 03 Jul 2007 05:30:20 -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 1I5eiB-0007Rf-Ma for qemu-devel@nongnu.org; Tue, 03 Jul 2007 05:30:19 -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 1I5ei9-0004Jh-Mp for qemu-devel@nongnu.org; Tue, 03 Jul 2007 11:30:17 +0200 Received: from adam by erwin.inf.tu-dresden.de with local (Exim 4.63) (envelope-from ) id 1I5ei9-0007yp-JQ for qemu-devel@nongnu.org; Tue, 03 Jul 2007 11:30:17 +0200 Date: Tue, 3 Jul 2007 11:30:17 +0200 From: Adam Lackorzynski Message-ID: <20070703093017.GJ14071@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 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 Hi, this patch fixes two typos in the gic_cpu_write and gic_cpu_read functions of arm_gic.c. Index: arm_gic.c =================================================================== RCS file: /sources/qemu/qemu/hw/arm_gic.c,v retrieving revision 1.5 diff -u -r1.5 arm_gic.c --- arm_gic.c 3 Jun 2007 15:19:31 -0000 1.5 +++ arm_gic.c 3 Jul 2007 09:27:05 -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/