cvs commit: src/sys/amd64/amd64 busdma_machdep.csrc/sys/amd64/include
bus_dma.h src/sys/i386/i386 busdma_machdep.c src/sys/i386/include
bus_dma.h
Scott Long
scottl at FreeBSD.org
Thu Jan 6 23:57:20 PST 2005
scottl 2005-01-07 07:57:19 UTC
FreeBSD src repository
Modified files:
sys/amd64/amd64 busdma_machdep.c
sys/amd64/include bus_dma.h
sys/i386/i386 busdma_machdep.c
sys/i386/include bus_dma.h
Log:
Introduce bus_dmamap_load_mbuf_sg(). Instead of taking a callback arg, this
cuts to the chase and fills in a provided s/g list. This is meant to optimize
out the cost of the callback since the callback doesn't serve much purpose for
mbufs since mbuf loads will never be deferred. This is just for amd64 and
i386 at the moment, other arches will be coming shortly.
Revision Changes Path
1.66 +48 -13 src/sys/amd64/amd64/busdma_machdep.c
1.27 +5 -0 src/sys/amd64/include/bus_dma.h
1.70 +48 -13 src/sys/i386/i386/busdma_machdep.c
1.27 +5 -0 src/sys/i386/include/bus_dma.h
More information about the cvs-src
mailing list