Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: source-changes
Date: 06/25/2000 21:56:34
Module Name:	syssrc
Committed By:	simonb
Date:		Mon Jun 26 04:56:33 UTC 2000

Modified Files:
	syssrc/sys/arch/alpha/alpha: mem.c
	syssrc/sys/arch/alpha/common: bus_dma.c
	syssrc/sys/arch/alpha/include: bus.h
	syssrc/sys/arch/alpha/tc: cfb.c
	syssrc/sys/arch/amiga/amiga: mem.c
	syssrc/sys/arch/amiga/dev: grf.c view.c
	syssrc/sys/arch/arc/arc: bus_dma.c
	syssrc/sys/arch/arc/dev: pccons.c
	syssrc/sys/arch/arc/include: bus.h
	syssrc/sys/arch/arc/jazz: vga_jazzio.c
	syssrc/sys/arch/arm26/arm26: mem.c
	syssrc/sys/arch/arm26/vidc: arcvideo.c
	syssrc/sys/arch/arm32/arm32: bus_dma.c mem.c
	syssrc/sys/arch/arm32/include: bus.h vconsole.h
	syssrc/sys/arch/arm32/ofw: ofrom.c
	syssrc/sys/arch/arm32/shark: pccons.c
	syssrc/sys/arch/arm32/vidc/console: console.c vidcconsole.c vidcvideo.c
	syssrc/sys/arch/atari/atari: bus.c mem.c
	syssrc/sys/arch/atari/dev: grf.c view.c
	syssrc/sys/arch/atari/include: bus.h
	syssrc/sys/arch/atari/vme: et4000.c leo.c
	syssrc/sys/arch/bebox/bebox: bus_dma.c
	syssrc/sys/arch/bebox/include: bus.h
	syssrc/sys/arch/bebox/isa: pccons.c
	syssrc/sys/arch/bebox/pci: pfb.c
	syssrc/sys/arch/cobalt/cobalt: bus.c
	syssrc/sys/arch/cobalt/include: bus.h
	syssrc/sys/arch/hp300/dev: grf.c grfvar.h hil.c
	syssrc/sys/arch/hp300/hp300: mem.c
	syssrc/sys/arch/hpcmips/dev: bivideo.c hpcfb.c hpcfbvar.h plumvideo.c
	    ucbsnd.c
	syssrc/sys/arch/hpcmips/hpcmips: bus_dma.c
	syssrc/sys/arch/hpcmips/include: bus.h
	syssrc/sys/arch/hpcmips/tx: tx3912video.c
	syssrc/sys/arch/i386/i386: bus_machdep.c mem.c
	syssrc/sys/arch/i386/include: bus.h
	syssrc/sys/arch/i386/isa: pccons.c
	syssrc/sys/arch/luna68k/dev: lunafb.c
	syssrc/sys/arch/luna68k/luna68k: mem.c
	syssrc/sys/arch/mac68k/dev: grf_compat.c macfb.c
	syssrc/sys/arch/mac68k/mac68k: mem.c
	syssrc/sys/arch/mac68k/obio: asc.c ascvar.h
	syssrc/sys/arch/macppc/dev: nvram.c ofb.c
	syssrc/sys/arch/macppc/include: bus.h
	syssrc/sys/arch/macppc/macppc: bus_dma.c
	syssrc/sys/arch/mips/mips: mem.c
	syssrc/sys/arch/mvme68k/include: bus_dma.h
	syssrc/sys/arch/mvme68k/mvme68k: bus_dma.c mem.c
	syssrc/sys/arch/news68k/news68k: mem.c
	syssrc/sys/arch/newsmips/dev: fb.c
	syssrc/sys/arch/next68k/dev: bus_dma.c nextdisplay.c
	syssrc/sys/arch/next68k/include: bus_dma.h
	syssrc/sys/arch/next68k/next68k: mem.c
	syssrc/sys/arch/pc532/pc532: mem.c
	syssrc/sys/arch/pmax/dev: fb_usrreq.c px.c rcons.c
	syssrc/sys/arch/pmax/include: bus.h
	syssrc/sys/arch/pmax/pmax: bus_dma.c
	syssrc/sys/arch/powerpc/powerpc: mem.c
	syssrc/sys/arch/prep/include: bus.h
	syssrc/sys/arch/prep/isa: pccons.c
	syssrc/sys/arch/prep/prep: bus_dma.c
	syssrc/sys/arch/sgimips/include: bus.h
	syssrc/sys/arch/sgimips/sgimips: bus.c
	syssrc/sys/arch/sh3/include: bus.h
	syssrc/sys/arch/sh3/sh3: mem.c
	syssrc/sys/arch/sparc/dev: bwtwo.c cgeight.c cgfour.c cgfourteen.c
	    cgsix.c cgthree.c cgtwo.c fb.c p9100.c tcx.c vme_machdep.c
	syssrc/sys/arch/sparc/include: bus.h fbvar.h
	syssrc/sys/arch/sparc/sparc: iommu.c machdep.c mem.c
	syssrc/sys/arch/sparc64/dev: bwtwo.c cgeight.c cgfour.c cgfourteen.c
	    cgsix.c cgthree.c cgtwo.c fb.c psycho.c tcx.c
	syssrc/sys/arch/sparc64/include: bus.h fbvar.h
	syssrc/sys/arch/sparc64/sparc64: machdep.c mem.c
	syssrc/sys/arch/sun3/dev: bw2.c cg2.c cg4.c fb.c fbvar.h
	syssrc/sys/arch/sun3/sun3: mem.c
	syssrc/sys/arch/sun3/sun3x: mem.c
	syssrc/sys/arch/vax/include: bus.h
	syssrc/sys/arch/vax/vax: bus_dma.c mem.c
	syssrc/sys/arch/vax/vsa: smg.c
	syssrc/sys/arch/x68k/dev: grf.c
	syssrc/sys/arch/x68k/include: bus.h
	syssrc/sys/arch/x68k/x68k: bus.c mem.c
	syssrc/sys/dev: audio.c audio_if.h
	syssrc/sys/dev/ic: ad1848var.h interwave.c interwavevar.h rrunner.c
	    vga.c
	syssrc/sys/dev/isa: ad1848_isa.c ad1848var.h ega.c ess.c isadma.c
	    isadmavar.h pcdisplay.c sbdsp.c sbdspvar.h
	syssrc/sys/dev/pci: auvia.c cmpci.c cs4280.c eap.c eso.c fms.c sv.c
	    tga.c
	syssrc/sys/dev/pci/bktr: bktr_os.c
	syssrc/sys/dev/tc: bba.c cfb.c mfb.c sfb.c sfbplus.c tfb.c xcfb.c
	syssrc/sys/dev/wscons: wsdisplay.c wsdisplayvar.h
	syssrc/sys/sys: conf.h
	syssrc/sys/uvm: uvm_device.c

