mirror of
https://github.com/CTCaer/switch-l4t-atf.git
synced 2024-12-12 20:55:36 +00:00
7f56e9a31c
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> |
||
---|---|---|
.. | ||
diagrams | ||
plat | ||
spd | ||
arm-sip-service.rst | ||
auth-framework.rst | ||
change-log.rst | ||
cpu-specific-build-macros.rst | ||
firmware-design.rst | ||
firmware-update.rst | ||
interrupt-framework-design.rst | ||
platform-migration-guide.rst | ||
porting-guide.rst | ||
psci-lib-integration-guide.rst | ||
psci-pd-tree.rst | ||
reset-design.rst | ||
rt-svc-writers-guide.rst | ||
trusted-board-boot.rst | ||
user-guide.rst | ||
xlat-tables-lib-v2-design.rst |