arm-trusted-firmware/include/common
Yatharth Kochar 9c1dceb106 AArch32: Add `memcpy4` function in assembly
At present the `el3_entrypoint_common` macro uses `memcpy`
function defined in lib/stdlib/mem.c file, to copy data
from ROM to RAM for BL1. Depending on the compiler being
used the stack could potentially be used, in `memcpy`,
for storing the local variables. Since the stack is
initialized much later in `el3_entrypoint_common` it
may result in unknown behaviour.

This patch adds `memcpy4` function definition in assembly so
that it can be used before the stack is initialized and it
also replaces `memcpy` by `memcpy4` in `el3_entrypoint_common`
macro, to copy data from ROM to RAM for BL1.

Change-Id: I3357a0e8095f05f71bbbf0b185585d9499bfd5e0
2016-09-28 14:03:47 +01:00
..
aarch32 AArch32: Add `memcpy4` function in assembly 2016-09-28 14:03:47 +01:00
aarch64 Rearrange assembly helper macros 2016-07-19 10:19:08 +01:00
tbbr Replace all SCP FW (BL0, BL3-0) references 2015-12-14 12:31:16 +00:00
asm_macros_common.S AArch32: Add assembly helpers 2016-08-10 12:35:46 +01:00
bl_common.h PSCI: Introduce PSCI Library argument structure 2016-09-22 17:07:20 +01:00
debug.h Make cpu operations warning a VERBOSE print 2016-03-22 10:00:42 +00:00
desc_image_load.h Add new version of image loading. 2016-09-20 16:16:42 +01:00
firmware_image_package.h Replace all SCP FW (BL0, BL3-0) references 2015-12-14 12:31:16 +00:00
runtime_svc.h AArch32: Add API to invoke runtime service handler 2016-08-10 12:35:46 +01:00