diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-07-29 00:18:26 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-07-29 00:18:26 -0700 |
commit | b066e717f4301bd5b882319d7d52e8bbd9c0b6c2 (patch) | |
tree | 0eb74844a2a9e4af60ca4dd50d40aa5807057f88 | |
parent | c2da5bae17436b87a9aa960eab2f77383f4e5a4c (diff) | |
download | gem5-b066e717f4301bd5b882319d7d52e8bbd9c0b6c2.tar.xz |
ARM: Fix an instruction in the cmpxchg kernel provided routine.
The instruction was encoded as a load instead of the intended store.
-rw-r--r-- | src/arch/arm/linux/process.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/arm/linux/process.cc b/src/arch/arm/linux/process.cc index 6736a649d..56e3588a7 100644 --- a/src/arch/arm/linux/process.cc +++ b/src/arch/arm/linux/process.cc @@ -496,7 +496,7 @@ ArmLinuxProcess::startup() { 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 }; |