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-devel

[Xen-devel] Re: [Xen-staging] [linux-2.6.18-xen] linux/x86: retrieve VES

To: Keir Fraser <keir@xxxxxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxxxx>
Subject: [Xen-devel] Re: [Xen-staging] [linux-2.6.18-xen] linux/x86: retrieve VESA capabilities in dom0
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Fri, 12 Oct 2007 11:20:12 -0600
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 12 Oct 2007 10:23:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200710121108.l9CB8hZw013342@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: HP OSLO R&D
References: <200710121108.l9CB8hZw013342@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 2007-10-12 at 12:08 +0100, Xen staging patchbot-linux-2.6.18-xen
wrote:
> # HG changeset patch
> # User Keir Fraser
> # Date 1192187297 -3600
> # Node ID d34182a37ba947980e109c94eb77f3f9314e3227
> # Parent  d081f7efcb60adf5a82b943f9cc524cfa254e413
> linux/x86: retrieve VESA capabilities in dom0
> Also, move some more common code to dom0_init_screen_info().

   Us too!

[IA64] Updated dom0_init_screen_info() params

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---

diff -r d34182a37ba9 arch/ia64/xen/hypervisor.c
--- a/arch/ia64/xen/hypervisor.c        Fri Oct 12 12:08:17 2007 +0100
+++ b/arch/ia64/xen/hypervisor.c        Fri Oct 12 11:15:53 2007 -0600
@@ -55,21 +55,19 @@ void __init
 void __init
 xen_setup(char **cmdline_p)
 {
+       struct dom0_vga_console_info *info;
        extern void dig_setup(char **cmdline_p);
+
        if (ia64_platform_is("xen"))
                dig_setup(cmdline_p);
        
        if (!is_running_on_xen() || !is_initial_xendomain())
                return;
 
-       if (xen_start_info->console.dom0.info_size >=
-           sizeof(struct dom0_vga_console_info)) {
-               const struct dom0_vga_console_info *info =
-                       (struct dom0_vga_console_info *)(
-                               (char *)xen_start_info +
-                               xen_start_info->console.dom0.info_off);
-               dom0_init_screen_info(info);
-       }
+       info = (void *)((char *)xen_start_info +
+                       xen_start_info->console.dom0.info_off);
+       dom0_init_screen_info(info, xen_start_info->console.dom0.info_size);
+
        xen_start_info->console.domU.mfn = 0;
        xen_start_info->console.domU.evtchn = 0;
 }



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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Re: [Xen-staging] [linux-2.6.18-xen] linux/x86: retrieve VESA capabilities in dom0, Alex Williamson <=