ppc405 dma - vm - cache question

gregory.menke at gsfc.nasa.gov gregory.menke at gsfc.nasa.gov
Wed Oct 27 15:14:05 UTC 2004


Feng, Shuchen writes:
 > Gene Smith wrote :
 > 
 > > My assumption is that in rtems I can pretty much ignore these or make my 
 > > own versions since rtems always uses real mode; anywhere memory is 
 > > needed for dma purposes by the ethernet device and/or driver I can just 
 > > malloc it and use the returned address for dma verbatim.
 > 
 > Either hardware snoop or software snoop is required if the ethernet
 > controller
 > accesses SDRAM space that is also cacheable by the CPU.
 > 

The RTEMS motorola_shared bsp's map all pci devices as uncached
memory.  No snoops required, all the dmamap stuff should go away-
there are no cache considerations I'm aware of.

Gregm




More information about the users mailing list