arm-trusted-firmware/plat/xilinx/zynqmp
Douglas Raillard 32f0d3c6c3 Replace some memset call by zeromem
Replace all use of memset by zeromem when zeroing moderately-sized
structure by applying the following transformation:
memset(x, 0, sizeof(x)) => zeromem(x, sizeof(x))

As the Trusted Firmware is compiled with -ffreestanding, it forbids the
compiler from using __builtin_memset and forces it to generate calls to
the slow memset implementation. Zeromem is a near drop in replacement
for this use case, with a more efficient implementation on both AArch32
and AArch64.

Change-Id: Ia7f3a90e888b96d056881be09f0b4d65b41aa79e
Signed-off-by: Douglas Raillard <douglas.raillard@arm.com>
2017-02-06 17:01:39 +00:00
..
aarch64 Define and use no_ret macro where no return is expected 2016-12-05 14:55:35 +00:00
include zynqmp: Migrate to new address space macros 2017-01-06 11:07:00 -08:00
pm_service Replace some memset call by zeromem 2017-02-06 17:01:39 +00:00
tsp Move BL_COHERENT_RAM_BASE/END defines to common_def.h 2017-01-18 19:33:41 +09:00
bl31_zynqmp_setup.c Move BL_COHERENT_RAM_BASE/END defines to common_def.h 2017-01-18 19:33:41 +09:00
plat_psci.c zynqmp: PM: Migrate to new shutdown interface 2016-11-16 15:48:48 -08:00
plat_startup.c zynqmp: Remove double ';' 2016-05-29 09:48:44 -07:00
plat_topology.c zynqmp: Remove unused/redundant #includes 2016-04-18 07:33:15 -07:00
plat_zynqmp.c Add support for Xilinx Zynq UltraScale+ MPSOC 2016-04-06 10:44:27 -07:00
platform.mk zynqmp: add "override" directive to mandatory options 2016-12-21 00:55:29 +09:00
sip_svc_setup.c Add support for Xilinx Zynq UltraScale+ MPSOC 2016-04-06 10:44:27 -07:00
zynqmp_def.h zynqmp: Remove dead code 2016-11-16 15:55:52 -08:00
zynqmp_private.h zynqmp: pm: Plumb get_chipid through FW interface 2016-11-16 15:48:48 -08:00