From: Guillaume Thouvenin Subject: Re: [RFC] change provided physical RAM map to add EBDA Date: Fri, 16 Mar 2007 07:50:39 +0000 Message-ID: <20070316075039.GB15659@bull.net> References: <20070315084501.GA4830@bull.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Keir Fraser Cc: Xen devel ML , Ian Campbell List-Id: xen-devel@lists.xenproject.org On Thu, Mar 15, 2007 at 10:55:26AM +0000, Keir Fraser wrote: > On 15/3/07 08:45, "Guillaume Thouvenin" > wrote: > > > My idea is to map the real memory region that contains EBDA to dom0. So > > dom0 will see the real machine memory region under 640Ko (0xa0000) in is > > own physical map. > > You're creating difficulties where there are none: dom0 already has a > mapping of all memory below 1MB. Just use isa_bus_to_virt(0x40e). Thank you for pointing the isa_bus_to_virt(), I had missed that. I will look this solution quickly. Best Regards, Guillaume