mirror of https://github.com/ARMmbed/mbed-os.git
Update TESTS/mbed_hal/spm/main.cpp
Use r3 instead of r4 Co-Authored-By: orenc17 <oren.cohen@arm.com>pull/9370/head
parent
8e20890c75
commit
cc5e9053a1
|
@ -84,7 +84,7 @@ __attribute__((naked)) void call_mem(uint32_t addr)
|
||||||
// since exception will be generated for invalid memory access.
|
// since exception will be generated for invalid memory access.
|
||||||
// Other instructions are for calling do_nothing function according to AAPCS.
|
// Other instructions are for calling do_nothing function according to AAPCS.
|
||||||
__ASM(
|
__ASM(
|
||||||
"LDR r4, [r0]\n"
|
"LDR r3, [r0]\n"
|
||||||
"BX lr\n"
|
"BX lr\n"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue