cvs commit: src/sys/arm/arm busdma_machdep.c pmap.c vm_machdep.c src/sys/arm/include pmap.h

Scott Long scottl at samsco.org
Wed Mar 1 15:20:51 PST 2006


Olivier Houchard wrote:
> cognet      2006-03-01 23:04:25 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/arm/arm          busdma_machdep.c pmap.c vm_machdep.c 
>     sys/arm/include      pmap.h 
>   Log:
>   Try to honor BUS_DMA_COHERENT : if the flag is set, normally allocate memory
>   with malloc() or contigmalloc() as usual, but try to re-map the allocated
>   memory into a VA outside the KVA, non-cached, thus making the calls to
>   bus_dmamap_sync() for these buffers useless.
>   
>   Revision  Changes    Path
>   1.25      +25 -0     src/sys/arm/arm/busdma_machdep.c
>   1.42      +11 -1     src/sys/arm/arm/pmap.c
>   1.22      +59 -1     src/sys/arm/arm/vm_machdep.c
>   1.15      +7 -0      src/sys/arm/include/pmap.h

Cool.  Would you be interested in updating the manual page when you're 
done to note that the flag actually works on arm?

Scott



More information about the cvs-src mailing list