public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] How to support DMA in an eCos driver
@ 2005-08-17  0:59 Tianjun-ZDK
  2005-08-17  7:23 ` Gary Thomas
  0 siblings, 1 reply; 2+ messages in thread
From: Tianjun-ZDK @ 2005-08-17  0:59 UTC (permalink / raw)
  To: eCos Disuss

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~!
	

Sincerely yours,
Tian-Jun
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] How to support DMA in an eCos driver
  2005-08-17  0:59 [ECOS] How to support DMA in an eCos driver Tianjun-ZDK
@ 2005-08-17  7:23 ` Gary Thomas
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2005-08-17  7:23 UTC (permalink / raw)
  To: Tianjun-ZDK; +Cc: eCos Discussion

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-17  7:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-17  0:59 [ECOS] How to support DMA in an eCos driver Tianjun-ZDK
2005-08-17  7:23 ` Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).