Log Message:
Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes.  Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.


To generate a diff of this commit:
cvs rdiff -r1.26 -r1.27 syssrc/sys/arch/alpha/alpha/mem.c
cvs rdiff -r1.36 -r1.37 syssrc/sys/arch/alpha/common/bus_dma.c
cvs rdiff -r1.39 -r1.40 syssrc/sys/arch/alpha/include/bus.h
cvs rdiff -r1.24 -r1.25 syssrc/sys/arch/alpha/tc/cfb.c
cvs rdiff -r1.26 -r1.27 syssrc/sys/arch/amiga/amiga/mem.c
cvs rdiff -r1.34 -r1.35 syssrc/sys/arch/amiga/dev/grf.c
cvs rdiff -r1.16 -r1.17 syssrc/sys/arch/amiga/dev/view.c
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/arc/arc/bus_dma.c
cvs rdiff -r1.20 -r1.21 syssrc/sys/arch/arc/dev/pccons.c
cvs rdiff -r1.8 -r1.9 syssrc/sys/arch/arc/include/bus.h
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/arc/jazz/vga_jazzio.c
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/arm26/arm26/mem.c
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/arm26/vidc/arcvideo.c
cvs rdiff -r1.18 -r1.19 syssrc/sys/arch/arm32/arm32/bus_dma.c
cvs rdiff -r1.13 -r1.14 syssrc/sys/arch/arm32/arm32/mem.c
cvs rdiff -r1.19 -r1.20 syssrc/sys/arch/arm32/include/bus.h
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/arm32/include/vconsole.h
cvs rdiff -r1.7 -r1.8 syssrc/sys/arch/arm32/ofw/ofrom.c
cvs rdiff -r1.9 -r1.10 syssrc/sys/arch/arm32/shark/pccons.c
cvs rdiff -r1.18 -r1.19 syssrc/sys/arch/arm32/vidc/console/console.c
cvs rdiff -r1.22 -r1.23 syssrc/sys/arch/arm32/vidc/console/vidcconsole.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/arm32/vidc/console/vidcvideo.c
cvs rdiff -r1.19 -r1.20 syssrc/sys/arch/atari/atari/bus.c
cvs rdiff -r1.17 -r1.18 syssrc/sys/arch/atari/atari/mem.c
cvs rdiff -r1.22 -r1.23 syssrc/sys/arch/atari/dev/grf.c
cvs rdiff -r1.16 -r1.17 syssrc/sys/arch/atari/dev/view.c
cvs rdiff -r1.22 -r1.23 syssrc/sys/arch/atari/include/bus.h
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/atari/vme/et4000.c
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/atari/vme/leo.c
cvs rdiff -r1.26 -r1.27 syssrc/sys/arch/bebox/bebox/bus_dma.c
cvs rdiff -r1.20 -r1.21 syssrc/sys/arch/bebox/include/bus.h
cvs rdiff -r1.17 -r1.18 syssrc/sys/arch/bebox/isa/pccons.c
cvs rdiff -r1.5 -r1.6 syssrc/sys/arch/bebox/pci/pfb.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/cobalt/cobalt/bus.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/cobalt/include/bus.h
cvs rdiff -r1.35 -r1.36 syssrc/sys/arch/hp300/dev/grf.c
cvs rdiff -r1.11 -r1.12 syssrc/sys/arch/hp300/dev/grfvar.h
cvs rdiff -r1.39 -r1.40 syssrc/sys/arch/hp300/dev/hil.c
cvs rdiff -r1.27 -r1.28 syssrc/sys/arch/hp300/hp300/mem.c
cvs rdiff -r1.6 -r1.7 syssrc/sys/arch/hpcmips/dev/bivideo.c \
    syssrc/sys/arch/hpcmips/dev/hpcfb.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/hpcmips/dev/hpcfbvar.h \
    syssrc/sys/arch/hpcmips/dev/ucbsnd.c
cvs rdiff -r1.11 -r1.12 syssrc/sys/arch/hpcmips/dev/plumvideo.c
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/hpcmips/hpcmips/bus_dma.c
cvs rdiff -r1.6 -r1.7 syssrc/sys/arch/hpcmips/include/bus.h
cvs rdiff -r1.15 -r1.16 syssrc/sys/arch/hpcmips/tx/tx3912video.c
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/i386/i386/bus_machdep.c
cvs rdiff -r1.44 -r1.45 syssrc/sys/arch/i386/i386/mem.c
cvs rdiff -r1.28 -r1.29 syssrc/sys/arch/i386/include/bus.h
cvs rdiff -r1.140 -r1.141 syssrc/sys/arch/i386/isa/pccons.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/luna68k/dev/lunafb.c
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/luna68k/luna68k/mem.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/mac68k/dev/grf_compat.c \
    syssrc/sys/arch/mac68k/dev/macfb.c
cvs rdiff -r1.25 -r1.26 syssrc/sys/arch/mac68k/mac68k/mem.c
cvs rdiff -r1.34 -r1.35 syssrc/sys/arch/mac68k/obio/asc.c
cvs rdiff -r1.5 -r1.6 syssrc/sys/arch/mac68k/obio/ascvar.h
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/macppc/dev/nvram.c
cvs rdiff -r1.13 -r1.14 syssrc/sys/arch/macppc/dev/ofb.c
cvs rdiff -r1.9 -r1.10 syssrc/sys/arch/macppc/include/bus.h
cvs rdiff -r1.13 -r1.14 syssrc/sys/arch/macppc/macppc/bus_dma.c
cvs rdiff -r1.21 -r1.22 syssrc/sys/arch/mips/mips/mem.c
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/mvme68k/include/bus_dma.h
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/mvme68k/mvme68k/bus_dma.c
cvs rdiff -r1.13 -r1.14 syssrc/sys/arch/mvme68k/mvme68k/mem.c
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/news68k/news68k/mem.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/newsmips/dev/fb.c
cvs rdiff -r1.13 -r1.14 syssrc/sys/arch/next68k/dev/bus_dma.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/next68k/dev/nextdisplay.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/next68k/include/bus_dma.h
cvs rdiff -r1.10 -r1.11 syssrc/sys/arch/next68k/next68k/mem.c
cvs rdiff -r1.25 -r1.26 syssrc/sys/arch/pc532/pc532/mem.c
cvs rdiff -r1.20 -r1.21 syssrc/sys/arch/pmax/dev/fb_usrreq.c
cvs rdiff -r1.31 -r1.32 syssrc/sys/arch/pmax/dev/px.c
cvs rdiff -r1.41 -r1.42 syssrc/sys/arch/pmax/dev/rcons.c
cvs rdiff -r1.12 -r1.13 syssrc/sys/arch/pmax/include/bus.h
cvs rdiff -r1.20 -r1.21 syssrc/sys/arch/pmax/pmax/bus_dma.c
cvs rdiff -r1.6 -r1.7 syssrc/sys/arch/powerpc/powerpc/mem.c
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/prep/include/bus.h
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/prep/isa/pccons.c
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/prep/prep/bus_dma.c
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/sgimips/include/bus.h
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/sgimips/sgimips/bus.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/sh3/include/bus.h
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/sh3/sh3/mem.c
cvs rdiff -r1.43 -r1.44 syssrc/sys/arch/sparc/dev/bwtwo.c
cvs rdiff -r1.21 -r1.22 syssrc/sys/arch/sparc/dev/cgeight.c \
    syssrc/sys/arch/sparc/dev/cgfour.c
cvs rdiff -r1.16 -r1.17 syssrc/sys/arch/sparc/dev/cgfourteen.c
cvs rdiff -r1.50 -r1.51 syssrc/sys/arch/sparc/dev/cgsix.c
cvs rdiff -r1.45 -r1.46 syssrc/sys/arch/sparc/dev/cgthree.c \
    syssrc/sys/arch/sparc/dev/fb.c
cvs rdiff -r1.31 -r1.32 syssrc/sys/arch/sparc/dev/cgtwo.c
cvs rdiff -r1.10 -r1.11 syssrc/sys/arch/sparc/dev/p9100.c
cvs rdiff -r1.17 -r1.18 syssrc/sys/arch/sparc/dev/tcx.c
cvs rdiff -r1.26 -r1.27 syssrc/sys/arch/sparc/dev/vme_machdep.c
cvs rdiff -r1.21 -r1.22 syssrc/sys/arch/sparc/include/bus.h
cvs rdiff -r1.12 -r1.13 syssrc/sys/arch/sparc/include/fbvar.h
cvs rdiff -r1.45 -r1.46 syssrc/sys/arch/sparc/sparc/iommu.c
cvs rdiff -r1.166 -r1.167 syssrc/sys/arch/sparc/sparc/machdep.c
cvs rdiff -r1.23 -r1.24 syssrc/sys/arch/sparc/sparc/mem.c
cvs rdiff -r1.8 -r1.9 syssrc/sys/arch/sparc64/dev/bwtwo.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/sparc64/dev/cgeight.c \
    syssrc/sys/arch/sparc64/dev/cgfourteen.c \
    syssrc/sys/arch/sparc64/dev/cgsix.c syssrc/sys/arch/sparc64/dev/cgtwo.c
cvs rdiff -r1.5 -r1.6 syssrc/sys/arch/sparc64/dev/cgfour.c
cvs rdiff -r1.7 -r1.8 syssrc/sys/arch/sparc64/dev/cgthree.c
cvs rdiff -r1.16 -r1.17 syssrc/sys/arch/sparc64/dev/fb.c
cvs rdiff -r1.14 -r1.15 syssrc/sys/arch/sparc64/dev/psycho.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/sparc64/dev/tcx.c
cvs rdiff -r1.17 -r1.18 syssrc/sys/arch/sparc64/include/bus.h
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/sparc64/include/fbvar.h
cvs rdiff -r1.70 -r1.71 syssrc/sys/arch/sparc64/sparc64/machdep.c
cvs rdiff -r1.12 -r1.13 syssrc/sys/arch/sparc64/sparc64/mem.c
cvs rdiff -r1.14 -r1.15 syssrc/sys/arch/sun3/dev/bw2.c
cvs rdiff -r1.11 -r1.12 syssrc/sys/arch/sun3/dev/cg2.c
cvs rdiff -r1.19 -r1.20 syssrc/sys/arch/sun3/dev/cg4.c
cvs rdiff -r1.5 -r1.6 syssrc/sys/arch/sun3/dev/fb.c \
    syssrc/sys/arch/sun3/dev/fbvar.h
