arm-trusted-firmware/include
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
..
bl1 FWU: Add Generic Firmware Update framework support in BL1 2015-12-09 17:41:18 +00:00
bl31 Introduce PSCI Library Interface 2016-07-19 10:19:01 +01:00
bl32 AArch32: Support in SP_MIN to receive arguments from BL2 2016-09-21 16:28:46 +01:00
common AArch32: Add `memcpy4` function in assembly 2016-09-28 14:03:47 +01:00
drivers emmc: support CMD23 2016-08-12 11:41:00 +08:00
lib PSCI: Introduce PSCI Library argument structure 2016-09-22 17:07:20 +01:00
plat AArch32: Support in SP_MIN to receive arguments from BL2 2016-09-21 16:28:46 +01:00
services PSCI: Do psci_setup() as part of std_svc_setup() 2016-09-22 17:07:20 +01:00