This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Re: How to support DMA in an eCos driver
- From: "TIanJUn" <Tianjun at zcom dot unimis dot com>
- To: "Gary Thomas" <gary at mlbassoc dot com>
- Cc: "eCos Discussion" <ecos-discuss at ecos dot sourceware dot org>
- Date: Thu, 18 Aug 2005 09:26:02 +0800
- Subject: Re: Re: [ECOS] How to support DMA in an eCos driver
Hi, Gary Thomas
thanks for your help .
at this moment ,i run run my devive on a i386 PC.
Sincerely yours,
Tian-Jun
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>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
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss