summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authordavidcunado-arm <david.cunado@arm.com>2017-09-18 12:17:33 +0100
committerGitHub <noreply@github.com>2017-09-18 12:17:33 +0100
commitb4f4a2f06ce4da2b7856abb71ad38e726aa7ec68 (patch)
treef1e70250154010f18994c4d1ea68ce0c133bd722 /docs
parent756f9bb86ea71b5816da53e4a40ee6e3fe9e5625 (diff)
parent7f56e9a31c91099cd0147883a0282ec89ae0b346 (diff)
Merge pull request #1093 from soby-mathew/eb/log_fw
Implement log framework
Diffstat (limited to 'docs')
-rw-r--r--docs/porting-guide.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/porting-guide.rst b/docs/porting-guide.rst
index c8d61ed1..97985666 100644
--- a/docs/porting-guide.rst
+++ b/docs/porting-guide.rst
@@ -1014,6 +1014,21 @@ This function flushes to main memory all the image params that are passed to
next image. This function is currently invoked in BL2 to flush this information
to the next BL image, when LOAD\_IMAGE\_V2 is enabled.
+Function : plat\_log\_get\_prefix()
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+::
+
+ Argument : unsigned int
+ Return : const char *
+
+This function defines the prefix string corresponding to the `log_level` to be
+prepended to all the log output from ARM Trusted Firmware. The `log_level`
+(argument) will correspond to one of the standard log levels defined in
+debug.h. The platform can override the common implementation to define a
+different prefix string for the log output. The implementation should be
+robust to future changes that increase the number of log levels.
+
Modifications specific to a Boot Loader stage
---------------------------------------------