ia64/xen-unstable

changeset 18900:5535efd8e011

vga: Fix screen clear at end of Xen bootstrap.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Dec 09 13:23:15 2008 +0000 (2008-12-09)
parents cd8c7d963af5
children 6595393a3d28
files xen/drivers/video/vga.c
line diff
     1.1 --- a/xen/drivers/video/vga.c	Tue Dec 09 13:06:19 2008 +0000
     1.2 +++ b/xen/drivers/video/vga.c	Tue Dec 09 13:23:15 2008 +0000
     1.3 @@ -111,11 +111,11 @@ void __init vga_endboot(void)
     1.4      switch ( vga_console_info.video_type )
     1.5      {
     1.6      case XEN_VGATYPE_TEXT_MODE_3:
     1.7 -        vesa_endboot(vgacon_keep);
     1.8 +        if ( !vgacon_keep )
     1.9 +            memset(video, 0, columns * lines * 2);
    1.10          break;
    1.11      case XEN_VGATYPE_VESA_LFB:
    1.12 -        if ( !vgacon_keep )
    1.13 -            memset(video, 0, columns * lines * 2);
    1.14 +        vesa_endboot(vgacon_keep);
    1.15          break;
    1.16      default:
    1.17          BUG();