diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-09-18 18:17:54 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-09-18 18:17:54 +0100 |
commit | 977599dbcb77b488994f0ab0b3cb0fd87dba9e26 (patch) | |
tree | cbc432ef865ec94398409fdd6642c4eae2ebe0b6 /xen/drivers/video | |
parent | a51f889db9c8ca3f3daa7ba76b798568fd31c59e (diff) | |
download | xen-977599dbcb77b488994f0ab0b3cb0fd87dba9e26.tar.gz xen-977599dbcb77b488994f0ab0b3cb0fd87dba9e26.tar.bz2 xen-977599dbcb77b488994f0ab0b3cb0fd87dba9e26.zip |
Clean up dom0_vga_console_info structure for v3.0.3.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/drivers/video')
-rw-r--r-- | xen/drivers/video/vga.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/xen/drivers/video/vga.c b/xen/drivers/video/vga.c index 9355864ed7..08a260a2b7 100644 --- a/xen/drivers/video/vga.c +++ b/xen/drivers/video/vga.c @@ -680,11 +680,12 @@ int fill_console_start_info(struct dom0_vga_console_info *ci) if ( !vgacon_enabled ) return 0; - ci->video_type = 1; - ci->video_width = COLUMNS; - ci->video_height = LINES; - ci->txt_mode = 3; - ci->txt_points = font ? font->height : 16; + ci->video_type = XEN_VGATYPE_TEXT_MODE_3; + ci->u.text_mode_3.rows = LINES; + ci->u.text_mode_3.columns = COLUMNS; + ci->u.text_mode_3.cursor_x = 0; + ci->u.text_mode_3.cursor_y = LINES - 1; + ci->u.text_mode_3.font_height = font ? font->height : 16; return 1; } |