changeset 1aa0b4673699 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=1aa0b4673699
description:
ARM: Fix an instruction in the cmpxchg kernel provided routine.
The instruction was encoded as a load instead of the intended store.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/arch/arm/linux/process.cc | 2 +-
diffs (12 lines):
diff -r 7d0e7547be5e -r 1aa0b4673699 src/arch/arm/linux/process.cc
--- a/src/arch/arm/linux/process.cc Wed Jul 29 00:17:20 2009 -0700
+++ b/src/arch/arm/linux/process.cc Wed Jul 29 00:18:26 2009 -0700
@@ -496,7 +496,7 @@
{
0x00, 0x30, 0x92, 0xe5, //ldr r3, [r2]
0x00, 0x30, 0x53, 0xe0, //subs r3, r3, r0
- 0x00, 0x10, 0x92, 0x05, //streq r1, [r2]
+ 0x00, 0x10, 0x82, 0x05, //streq r1, [r2]
0x03, 0x00, 0xa0, 0xe1, //mov r0, r3
0x0e, 0xf0, 0xa0, 0xe1 //usr_ret lr
};
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev