Home | History | Annotate | Download | only in include
History log of /src/sys/arch/mips/include/mips3_clock.h
RevisionDateAuthorComments
 1.5  08-Jan-2008  joerg Remove __HAVE_TIMECOUNTER conditionals.
 1.4  10-Sep-2006  tsutsui branches: 1.4.6; 1.4.32; 1.4.38; 1.4.46;
Change mips3_clockintr() to take (struct clockframe *) rather than
pc and status since it calls hardclock(9) anyway.
OK'ed by gdamore on port-mips.
 1.3  08-Sep-2006  gdamore branches: 1.3.2;
Various improvements to make the common mips3 clock handling more generally
useful. The functions delay, cpu_initclocks, and setstatclcokrate have been
renamed to mips3_delay, mips3_initclocks, and mips3_setstatclockrate.

We provide weak aliases for the original names, so machdep code doesn't have
to provide wrapper routines. (Giving good performance.)

I've moved mips3_clockintr, mips3_initclocks, and mips3_setstatclockrate to
their own mips3_clockintr file, because some ports may not be able to use
these, and its senseless to carry that baggage.
 1.2  08-Sep-2006  gdamore Rename init_mips3_tc to mips3_init_tc() for consistency, and make it
extern.
 1.1  02-Sep-2006  gdamore branches: 1.1.2; 1.1.4;
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.
 1.1.4.1  18-Nov-2006  ad Sync with head.
 1.1.2.3  14-Sep-2006  yamt sync with head.
 1.1.2.2  03-Sep-2006  yamt sync with head.
 1.1.2.1  02-Sep-2006  yamt file mips3_clock.h was added on branch yamt-pdpolicy on 2006-09-03 15:23:21 +0000
 1.3.2.2  09-Sep-2006  rpaulo sync with head
 1.3.2.1  08-Sep-2006  rpaulo file mips3_clock.h was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:41:26 +0000
 1.4.46.1  08-Jan-2008  bouyer Sync with HEAD
 1.4.38.1  18-Feb-2008  mjf Sync with HEAD.
 1.4.32.1  09-Jan-2008  matt sync with HEAD
 1.4.6.3  21-Jan-2008  yamt sync with head
 1.4.6.2  30-Dec-2006  yamt sync with head.
 1.4.6.1  10-Sep-2006  yamt file mips3_clock.h was added on branch yamt-lazymbuf on 2006-12-30 20:46:32 +0000

RSS XML Feed