Subject: CVS commit: syssrc/sys/arch
To: None <source-changes@netbsd.org>
From: Reinoud Zandijk <reinoud@netbsd.org>
List: source-changes
Date: 09/10/2001 05:20:21
Module Name:	syssrc
Committed By:	reinoud
Date:		Mon Sep 10 02:20:21 UTC 2001

Modified Files:
	syssrc/sys/arch/arm/arm: bus_space_notimpl.S
	syssrc/sys/arch/arm/include: bus.h
	syssrc/sys/arch/arm/mainbus: mainbus_io.c
	syssrc/sys/arch/arm32/iomd: iomd_io.c
	syssrc/sys/arch/arm32/isa: isa_io.c
	syssrc/sys/arch/arm32/podulebus: podulebus_io.c

Log Message:
Initial commitment of the bus_space_mmap() functions as proposed by Jason R
Thorpe as an extension to the bus_space(9) API.

Only the mainbus has a working mmap... iomd, podulebus and isa dont have
one yet. Its trivial to add the iomd and isa's memory part but am a bit
hessistant to add it without knowing its implications by heart.

Podulebus might be implemented in 32 bits EASI but otherwise its not really
transparent since there is AFAIK no function to explicitly read one byte or
so .. or is this implemented in a higher level ?

ARM26 and arch/arm32/dnard (Shark) kernels compile and RiscPC and Shark
kernels are tested and function OK.

Implications of other ARM systems like hpcarm and ebarm are propably
minimal or solved trivially.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/arm/arm/bus_space_notimpl.S
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/arm/include/bus.h
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/arm/mainbus/mainbus_io.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/arm32/iomd/iomd_io.c
cvs rdiff -r1.7 -r1.8 syssrc/sys/arch/arm32/isa/isa_io.c
cvs rdiff -r1.9 -r1.10 syssrc/sys/arch/arm32/podulebus/podulebus_io.c

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