This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: How to support DMA in an eCos driver
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Tianjun-ZDK <Tianjun at zcom dot unimis dot com>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 17 Aug 2005 01:22:45 -0600
- Subject: Re: [ECOS] How to support DMA in an eCos driver
- References: <NETWEB06ZpfXuUxk4Ih00059854@netweb06.net.unimis>
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