Alex Williamson
2007-Oct-12 17:20 UTC
[Xen-devel] Re: [Xen-staging] [linux-2.6.18-xen] linux/x86: retrieve VESA capabilities in dom0
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@hp.com> --- 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@lists.xensource.com http://lists.xensource.com/xen-devel