qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [5897] ETRAX-FS: No need to decode the address anymore.
@ 2008-12-06 23:19 Edgar E. Iglesias
  0 siblings, 0 replies; only message in thread
From: Edgar E. Iglesias @ 2008-12-06 23:19 UTC (permalink / raw)
  To: qemu-devel

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));

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-06 23:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-06 23:19 [Qemu-devel] [5897] ETRAX-FS: No need to decode the address anymore Edgar E. Iglesias

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).