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>
This commit is contained in:
Soby Mathew 2017-09-04 11:45:52 +01:00
parent 8b6385deb3
commit 2d7e82823d
2 changed files with 19 additions and 9 deletions

View file

@ -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__ */