summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include
diff options
context:
space:
mode:
authorUlf Jordan <jordan@chalmers.se>2008-09-03 19:59:44 +0000
committerJordan Crouse <jordan.crouse@amd.com>2008-09-03 19:59:44 +0000
commitd57a68063234f56bcf7c315e9a5c16bd069e626f (patch)
treeef350feaeb0c5681ab0d8a95ab4bc94dba39feff /payloads/libpayload/include
parentd21f68bbd588f46c23066eb8d227b51e4823de41 (diff)
Add support for curses color output over serial.
Note that the sequence \e[m for turning off bold resets all attributes, including color. Signed-off-by: Ulf Jordan <jordan@chalmers.se> Acked-by: Jordan Crouse <jordan.crouse@amd.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3561 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r--payloads/libpayload/include/libpayload.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h
index cc50fd0671..7af19dee06 100644
--- a/payloads/libpayload/include/libpayload.h
+++ b/payloads/libpayload/include/libpayload.h
@@ -139,6 +139,7 @@ void serial_start_bold(void);
void serial_end_bold(void);
void serial_start_altcharset(void);
void serial_end_altcharset(void);
+void serial_set_color(short fg, short bg);
void serial_set_cursor(int y, int x);
/** @} */