arm-trusted-firmware/plat/xilinx/zynqmp/pm_service
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
..
pm_api_sys.c zynqmp: pm: Add SiP call to obtain PM callback data 2016-11-16 15:55:58 -08:00
pm_api_sys.h zynqmp: pm: Add SiP call to obtain PM callback data 2016-11-16 15:55:58 -08:00
pm_client.c Replace some memset call by zeromem 2017-02-06 17:01:39 +00:00
pm_client.h zynqmp: pm: Call set_wakeup_source for all wake devices on sys-suspend 2016-09-13 09:19:03 -07:00
pm_common.h Add support for Xilinx Zynq UltraScale+ MPSOC 2016-04-06 10:44:27 -07:00
pm_defs.h zynqmp: PM: Migrate to new shutdown interface 2016-11-16 15:48:48 -08:00
pm_ipi.c zynqmp: pm: Add SiP call to obtain PM callback data 2016-11-16 15:55:58 -08:00
pm_ipi.h zynqmp: pm: Add SiP call to obtain PM callback data 2016-11-16 15:55:58 -08:00
pm_svc_main.c zynqmp: pm: Add SiP call to obtain PM callback data 2016-11-16 15:55:58 -08:00
pm_svc_main.h Add support for Xilinx Zynq UltraScale+ MPSOC 2016-04-06 10:44:27 -07:00