Home | History | Annotate | Download | only in mips
History log of /src/sys/arch/mips/mips/mips_mcclock.c
RevisionDateAuthorComments
 1.21  08-Sep-2024  rillig fix a/an grammar in obvious cases
 1.20  10-Nov-2021  msaitoh branches: 1.20.10;
s/acutal/actual/ in comment.
 1.19  20-Feb-2011  matt Major merge forward from matt-nb5-mips64.
New fixup code.
New common SPL code.
New common interrupt code.
Move related variables into structures.
Cleanup locore (move MD variable into it).
Kill StudlyCaps
Use PCU for FPU
 1.18  16-Mar-2009  dsl branches: 1.18.4; 1.18.6; 1.18.8;
ANSIfy functions with function-pointer arguments
 1.17  14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.16  03-Jan-2008  joerg branches: 1.16.10; 1.16.18; 1.16.24; 1.16.28;
Add missing include of dev/clock_subr.h.
 1.15  08-Mar-2006  lukem branches: 1.15.40; 1.15.46; 1.15.54;
Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
Add a space between numbers and Hz unit.
 1.14  25-Feb-2006  wiz branches: 1.14.2; 1.14.4;
Fix some typos.
 1.13  11-Dec-2005  christos branches: 1.13.2; 1.13.4; 1.13.6;
merge ktrace-lwp.
 1.12  01-Jan-2005  simonb branches: 1.12.10;
Provide assembly versions of the clock timing calculation loops that
aren't effected by changes in compiler optimisation.

Fixes PR port-mips/26959 from Izumi Tsutsui
 1.11  05-Mar-2002  simonb branches: 1.11.14;
Add support for MIPS32 and MIPS64 architectures:
- move away from using CPUISMIPS3; use MIPS_HAS_CLOCK instead.
 1.10  04-Oct-2000  cgd branches: 1.10.4; 1.10.8;
rename mips_read_causereg -> mips_cp0_cause_read. nuke prototype
for mips_read_statusreg (which was apparently never implemented).
Provide prototypes and implementations for mips_cp0_cause_write,
mips_cp0_status_read, and mips_cp0_status_write. (Writing can, of
course, be quite dangerous.)
 1.9  28-Mar-2000  simonb Don't `extern' function declarations. While we're there, remove trailing
blank lines and white space.
 1.8  03-Dec-1999  nisimura Decouple DECstation binding, use 'dev/dec/mcclock_pad32.h' for
implementation consistency.
 1.7  24-Apr-1999  simonb branches: 1.7.2; 1.7.8;
Nuke register and remove trailling white space.
 1.6  07-Apr-1999  simonb Make unconditional clock cycle counter display conditional on DEBUG
being defined.
 1.5  13-Mar-1999  jonathan branches: 1.5.2;
Pad out mips1 inter-tick delay loop with two nops, to match
gcc-2.7.2.2+myc1 calibration.
XXX rewrite in assembler to remove compiler dependency.
 1.4  01-Mar-1999  jonathan Recalibrate MIPS3 delay constants.
XXX mips4, faster clocks than 100MHz?
 1.3  16-Feb-1999  jonathan Bump mips3 CPU-mhz timing threshholds by 10% due to egcs wins.
XXX mips1 not recalibrated.
 1.2  14-Aug-1997  jonathan branches: 1.2.2;
Add checks for DS 3100, 2100. Use more generous delay values, these
systems may be memory-bound.
 1.1  09-Aug-1997  jonathan MIPS cpu-speed detection using mc146818 clock.

Compute CPU speed(MHz) and loop multiplier for DELAY() based on
counting empty loop between mcclock ticks. New global: cpu_mhz.
Change pmax/pmax/machdep.c to build baseboard model names from cpu_mhz.
Set 'cpuspeed' for more realistic DELAY() on mips3 models.

Mips CPU constants, testing, and calibration from D. Sean Davidson
<davidson@zk3.dec.com> and Simon Burge <simonb@telstra.com.au>.
 1.2.2.2  23-Aug-1997  thorpej Update marc-pcmcia branch from trunk.
 1.2.2.1  14-Aug-1997  thorpej file mips_mcclock.c was added on branch marc-pcmcia on 1997-08-23 07:11:19 +0000
 1.5.2.1  07-Apr-1999  simonb branches: 1.5.2.1.2;
Pull up rev 1.6 from trunk:
Make unconditional clock cycle counter display conditional on
DEBUG being defined.
 1.5.2.1.2.1  21-Jun-1999  thorpej Sync w/ -current.
 1.7.8.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.7.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.10.8.1  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.10.4.1  16-Mar-2002  jdolecek Catch up with -current.
 1.11.14.1  17-Jan-2005  skrll Sync with HEAD.
 1.12.10.2  21-Jan-2008  yamt sync with head
 1.12.10.1  21-Jun-2006  yamt sync with head.
 1.13.6.1  22-Apr-2006  simonb Sync with head.
 1.13.4.1  09-Sep-2006  rpaulo sync with head
 1.13.2.1  01-Mar-2006  yamt sync with head.
 1.14.4.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.14.2.1  13-Mar-2006  yamt sync with head.
 1.15.54.1  08-Jan-2008  bouyer Sync with HEAD
 1.15.46.1  18-Feb-2008  mjf Sync with HEAD.
 1.15.40.1  09-Jan-2008  matt sync with HEAD
 1.16.28.2  29-Apr-2011  matt Major merge to/from current.
Adds MIPS32/MIPS64 R2 support (24k, 74k, etc.) including COP0_USERLOCAL
Adds support for emulation of rdhwr $3,$29 instruction.
Major cleanup of SMP code. (stable on multi-core / single thread per core)
llsc locking code only used in MP capable kernels.
 1.16.28.1  20-Jan-2010  matt Adjust things to the new world order.
 1.16.24.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.16.18.1  28-Apr-2009  skrll Sync with HEAD.
 1.16.10.1  04-May-2009  yamt sync with head.
 1.18.8.1  05-Mar-2011  bouyer Sync with HEAD
 1.18.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.18.4.1  05-Mar-2011  rmind sync with head
 1.20.10.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed