Source-Changes archive

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

CVS commit: src/sys/arch



Module Name:    src
Committed By:   tsutsui
Date:           Wed Jan  9 14:46:49 UTC 2008

Modified Files:
        src/sys/arch/algor/algor: algor_p4032_intr.c algor_p5064_intr.c
            algor_p6032_intr.c locore_machdep.S
        src/sys/arch/mips/mips: mips3_clock.c

Log Message:
Fix another botch on migration to MI mips3_clock.c for algor in 2006:
- in algor_p????_cal_timer() functions, initialize ci_divisor_delay
  and ci_cycles_per_hz values in curcpu() for MI mips3_clock.c:mips3_delay()
  rather than obsolete and homegrown delay_divisor
- remove old _delay() stuff from locore_machdep.S
- make MI mips3_delay() work even before frequency values in curcpu()
  are initialized

Now NetBSD/algor P5064 kernel works on gxemul.

While here, add a hack for emulators:
- ignore a measured CPU frequency if the value looks unlikely

Pullup request for netbsd-4 will be sent later.


To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 src/sys/arch/algor/algor/algor_p4032_intr.c
cvs rdiff -r1.17 -r1.18 src/sys/arch/algor/algor/algor_p5064_intr.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/algor/algor/algor_p6032_intr.c
cvs rdiff -r1.3 -r1.4 src/sys/arch/algor/algor/locore_machdep.S
cvs rdiff -r1.7 -r1.8 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