forked from Imagelibrary/rtems
bsps/arm: Fix bsp_start_memcpy() for ARMv7-AR
Synchronize data and instruction streams.
This commit is contained in:
@@ -45,6 +45,10 @@ DEFINE_FUNCTION_ARM(bsp_start_memcpy)
|
|||||||
adr ip, worker_begin
|
adr ip, worker_begin
|
||||||
ldm ip, {r3-r8}
|
ldm ip, {r3-r8}
|
||||||
push {r3-r8}
|
push {r3-r8}
|
||||||
|
#ifdef ARM_MULTILIB_HAS_BARRIER_INSTRUCTIONS
|
||||||
|
dsb
|
||||||
|
isb
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Execute worker routine */
|
/* Execute worker routine */
|
||||||
mov r3, #0
|
mov r3, #0
|
||||||
|
|||||||
Reference in New Issue
Block a user