|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[Xen-ia64-devel] [PATCH] VGA Fixes (1/3)
VGA console support seems to have gotten broken somewhere along the
way. On current bits, console=vga doesn't seem to do anything. This
patch adds the necessary console info to get it working again.
Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
diff -r fcdd56b88acd xen/arch/ia64/xen/xensetup.c
--- a/xen/arch/ia64/xen/xensetup.c Thu Jul 19 20:02:04 2007 -0600
+++ b/xen/arch/ia64/xen/xensetup.c Tue Jul 24 17:04:18 2007 -0600
@@ -18,6 +18,7 @@
#include <xen/serial.h>
#include <xen/trace.h>
#include <xen/keyhandler.h>
+#include <xen/vga.h>
#include <asm/meminit.h>
#include <asm/page.h>
#include <asm/setup.h>
@@ -310,6 +311,20 @@ void __init start_kernel(void)
ns16550_init(1, &ns16550_com2);
}
serial_init_preirq();
+
+#ifdef CONFIG_VGA
+ /* Plug in a default VGA mode */
+ vga_console_info.video_type = XEN_VGATYPE_TEXT_MODE_3;
+ vga_console_info.u.text_mode_3.font_height = 16; /* generic VGA? */
+ vga_console_info.u.text_mode_3.cursor_x =
+ ia64_boot_param->console_info.orig_x;
+ vga_console_info.u.text_mode_3.cursor_y =
+ ia64_boot_param->console_info.orig_y;
+ vga_console_info.u.text_mode_3.rows =
+ ia64_boot_param->console_info.num_rows;
+ vga_console_info.u.text_mode_3.columns =
+ ia64_boot_param->console_info.num_cols;
+#endif
init_console();
set_printk_prefix("(XEN) ");
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-ia64-devel] [PATCH] VGA Fixes (1/3),
Alex Williamson <=
|
|
|
|
|