ARM: Fix an instruction in the cmpxchg kernel provided routine.
The instruction was encoded as a load instead of the intended store.
This commit is contained in:
parent
c2da5bae17
commit
b066e717f4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue