[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] vga: Fix screen clear at end of Xen bootstrap.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1228828995 0
# Node ID 5535efd8e01141f840f9a8cbc31a9b3a4c9d49e9
# Parent  cd8c7d963af5099eb5887a0ad8119fc791045ab1
vga: Fix screen clear at end of Xen bootstrap.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/drivers/video/vga.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -r cd8c7d963af5 -r 5535efd8e011 xen/drivers/video/vga.c
--- a/xen/drivers/video/vga.c   Tue Dec 09 13:06:19 2008 +0000
+++ b/xen/drivers/video/vga.c   Tue Dec 09 13:23:15 2008 +0000
@@ -111,11 +111,11 @@ void __init vga_endboot(void)
     switch ( vga_console_info.video_type )
     {
     case XEN_VGATYPE_TEXT_MODE_3:
-        vesa_endboot(vgacon_keep);
+        if ( !vgacon_keep )
+            memset(video, 0, columns * lines * 2);
         break;
     case XEN_VGATYPE_VESA_LFB:
-        if ( !vgacon_keep )
-            memset(video, 0, columns * lines * 2);
+        vesa_endboot(vgacon_keep);
         break;
     default:
         BUG();

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.