[ECOS] How to support DMA in an eCos driver

Gary Thomas gary@mlbassoc.com
Wed Aug 17 07:23:00 GMT 2005


On Wed, 2005-08-17 at 08:59 +0800, Tianjun-ZDK wrote:
> Hi,evrybody
> 
> I am have a question:
> 
> i write a driver for a PCI device,and must support DMA,
> 
> but i cannot find any document which introduce this.
> 
> Can anybody tell me how to allocate the shared memory
> 
> for DMA,and how to get the physical address of a allocated
> 
> memory,or how to carry out DMA ?
> 
> thanks a lot~!

There is no generic DMA support in eCos - it's done on an
ad hoc basis, per platform.

What target/platform does your device run on?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list