Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 01/16/2001 08:01:27
Module Name:	syssrc
Committed By:	thorpej
Date:		Tue Jan 16 06:01:27 UTC 2001

Modified Files:
	syssrc/sys/arch/mips/conf: files.mips
	syssrc/sys/arch/mips/include: proc.h types.h
	syssrc/sys/arch/mips/mips: genassym.cf locore_mips1.S locore_mips3.S
	    trap.c
Added Files:
	syssrc/sys/arch/mips/mips: syscall.c

Log Message:
New syscall entry implementation based on the Alpha version
as hacked by mycroft.
- Use syscall_intern() to give a process a plain or fancy
  syscall based on ktrace flags.
- Avoid copying from the trapframe into a local array as much
  as possible.

Yields roughly 5% improvement on a 25MHz R3000 (DECstation 5000/200)
on a simple syscall benchmark.

There's still some work that can be done using __HAVE_MINIMAL_EMUL.


To generate a diff of this commit:
cvs rdiff -r1.29 -r1.30 syssrc/sys/arch/mips/conf/files.mips
cvs rdiff -r1.11 -r1.12 syssrc/sys/arch/mips/include/proc.h
cvs rdiff -r1.26 -r1.27 syssrc/sys/arch/mips/include/types.h
cvs rdiff -r1.22 -r1.23 syssrc/sys/arch/mips/mips/genassym.cf
cvs rdiff -r1.50 -r1.51 syssrc/sys/arch/mips/mips/locore_mips1.S
cvs rdiff -r1.64 -r1.65 syssrc/sys/arch/mips/mips/locore_mips3.S
cvs rdiff -r0 -r1.1 syssrc/sys/arch/mips/mips/syscall.c
cvs rdiff -r1.159 -r1.160 syssrc/sys/arch/mips/mips/trap.c

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