arm-trusted-firmware/plat/qemu
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 Add support for QEMU virt ARMv8-A target 2016-06-09 11:23:28 +02:00
include qemu: remove unused BL32_SIZE 2017-01-18 19:33:41 +09:00
dt.c Add support for QEMU virt ARMv8-A target 2016-06-09 11:23:28 +02:00
platform.mk Migrate platform makefile to new console driver location 2016-08-09 17:33:57 +01:00
qemu_bl1_setup.c Move BL_COHERENT_RAM_BASE/END defines to common_def.h 2017-01-18 19:33:41 +09:00
qemu_bl2_setup.c Replace some memset call by zeromem 2017-02-06 17:01:39 +00:00
qemu_bl31_setup.c Move BL_COHERENT_RAM_BASE/END defines to common_def.h 2017-01-18 19:33:41 +09:00
qemu_common.c Use #ifdef for IMAGE_BL* instead of #if 2017-01-24 01:01:21 +09:00
qemu_gic.c Add support for QEMU virt ARMv8-A target 2016-06-09 11:23:28 +02:00
qemu_io_storage.c Add support for QEMU virt ARMv8-A target 2016-06-09 11:23:28 +02:00
qemu_pm.c Add support for QEMU virt ARMv8-A target 2016-06-09 11:23:28 +02:00
qemu_private.h Add support for QEMU virt ARMv8-A target 2016-06-09 11:23:28 +02:00
topology.c Add support for QEMU virt ARMv8-A target 2016-06-09 11:23:28 +02:00