summaryrefslogtreecommitdiffstats
path: root/src/usr/htmgt/htmgt_occcmd.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/htmgt/htmgt_occcmd.H')
-rw-r--r--src/usr/htmgt/htmgt_occcmd.H11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/usr/htmgt/htmgt_occcmd.H b/src/usr/htmgt/htmgt_occcmd.H
index 26262f944..8bdb5270d 100644
--- a/src/usr/htmgt/htmgt_occcmd.H
+++ b/src/usr/htmgt/htmgt_occcmd.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2014,2016 */
+/* Contributors Listed Below - COPYRIGHT 2014,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -144,6 +144,15 @@ namespace HTMGT
};
+#ifdef CONFIG_CONSOLE_OUTPUT_OCC_COMM
+ // Dump header information and set of binary data to the console.
+ // NOTE: Data is dumped in groups of 16 bytes. If i_len is not a
+ // multiple of 16, additional data data will be dumped.
+ void dumpToConsole(const char * i_header,
+ const uint8_t * i_data,
+ uint16_t i_len);
+#endif
+
/**
* @class OccCmd
OpenPOWER on IntegriCloud