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

Re: [Xen-devel] beginnings of allowing more than the basic 80x25 VGAscre

To: Gerd Knorr <kraxel@xxxxxxx>
Subject: Re: [Xen-devel] beginnings of allowing more than the basic 80x25 VGAscreen resolution
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 5 Jul 2005 14:07:16 +0100
Cc: "Ling, Xiaofeng" <xiaofeng.ling@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Jan Beulich <JBeulich@xxxxxxxxxx>
Delivery-date: Tue, 05 Jul 2005 13:01:59 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <87wto5h0j1.fsf@xxxxxxxxxxx>
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>
References: <3ACA40606221794F80A5670F0AF15F8408B19B13@pdsmsx403> <87wto5h0j1.fsf@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 5 Jul 2005, at 13:58, Gerd Knorr wrote:

IIRC there are some fields in the multiboot info header for that kind
of stuff, so grub could setup that and pass on the info to xen (and
xen in turn to the dom0 kernel?).

multiboot kernels are started in 32-bit protected mode by the boot
loader, i.e. xen has (unlike linux) no 16-bit startup code.  Thus
doing 16-bit BIOS calls once xen is running is a bit difficuilt ...

GRUB has code for switching back into real mode to do bios calls. We could take that, plus video.S, and put them in Xen. Then add an info structure for passing video info up to domain0. It's pretty ugly, but I think there is no nice solution here. Would we also need vesa/vga driver code from Linux for setting up font data in some graphics modes?

 -- Keir


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