WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] vga: Fix screen clear at end of Xen bootstrap.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 09 Dec 2008 08:30:18 -0800
Delivery-date: Tue, 09 Dec 2008 08:30:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] vga: Fix screen clear at end of Xen bootstrap., Xen patchbot-unstable <=