From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: Physical address mapping to user space in dom0 problem Date: Fri, 16 Mar 2007 23:31:32 +0000 Message-ID: References: <63c711180703161627t1157b3bi64b348aee24964de@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0107463295==" Return-path: In-Reply-To: <63c711180703161627t1157b3bi64b348aee24964de@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Haw-Yuan Yang , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --===============0107463295== Content-type: multipart/alternative; boundary="B_3256932692_882315" > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3256932692_882315 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit On 16/3/07 23:27, "Haw-Yuan Yang" wrote: > Is there any alternative way to map the DMA address to user space in XEN dom0? Mmap via /dev/mem will work. It uses direct_remap_pfn_range(). -- Keir --B_3256932692_882315 Content-type: text/html; charset="US-ASCII" Content-transfer-encoding: quoted-printable Re: [Xen-devel] Physical address mapping to user space in dom0 probl= em


On 16/3/07 23:27, "Haw-Yuan Yang" <hawyuan@gmail.com> wrote= :

Is there any alternative way to map the DMA address to user space= in XEN dom0?

Mmap via /dev/mem will work. It uses direct_remap_pfn_range().

 -- Keir
--B_3256932692_882315-- --===============0107463295== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0107463295==--