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

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to