Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/mips



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.




Home | Main Index | Thread Index | Old Index