qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thiemo Seufer <ths@networkno.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] Minor mips-related patchlet
Date: Wed, 15 Feb 2006 12:45:30 +0000	[thread overview]
Message-ID: <20060215124530.GC29709@networkno.de> (raw)

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)

             reply	other threads:[~2006-02-15 12:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-15 12:45 Thiemo Seufer [this message]
2006-03-11 15:01 ` [Qemu-devel] [PATCH] Minor mips-related patchlet Paul Brook
2006-03-13 14:41   ` Thiemo Seufer
2006-03-13 14:48     ` Paul Brook

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060215124530.GC29709@networkno.de \
    --to=ths@networkno.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).