summaryrefslogtreecommitdiff
path: root/xen/console.h
diff options
context:
space:
mode:
Diffstat (limited to 'xen/console.h')
-rw-r--r--xen/console.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/xen/console.h b/xen/console.h
index fa13dc0..172abb8 100644
--- a/xen/console.h
+++ b/xen/console.h
@@ -21,6 +21,8 @@
#include <machine/xen.h>
#include <string.h>
+#include <device/cons.h>
+
#define hyp_console_write(str, len) hyp_console_io (CONSOLEIO_write, (len), kvtolin(str))
#define hyp_console_put(str) ({ \
@@ -30,4 +32,9 @@
extern void hyp_console_init(void);
+extern int hypcnputc(dev_t dev, int c);
+extern int hypcngetc(dev_t dev, int wait);
+extern int hypcnprobe(struct consdev *cp);
+extern int hypcninit(struct consdev *cp);
+
#endif /* XEN_CONSOLE_H */