This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Help ! Question about PCI DMA memory allocation
- From: Zi Zhou <zzhou at 3upsystems dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Mon, 04 Aug 2003 20:32:33 -0700
- Subject: [ECOS] Help ! Question about PCI DMA memory allocation
- Organization: 3upsystems
Hi !
My platform is MIPS32(IDT32438), I have a PCI device which has on chip
DMA controller, I am using it to transfter data between the PCI device
and system memory. I went through this discuss list and some one suggest
that the DMA memory should be statically allocated rather than using
malloc(), I don't quite understand where the restriction is and if I
have to use malloc(), what kind of problem I might encounter? Please
shed a light !
thanks
Zi
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss