From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F9M9x-00077i-8C for qemu-devel@nongnu.org; Wed, 15 Feb 2006 07:53:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F9M3z-0003YK-CP for qemu-devel@nongnu.org; Wed, 15 Feb 2006 07:47:20 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F9M1z-0001KJ-LC for qemu-devel@nongnu.org; Wed, 15 Feb 2006 07:45:16 -0500 Received: from [193.7.176.20] (helo=bender.bawue.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1F9M6t-0004Wm-Dg for qemu-devel@nongnu.org; Wed, 15 Feb 2006 07:50:19 -0500 Received: from lagash (unknown [194.74.144.146]) (using TLSv1 with cipher DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by bender.bawue.de (Postfix) with ESMTP id AE1D444A49 for ; Wed, 15 Feb 2006 13:45:13 +0100 (MET) Received: from ths by lagash with local (Exim 4.60) (envelope-from ) id 1F9M2F-00044s-0o for qemu-devel@nongnu.org; Wed, 15 Feb 2006 12:45:31 +0000 Date: Wed, 15 Feb 2006 12:45:30 +0000 Message-ID: <20060215124530.GC29709@networkno.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline From: Thiemo Seufer Subject: [Qemu-devel] [PATCH] Minor mips-related patchlet 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 All, this adds a missing prototype and a store function template which is apparently unused but looks like a good thing to have around (other ports have it). Thiemo Index: target-mips/op_mem.c =================================================================== RCS file: /sources/qemu/qemu/target-mips/op_mem.c,v retrieving revision 1.2 diff -u -p -r1.2 op_mem.c --- target-mips/op_mem.c 5 Dec 2005 19:59:36 -0000 1.2 +++ target-mips/op_mem.c 15 Feb 2006 12:38:30 -0000 @@ -107,6 +107,8 @@ void glue(op_ll, MEMSUFFIX) (void) RETURN(); } +extern void dump_sc (void); + void glue(op_sc, MEMSUFFIX) (void) { CALL_FROM_TB0(dump_sc); Index: target-mips/op_template.c =================================================================== RCS file: /sources/qemu/qemu/target-mips/op_template.c,v retrieving revision 1.1 diff -u -p -r1.1 op_template.c --- target-mips/op_template.c 2 Jul 2005 14:57:14 -0000 1.1 +++ target-mips/op_template.c 15 Feb 2006 12:38:30 -0000 @@ -48,6 +48,12 @@ void glue(op_load_gpr_T2_gpr, REG) (void T2 = env->gpr[REG]; RETURN(); } + +void glue(op_store_T2_gpr_gpr, REG) (void) +{ + env->gpr[REG] = T2; + RETURN(); +} #endif #if defined (TN)