aboutsummaryrefslogtreecommitdiff
path: root/device/cons.c
diff options
context:
space:
mode:
Diffstat (limited to 'device/cons.c')
-rw-r--r--device/cons.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/device/cons.c b/device/cons.c
index fb96d696..e3e95ffb 100644
--- a/device/cons.c
+++ b/device/cons.c
@@ -260,6 +260,15 @@ cnputc(c)
kmsg_putchar (c);
#endif
+#if defined(MACH_HYP) && 0
+ {
+ /* Also output on hypervisor's emergency console, for
+ * debugging */
+ unsigned char d = c;
+ hyp_console_write(&d, 1);
+ }
+#endif /* MACH_HYP */
+
if (cn_tab) {
(*cn_tab->cn_putc)(cn_tab->cn_dev, c);
if (c == '\n')