qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [5897] ETRAX-FS: No need to decode the address anymore.
Date: Sat, 06 Dec 2008 23:19:04 +0000	[thread overview]
Message-ID: <E1L96QS-0004Hx-Kp@cvs.savannah.gnu.org> (raw)

Revision: 5897
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5897
Author:   edgar_igl
Date:     2008-12-06 23:19:03 +0000 (Sat, 06 Dec 2008)

Log Message:
-----------
ETRAX-FS: No need to decode the address anymore.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

Modified Paths:
--------------
    trunk/hw/etraxfs_ser.c

Modified: trunk/hw/etraxfs_ser.c
===================================================================
--- trunk/hw/etraxfs_ser.c	2008-12-06 22:01:01 UTC (rev 5896)
+++ trunk/hw/etraxfs_ser.c	2008-12-06 23:19:03 UTC (rev 5897)
@@ -97,7 +97,7 @@
 	D(CPUState *env = s->env);
 	uint32_t r = 0;
 
-	switch (addr & 0xfff)
+	switch (addr)
 	{
 		case RW_TR_CTRL:
 			r = s->rw_tr_ctrl;
@@ -150,7 +150,7 @@
 	unsigned char ch = value;
 	D(CPUState *env = s->env);
 
-	switch (addr & 0xfff)
+	switch (addr)
 	{
 		case RW_TR_CTRL:
 			D(printf("rw_tr_ctrl=%x\n", value));

                 reply	other threads:[~2008-12-06 23:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=E1L96QS-0004Hx-Kp@cvs.savannah.gnu.org \
    --to=edgar.iglesias@gmail.com \
    --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).