arm-trusted-firmware/include
Soby Mathew 7f56e9a31c Implement log framework
This patch gives users control over logging messages printed from the C
code using the LOG macros defined in debug.h Users now have the ability
to reduce the log_level at run time using the tf_log_set_max_level()
function. The default prefix string can be defined by platform by
overriding the `plat_log_get_prefix()` platform API which is also
introduced in this patch.

The new log framework results in saving of some RO data. For example,
when BL1 is built for FVP with LOG_LEVEL=LOG_LEVEL_VERBOSE, resulted
in saving 384 bytes of RO data and increase of 8 bytes of RW data. The
framework also adds about 108 bytes of code to the release build of FVP.

Fixes ARM-software/tf-issues#462

Change-Id: I476013d9c3deedfdd4c8b0b0f125665ba6250554
Co-authored-by: Eleanor Bonnici <Eleanor.bonnici@arm.com>
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
2017-09-11 15:37:24 +01:00
..
bl1 FWU: Introduce FWU_SMC_IMAGE_RESET 2017-06-01 14:52:12 +01:00
bl31 include: add U()/ULL() macros for constants 2017-06-14 17:00:30 -07:00
bl32 bl32: add secure interrupt handling in AArch32 sp_min 2017-08-09 15:48:53 +02:00
common Implement log framework 2017-09-11 15:37:24 +01:00
drivers Add SMMUv3 driver 2017-08-01 14:33:47 +01:00
lib Merge pull request #1019 from etienne-lms/log-size 2017-09-07 00:40:59 +01:00
plat Implement log framework 2017-09-11 15:37:24 +01:00
services Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
tools_share Support Trusted OS firmware extra images in TF tools 2017-08-09 18:06:05 +08:00