arm-trusted-firmware/services/spd/opteed
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
..
opteed.mk Add opteed based on tspd 2014-09-16 11:51:54 -07:00
opteed_common.c Replace some memset call by zeromem 2017-02-06 17:01:39 +00:00
opteed_helpers.S Add support to indicate size and end of assembly functions 2015-04-08 13:02:59 +01:00
opteed_main.c opteed: assume aarch64 for optee 2016-06-13 10:19:58 +01:00
opteed_pm.c Pass the target suspend level to SPD suspend hooks 2015-09-10 15:16:45 +01:00
opteed_private.h Add opteed based on tspd 2014-09-16 11:51:54 -07:00
teesmc_opteed.h Add opteed based on tspd 2014-09-16 11:51:54 -07:00
teesmc_opteed_macros.h Add opteed based on tspd 2014-09-16 11:51:54 -07:00