aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/vga.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-08-16 18:20:03 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-08-16 18:20:03 +0100
commit25dd6e678d52e1bb70375ccb83e442414b3484c0 (patch)
treef64cd3b6d507b8058295a09ea2b5d9e64d7c0091 /xen/include/xen/vga.h
parent09087301cb02f43430c8eb6becff9bb32bc5bbd6 (diff)
downloadxen-25dd6e678d52e1bb70375ccb83e442414b3484c0.tar.gz
xen-25dd6e678d52e1bb70375ccb83e442414b3484c0.tar.bz2
xen-25dd6e678d52e1bb70375ccb83e442414b3484c0.zip
[XEN] vga code cleanups and additions for other architectures.
Based on patches from Hollis Blanchard and Alex Williamson. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/xen/vga.h')
-rw-r--r--xen/include/xen/vga.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/xen/include/xen/vga.h b/xen/include/xen/vga.h
index 9284b71822..3431d625f7 100644
--- a/xen/include/xen/vga.h
+++ b/xen/include/xen/vga.h
@@ -9,10 +9,16 @@
#ifndef _XEN_VGA_H
#define _XEN_VGA_H
-struct font_desc;
+#include <xen/config.h>
-void *setup_vga(void);
-void vga_cursor_off(void);
-int vga_load_font(const struct font_desc *, unsigned rows);
+#ifdef CONFIG_VGA
+void vga_init(void);
+void vga_endboot(void);
+void vga_putchar(int c);
+#else
+#define vga_init() ((void)0)
+#define vga_endboot() ((void)0)
+#define vga_putchar(c) ((void)0)
+#endif
#endif /* _XEN_VGA_H */