From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: Re: [PATCH 2/3] x86: real mode support: get EDD info Date: Fri, 02 Mar 2007 11:26:10 +0000 Message-ID: <45E817E2.76E4.0078.0@novell.com> References: <45E80B3F.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com, Keir Fraser List-Id: xen-devel@lists.xenproject.org >>> Keir Fraser 02.03.07 12:15 >>> >On 2/3/07 10:32, "Jan Beulich" wrote: > >> Obtain EDD info from BIOS and pass it up to Dom0. > >What data format are the EDD/EDID buffers filled with? The format is not >defined in the public headers. Is it simply whatever Linux happens to be >using internally? No, this is the BIOS format. Linux uses this directly. I specifically (based on past comment from you) avoided introducing Linux specifics. >I am still interested in trying out an interface to let dom0 request code to >be run in various modes and on various CPUs. This would be attractive in >this case, assuming that these BIOS calls could be made later than very >early bootstrap, as it would avoid piling code into Xen, and assumptions >about info data formats, just because of the environment that the >interrogating code needs to be executed in. No doubt it is a larger initial >amount of engineering effort up front though. Also I'm not sure if there >would be any subtle gotchas to running this skanky BIOS code later in the >boot sequence (I'd be optimistic that it'd just work though). Possible, but especially on x86-64 undesirable in my opinion. Also, I'll want the base real mode stuff in anyway (regardless of EDD/EDID) in order to be able to set up a VESA frame buffer mode for the console. This clearly should be done by Xen in order to ensure it knows how to access the console in case it is allowed access past dom0 creation. Jan