summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2012-09-29 00:21:27 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-11-09 19:01:15 +0100
commita54b6a61433600fe80d215dc8f8489fab44d0bfd (patch)
tree073683aae706c5cbb54fed2a16c8d12e1d8b478b /payloads/libpayload/include
parent87abeff334c2a90e743434c4549da3cfce4d144a (diff)
downloadcoreboot-a54b6a61433600fe80d215dc8f8489fab44d0bfd.tar.xz
libpayload: Add support for the CBMEM in memory console.
Change-Id: I1489b5306ef1ca078686fed4dba2d242f70ad941 Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: http://review.coreboot.org/1727 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r--payloads/libpayload/include/libpayload.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h
index b47d79f7fc..3a91cbc959 100644
--- a/payloads/libpayload/include/libpayload.h
+++ b/payloads/libpayload/include/libpayload.h
@@ -201,6 +201,15 @@ void video_console_get_cursor(unsigned int *x, unsigned int *y, unsigned int *en
void video_console_set_cursor(unsigned int cursorx, unsigned int cursory);
/** @} */
+/**
+ * @defgroup cbmem_console CBMEM memory console.
+ * @ingroup input
+ * @{
+ */
+void cbmem_console_init(void);
+void cbmem_console_putc(unsigned int data);
+/** @} */
+
/* drivers/option.c */
struct nvram_accessor {
u8 (*read)(u8 reg);