[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [7079] mips malta: fix commit 7064
From: |
Aurelien Jarno |
Subject: |
[Qemu-devel] [7079] mips malta: fix commit 7064 |
Date: |
Sat, 11 Apr 2009 07:02:26 +0000 |
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 <address@hidden>
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 */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [7079] mips malta: fix commit 7064,
Aurelien Jarno <=