From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [edk2] Passing Xen memory map and resource map to OVMF Date: Wed, 13 Nov 2013 11:51:22 -0500 Message-ID: <20131113165122.GL2793@phenom.dumpdata.com> References: <20131112183321.GN13369@zion.uk.xensource.com> <52827C0B.5040901@redhat.com> <1384326219.3560.9.camel@nilsson.home.kraxel.org> <20131113115811.GC4948@zion.uk.xensource.com> <1384350814.3560.24.camel@nilsson.home.kraxel.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1384350814.3560.24.camel@nilsson.home.kraxel.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Gerd Hoffmann Cc: Wei Liu , "Jordan Justen (Intel address)" , edk2-devel@lists.sourceforge.net, xen-devel@lists.xen.org, Igor Mammedov , Laszlo Ersek List-Id: xen-devel@lists.xenproject.org On Wed, Nov 13, 2013 at 02:53:34PM +0100, Gerd Hoffmann wrote: > On Mi, 2013-11-13 at 11:58 +0000, Wei Liu wrote: > > On Wed, Nov 13, 2013 at 08:03:39AM +0100, Gerd Hoffmann wrote: > > > Hi, > > > > > > > > The first thing that comes in mind is to reuse E820 table for memory map > > > > > plus some extra fields for io / mmio resources. But I guess UEFI is the > > > > > new world so stuffs like E820 from old world will be less popular. Any > > > > > suggestion on existing table / data structure I can use? > > > > > > What io/mmio ressources do you need to pass on? > > > > > > > MMIO holes, IO range created by hvmloader. > > Why? All (memory) address space not backed by ram effectively is mmio. > There is no need to explicitly declare holes ... That is the case. The question is where should RAM start and stop. And if you want to extend the MMIO (for odd cards that you are passing in. > > Also why io ranges? Isn't pc io address space pretty much fixed anyway? I think most BIOSes mark that area as E820_RSV? 000000000009e800 - 00000000000a0000 (reserved) Oh wait, that is not PC IO address. You are right those are most certainly marked as normal RAM. > > cheers, > Gerd > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel