Subject: CVS commit: src/sys/arch/sh3
To: None <source-changes@NetBSD.org>
From: Izumi Tsutsui <tsutsui@netbsd.org>
List: source-changes
Date: 09/24/2006 00:34:23
Module Name: src
Committed By: tsutsui
Date: Sun Sep 24 00:34:23 UTC 2006
Modified Files:
src/sys/arch/sh3/include: types.h
src/sys/arch/sh3/sh3: clock.c interrupt.c
Log Message:
Add timecounter support for SH3 ports. From gdamore on port-sh3,
with several minor fixes by me.
Previously sh3 ports use two timers (TMU1 and TMU2) as oneshot timer
to cause real hardware interrupts by softintr(9), but now softintr(9)
uses only TMU1 and TMU2 is configured as freerunning counter for
timecounter(9).
Tested on my dreamcast.
To generate a diff of this commit:
cvs rdiff -r1.23 -r1.24 src/sys/arch/sh3/include/types.h
cvs rdiff -r1.33 -r1.34 src/sys/arch/sh3/sh3/clock.c
cvs rdiff -r1.18 -r1.19 src/sys/arch/sh3/sh3/interrupt.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.