Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 02/02/1997 07:00:02
thorpej
Sat Feb  1 22:50:08 PST 1997
Update of /cvsroot/src/sys/arch/m68k/m68k
In directory netbsd1:/var/slash-tmp/cvs-serv14829

Modified Files:
	copy.s 
Log Message:
Add two optimized functions used by pmap.c:
- copypage() -- a single page-aligned NBPG-byte copy.
- zeropage() -- a single page-aligned NBPG-byte zero.
These functions don't play around with alignment, etc.  Their use
causes a measureable performance improvement in pmap_copy_page()
and pmap_copy_page().

A few m68k ports already had copypage() in their locore.s.  It has
been moved here so it can be shared.


thorpej
Sat Feb  1 22:54:10 PST 1997
Update of /cvsroot/src/sys/arch/m68k/m68k
In directory netbsd1:/var/slash-tmp/cvs-serv16120

Added Files:
	mappedcopy.c 
Log Message:
Add the Utah mappedcopyin/mappedcopyout functions to a common m68k
area.  These functions are designed to improve performance of large
copyin/copyout operations by mapping the user page in to the kernel
address space and using bcopy(), rather then copying across protection
boundaries.

XXX This doesn't work yet -- the way it's called doesn't obey C calling
XXX conventions.  That will be fixed soon.


thorpej
Sat Feb  1 22:55:15 PST 1997
Update of /cvsroot/src/sys/arch/m68k/conf
In directory netbsd1:/var/slash-tmp/cvs-serv16324

Modified Files:
	files.m68k 
Log Message:
Build mappedcopy.c conditional on "options MAPPEDCOPY"


thorpej
Sat Feb  1 22:56:58 PST 1997
Update of /cvsroot/src/sys/arch/m68k/include
In directory netbsd1:/var/slash-tmp/cvs-serv16460

Modified Files:
	cpu.h 
Log Message:
prototype mappedcopy{in,out}(), {copy,zero}page().