Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: syssrc/sys/arch



Module Name:    syssrc
Committed By:   thorpej
Date:           Sun Jul 28 17:54:07 UTC 2002

Modified Files:
        syssrc/sys/arch/arm/arm32: bus_dma.c
        syssrc/sys/arch/arm/include: bus.h
        syssrc/sys/arch/arm/xscale: i80312_pci_dma.c i80321_local_dma.c
            i80321_pci_dma.c
        syssrc/sys/arch/evbarm/integrator: int_bus_dma.c

Log Message:
Change the way that DMA map syncs are done.  Instead of remembering
the virtual address for each DMA segment, just cache a pointer to the
original buffer/buftype used to load the DMA map, and use that.  This
lets us shrink the bus_dma_segment_t down from 12 bytes to 8, and the
cache flushing is also more efficient.

Tested on an i80321 -- changes to others are mechanical.


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 syssrc/sys/arch/arm/arm32/bus_dma.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/arm/include/bus.h
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/arm/xscale/i80312_pci_dma.c \
    syssrc/sys/arch/arm/xscale/i80321_pci_dma.c
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/arm/xscale/i80321_local_dma.c
cvs rdiff -r1.8 -r1.9 syssrc/sys/arch/evbarm/integrator/int_bus_dma.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index