Hi Wan,

On 11/04/11 00:04, Wan ZongShun wrote:
I am programming ohci driver for my arm7 based on 2.6.38.

td_alloc ->  dma_pool_alloc ->  dma_alloc_coherent().

In previous uclinux version, there is the consistent.c located in
arch/armnommu/mm to implement
this dma_alloc_coherent, but now this latest version, I did not see
this 'dma_alloc_coherent' function
for armnommu, so I can use this function directly like this arm mmu?

Yes. There is no separate one for the nommu case. It just
uses the standard one in arch/arm/mm/dma-mapping.c.


In addtion, the 'kmalloc' is the same to previous uclinux armnommu
version? I can use it directly?

Oh, yes. There is no changes in how that works.

Regards
Greg


_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to