diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2017-01-06 00:03:23 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-01-10 14:17:43 +1100 |
commit | 6e1eb06aadd6a59caa75c4ceeec99f07918d57ce (patch) | |
tree | 063afaadd654cecbbecedb1c6b7483165306d520 /include | |
parent | d57264232a6e2087a0506a4beca24ade14b53d55 (diff) | |
download | skiboot-6e1eb06aadd6a59caa75c4ceeec99f07918d57ce.zip skiboot-6e1eb06aadd6a59caa75c4ceeec99f07918d57ce.tar.gz skiboot-6e1eb06aadd6a59caa75c4ceeec99f07918d57ce.tar.bz2 |
mambo: add mprintf()
mprintf() is printf(), but it goes straight to the mambo console. This
allows it to be independent of Skiboot's actual console infrastructure
so it can be used for debugging the console drivers and for debugging
code that runs before the console is setup.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/console.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/console.h b/include/console.h index b726251..708b696 100644 --- a/include/console.h +++ b/include/console.h @@ -100,4 +100,6 @@ extern struct opal_con_ops uart_opal_con; extern struct opal_con_ops fsp_opal_con; extern struct opal_con_ops dummy_opal_con; +void mprintf(const char *fmt, ...); + #endif /* __CONSOLE_H */ |