Date: Wed, 01 Mar 2006 16:20:52 -0700 From: Scott Long <scottl@samsco.org> To: Olivier Houchard <cognet@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/arm/arm busdma_machdep.c pmap.c vm_machdep.c src/sys/arm/include pmap.h Message-ID: <44062C54.2080801@samsco.org> In-Reply-To: <200603012304.k21N4Psn076859@repoman.freebsd.org> References: <200603012304.k21N4Psn076859@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44062C54.2080801>