Mail Archives: djgpp/1998/06/17/12:55:17
Hi all
This question should be in the FAQ, but I didn't find it.
I'm trying to do some PCI DMA transfer. For this I need to know where
the physical address of my allocated memory is. But I could not find
any function that returns me this value. Could anyone point me to this
type of information?
Note: Currently I'm doing the DMA in a very strange way: Allocate
(malloc) most of the memory. Clear this memory. Do a DMA transfer to a
random physical address. Check were the memory content is changed. Now
DMA transfer to known position in the malloced memory is
possible. This works most of the time.
Gru"s
Bernhard Gleich
- Raw text -