qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/6] PCI DMA API (v2)


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH 2/6] PCI DMA API (v2)
Date: Sun, 6 Apr 2008 09:57:56 +0300

On 4/5/08, Anthony Liguori <address@hidden> wrote:
> This patch introduces a PCI DMA API and some generic code to support other DMA
>  APIs.  It introduces a IOVector type that contains physical address/length
>  pairs.  These vectors can be translated by the PCI layer and passed either to
>  generic copying functions or directly to the block or network subsystems.

But cpu_map_physical_page can't be the correct function for
translation for every case. To support Sparc IOMMU and DMA controller
I need a way to call a series of different translation functions
depending on the bus where we are. For the byte swapping case the
memcpy functions must be dynamic as well.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]