cd04a5f1aa
The current code assumed that READ/WRITE would produce atomic read/writes for 8/16/32-bit words, which in turned put assumption on the memcpy function. Since some memcpy implementation do not always guarantee such strong assumption, introduce two new operation READ/WRITE_ATOMIC which provide the necessary tools to do correct read and write to register in a single memory access. Change-Id: I37451bd5057bb0dcaf5a800d8aef8791c792a090
33 lines
544 B
Text
33 lines
544 B
Text
#if defined(CPU_ARM)
|
|
asm/arm/memcpy.S
|
|
asm/arm/memmove.S
|
|
asm/arm/memset.S
|
|
asm/arm/atomic_rw.S
|
|
#elif defined(CPU_MIPS)
|
|
asm/mips/memcpy.S
|
|
asm/mips/memset.S
|
|
asm/mips/atomic_rw.S
|
|
#else
|
|
#error "Unimplemented ISA"
|
|
#endif
|
|
main.c
|
|
logf.c
|
|
string.c
|
|
format.c
|
|
#ifdef CONFIG_STMP
|
|
stmp/crt0.S
|
|
stmp/target.c
|
|
usb_drv_arc.c
|
|
#elif defined(CONFIG_RK27XX)
|
|
rk27xx/crt0.S
|
|
rk27xx/usb_drv_rk27xx.c
|
|
rk27xx/target.c
|
|
#elif defined(CONFIG_PP)
|
|
pp/crt0.S
|
|
pp/target.c
|
|
usb_drv_arc.c
|
|
#elif defined(CONFIG_ATJ213X)
|
|
atj213x/crt0.S
|
|
atj213x/target.c
|
|
atj213x/usb_drv_atj213x.c
|
|
#endif
|