cvs rdiff -r1.34 -r1.35 syssrc/sys/arch/sun3/sun3/mem.c
cvs rdiff -r1.15 -r1.16 syssrc/sys/arch/sun3/sun3x/mem.c
cvs rdiff -r1.13 -r1.14 syssrc/sys/arch/vax/include/bus.h
cvs rdiff -r1.6 -r1.7 syssrc/sys/arch/vax/vax/bus_dma.c
cvs rdiff -r1.17 -r1.18 syssrc/sys/arch/vax/vax/mem.c
cvs rdiff -r1.22 -r1.23 syssrc/sys/arch/vax/vsa/smg.c
cvs rdiff -r1.16 -r1.17 syssrc/sys/arch/x68k/dev/grf.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/x68k/include/bus.h
cvs rdiff -r1.7 -r1.8 syssrc/sys/arch/x68k/x68k/bus.c
cvs rdiff -r1.18 -r1.19 syssrc/sys/arch/x68k/x68k/mem.c
cvs rdiff -r1.126 -r1.127 syssrc/sys/dev/audio.c
cvs rdiff -r1.34 -r1.35 syssrc/sys/dev/audio_if.h
cvs rdiff -r1.6 -r1.7 syssrc/sys/dev/ic/ad1848var.h
cvs rdiff -r1.12 -r1.13 syssrc/sys/dev/ic/interwave.c
cvs rdiff -r1.7 -r1.8 syssrc/sys/dev/ic/interwavevar.h
cvs rdiff -r1.16 -r1.17 syssrc/sys/dev/ic/rrunner.c
cvs rdiff -r1.28 -r1.29 syssrc/sys/dev/ic/vga.c
cvs rdiff -r1.14 -r1.15 syssrc/sys/dev/isa/ad1848_isa.c
cvs rdiff -r1.32 -r1.33 syssrc/sys/dev/isa/ad1848var.h
cvs rdiff -r1.4 -r1.5 syssrc/sys/dev/isa/ega.c
cvs rdiff -r1.51 -r1.52 syssrc/sys/dev/isa/ess.c
cvs rdiff -r1.43 -r1.44 syssrc/sys/dev/isa/isadma.c
cvs rdiff -r1.16 -r1.17 syssrc/sys/dev/isa/isadmavar.h
cvs rdiff -r1.9 -r1.10 syssrc/sys/dev/isa/pcdisplay.c
cvs rdiff -r1.104 -r1.105 syssrc/sys/dev/isa/sbdsp.c
cvs rdiff -r1.48 -r1.49 syssrc/sys/dev/isa/sbdspvar.h
cvs rdiff -r1.3 -r1.4 syssrc/sys/dev/pci/auvia.c syssrc/sys/dev/pci/cmpci.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/dev/pci/cs4280.c
cvs rdiff -r1.40 -r1.41 syssrc/sys/dev/pci/eap.c
cvs rdiff -r1.18 -r1.19 syssrc/sys/dev/pci/eso.c
cvs rdiff -r1.5 -r1.6 syssrc/sys/dev/pci/fms.c
cvs rdiff -r1.10 -r1.11 syssrc/sys/dev/pci/sv.c
cvs rdiff -r1.25 -r1.26 syssrc/sys/dev/pci/tga.c
cvs rdiff -r1.5 -r1.6 syssrc/sys/dev/pci/bktr/bktr_os.c
cvs rdiff -r1.6 -r1.7 syssrc/sys/dev/tc/bba.c
cvs rdiff -r1.20 -r1.21 syssrc/sys/dev/tc/cfb.c
cvs rdiff -r1.22 -r1.23 syssrc/sys/dev/tc/mfb.c
cvs rdiff -r1.35 -r1.36 syssrc/sys/dev/tc/sfb.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/dev/tc/sfbplus.c
cvs rdiff -r1.24 -r1.25 syssrc/sys/dev/tc/tfb.c
cvs rdiff -r1.17 -r1.18 syssrc/sys/dev/tc/xcfb.c
cvs rdiff -r1.37 -r1.38 syssrc/sys/dev/wscons/wsdisplay.c
cvs rdiff -r1.14 -r1.15 syssrc/sys/dev/wscons/wsdisplayvar.h
cvs rdiff -r1.76 -r1.77 syssrc/sys/sys/conf.h
cvs rdiff -r1.24 -r1.25 syssrc/sys/uvm/uvm_device.c

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