diff options
author | Soby Mathew <soby.mathew@arm.com> | 2017-09-04 11:45:52 +0100 |
---|---|---|
committer | Soby Mathew <soby.mathew@arm.com> | 2017-09-11 15:35:41 +0100 |
commit | 2d7e82823dc28ccfa776dc0ecdaeeda8c465bf62 (patch) | |
tree | ed0cda0ed2f65b3acdbabd772ef92b32e905f6f5 /include/common/debug.h | |
parent | 8b6385deb379c1e36e2d729e5c5dd9a5f30bb04f (diff) |
Introduce tf_vprintf() and tf_string_print()
This patch introduces tf_vprintf() and tf_string_print() APIs
which is needed by the logging framework introduced in a later
patch.
Change-Id: Ie4240443d0e04e070502b51e371e546dd469fd33
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
Diffstat (limited to 'include/common/debug.h')
-rw-r--r-- | include/common/debug.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/common/debug.h b/include/common/debug.h index 814cf840..b8582419 100644 --- a/include/common/debug.h +++ b/include/common/debug.h @@ -24,6 +24,7 @@ #define LOG_LEVEL_VERBOSE 50 #ifndef __ASSEMBLY__ +#include <stdarg.h> #include <stdio.h> #if LOG_LEVEL >= LOG_LEVEL_NOTICE @@ -65,6 +66,8 @@ void __dead2 __stack_chk_fail(void); void tf_printf(const char *fmt, ...) __printflike(1, 2); int tf_snprintf(char *s, size_t n, const char *fmt, ...) __printflike(3, 4); +void tf_vprintf(const char *fmt, va_list args); +void tf_string_print(const char *str); #endif /* __ASSEMBLY__ */ #endif /* __DEBUG_H__ */ |