From: Keir Fraser Subject: Re: EPS Signature Date: Sun, 11 Feb 2007 10:09:16 +0000 Message-ID: References: <0EF82802ABAA22479BC1CE8E2F60E8C36E24EE@scl-exch2k3.phoenix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <0EF82802ABAA22479BC1CE8E2F60E8C36E24EE@scl-exch2k3.phoenix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Kaushik Barde , Ian Pratt , Xen devel list List-Id: xen-devel@lists.xenproject.org Isa_bus_to_virt() is available. Isa_virt_to_bus() isn't. Why would you need the latter? -- Keir On 11/2/07 01:33, "Kaushik Barde" wrote: > > > I get following Error.. > > 496: error: `isa_virt_to_bus_is_UNSUPPORTED' undeclared (first use in this > function) > > Is it truely unsupported or I am missing proper includes.. > > I suspect later but "UNSUPPORTED" makes me uncomfortable. > > Please advise. > > -Kaushik > > > > -----Original Message----- > From: xen-devel-bounces@lists.xensource.com on behalf of Ian Pratt > Sent: Sun 2/4/2007 6:52 PM > To: Kaushik Barde; Xen devel list > Subject: RE: [Xen-devel] EPS Signature > >> We want to access the EBDA Entry Point Signature at 40:0E for our > DOM-0 >> through a driver, >> We noticed that driver is trying to read from a pseudo physical > location >> and not the physical machine RAM location. Hence it's not getting the >> proper value. But if we have to read from the machine RAM location we > can >> use ( virt_to_bus or bus_to_virt) per dev_list comments. >> >> But this area is under the control of hypervisor. I do not know if we > can >> ioremap these pages ( those which belong to hypervisor). >> >> I am trying to see if we can be able to get to the 40:0E address. And > get >> the correct EPS signature > > Dom0 already has the bottom 1MB of physical ram mapped. You can use the > poorly named isa_bus_to_virt() > > Ian > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel