CVSROOT: /cvs Module name: src Changes by: o...@cvs.openbsd.org 2009/04/19 18:42:06
Modified files: sys/arch/alpha/dev: bus_dma.c sys/arch/alpha/include: bus.h sys/arch/amd64/amd64: bus_dma.c sys/arch/amd64/include: bus.h sys/arch/arm/arm: bus_dma.c sys/arch/arm/include: bus.h sys/arch/hppa/hppa: mainbus.c sys/arch/hppa/include: bus.h sys/arch/hppa64/hppa64: mainbus.c sys/arch/hppa64/include: bus.h sys/arch/i386/i386: bus_dma.c sys/arch/i386/include: bus.h sys/arch/landisk/include: bus.h sys/arch/landisk/landisk: bus_dma.c sys/arch/macppc/include: bus.h sys/arch/macppc/macppc: dma.c sys/arch/mvme68k/include: bus.h sys/arch/mvme68k/mvme68k: bus_dma.c sys/arch/mvme88k/include: bus.h sys/arch/mvme88k/mvme88k: bus_dma.c sys/arch/mvmeppc/include: bus_mi.h sys/arch/mvmeppc/mvmeppc: bus_dma.c sys/arch/sgi/include: bus.h sys/arch/sgi/sgi: bus_dma.c sys/arch/socppc/include: bus.h sys/arch/socppc/socppc: dma.c sys/arch/sparc64/include: bus.h sys/arch/sparc64/sparc64: machdep.c sys/arch/vax/include: bus.h sys/arch/vax/vax: bus_dma.c Log message: Add a BUS_DMA_ZERO flag for bus_dmamem_alloc() to return zeroed memory. Saves every damned driver calling bzero(), and continues the M_ZERO, PR_ZERO symmetry.