qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [7079] mips malta: fix commit 7064
@ 2009-04-11  7:02 Aurelien Jarno
  0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2009-04-11  7:02 UTC (permalink / raw)
  To: qemu-devel

Revision: 7079
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7079
Author:   aurel32
Date:     2009-04-11 07:02:25 +0000 (Sat, 11 Apr 2009)
Log Message:
-----------
mips malta: fix commit 7064

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

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

Modified: trunk/hw/mips_malta.c
===================================================================
--- trunk/hw/mips_malta.c	2009-04-10 21:56:32 UTC (rev 7078)
+++ trunk/hw/mips_malta.c	2009-04-11 07:02:25 UTC (rev 7079)
@@ -679,13 +679,13 @@
     }
 
     table_addr = ENVP_ADDR + sizeof(int32_t) * ENVP_NB_ENTRIES
-                 + index * ENVP_ENTRY_SIZE + VIRT_TO_PHYS_ADDEND;
-    stl_raw(p, table_addr);
+                 + index * ENVP_ENTRY_SIZE;
+    stl_phys(p, table_addr);
 
     va_start(ap, string);
     vsnprintf(buf, ENVP_ENTRY_SIZE, string, ap);
     va_end(ap);
-    pstrcpy_targphys(table_addr, ENVP_ENTRY_SIZE, buf);
+    pstrcpy_targphys(table_addr + VIRT_TO_PHYS_ADDEND, ENVP_ENTRY_SIZE, buf);
 }
 
 /* Kernel */

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

only message in thread, other threads:[~2009-04-11  7:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-11  7:02 [Qemu-devel] [7079] mips malta: fix commit 7064 Aurelien Jarno

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