summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/console/cbmem_console.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/console/cbmem_console.h b/src/include/console/cbmem_console.h
index 65cf59c4c5..4f03a45e74 100644
--- a/src/include/console/cbmem_console.h
+++ b/src/include/console/cbmem_console.h
@@ -3,6 +3,7 @@
#define _CONSOLE_CBMEM_CONSOLE_H_
#include <stdint.h>
+#include <stddef.h>
void cbmemc_init(void);
void cbmemc_tx_byte(unsigned char data);
@@ -19,6 +20,11 @@ static inline void __cbmemc_init(void) {}
static inline void __cbmemc_tx_byte(u8 data) {}
#endif
+/*
+ * Copy an external cbmem_console into the active cbmem_console.
+ */
+void cbmemc_copy_in(void *buffer, size_t size);
+
void cbmem_dump_console_to_uart(void);
void cbmem_dump_console(void);
#endif