summaryrefslogtreecommitdiff
path: root/src/include/console/streams.h
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-04-13 17:57:34 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-04-18 16:39:40 +0200
commitefb0b51e62667ade4d96f2a15eb6ed60bb29a9fe (patch)
tree18e4b0986c4ae43bee2f2689c2128ff2cf2ed554 /src/include/console/streams.h
parent4076072b6c76debae0e328486d9bab71fe391db7 (diff)
downloadcoreboot-efb0b51e62667ade4d96f2a15eb6ed60bb29a9fe.tar.xz
console: Split ROMCC helpers
These are potentially useful with GDB or SerialICE too. Also it reduces the amount of actual code we put in romcc_console. Change-Id: Id8c56e979660ad9f4eef39c648f68c7ec60edfba Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5339 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/include/console/streams.h')
-rw-r--r--src/include/console/streams.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/console/streams.h b/src/include/console/streams.h
index 288fade63e..9d4d3fcc6b 100644
--- a/src/include/console/streams.h
+++ b/src/include/console/streams.h
@@ -22,4 +22,11 @@ void console_hw_init(void);
void console_tx_byte(unsigned char byte);
void console_tx_flush(void);
+/* Helpers for ROMCC console. */
+void console_tx_nibble(unsigned nibble);
+void console_tx_hex8(unsigned char value);
+void console_tx_hex16(unsigned short value);
+void console_tx_hex32(unsigned int value);
+void console_tx_string(const char *str);
+
#endif /* _CONSOLE_STREAMS_H_ */