Subject: CVS commit: src/sys/arch/mips
To: None <source-changes@NetBSD.org>
From: Garrett D'Amore <gdamore@netbsd.org>
List: source-changes
Date: 09/02/2006 22:20:57
Module Name:	src
Committed By:	gdamore
Date:		Sat Sep  2 22:20:57 UTC 2006

Added Files:
	src/sys/arch/mips/include: mips3_clock.h
	src/sys/arch/mips/mips: mips3_clock.c

Log Message:
Provide a common implementation for ports that use the MIPS CP0 counter
based clock interrupt.

This provides common implementations of: delay(), cpu_initclocks(), and a
timecounter based on the MIPS3 CP0.  It also provides a new function,
mips3_clockintr(), that is intended to be called from a port's cpu_intr()
routine when INT5 is raised.

Hopefully many MIPS3 based machines can adopt this common interrupt framework.
The evbmips conversion will be committed separately, shortly.


To generate a diff of this commit:
cvs rdiff -r0 -r1.1 src/sys/arch/mips/include/mips3_clock.h
cvs rdiff -r0 -r1.1 src/sys/arch/mips/mips/mips3_clock.c

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