This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Question on PCI DMA memory
- From: kevin_lemay at agilent dot com
- To: ecos-discuss at sources dot redhat dot com
- Date: Fri, 12 Sep 2003 10:39:38 -0600
- Subject: [ECOS] Question on PCI DMA memory
I have looked through the mailing archives and found several discussions on assigning memory for a bus master PCI device. It appears that we should be using the pci_window memory.
I am attempting to port a driver to ecos. It has the concept of DMA memory which is non-cached or cache coherent memory.
We would ordinarily program the MMU to set up a section of memory to be uncached.
Is the memory defined by pci_window uncached memory? How would I define a large pool of uncached memory (say 8Mb)?
Thanks for any help,
Kevin Lemay
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss