Source-Changes archive

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

CVS commit: src/sys/arch/cobalt



Module Name:    src
Committed By:   tsutsui
Date:           Sat Aug 28 12:32:48 UTC 2004

Modified Files:
        src/sys/arch/cobalt/cobalt: clock.c machdep.c
        src/sys/arch/cobalt/dev: gt.c
Added Files:
        src/sys/arch/cobalt/cobalt: clockvar.h
        src/sys/arch/cobalt/dev: gtreg.h

Log Message:
- Reset timer0 of GT64111 in gt_attach() and start it
  in cpu_initclocks(9) via a callback function.
  Fixes the "hardclock(9) is called before cpu_initclocks(9)" problem
  reported by KIYOHARA Takashi on port-cobalt.
- Use bus_space(9) functions to access GT64111 registers and
  add register definitions for GT64111 in gtreg.h.
  (XXX this could be in sys/dev/marvell?)
- Move microtime(9) from machdep.c to clock.c, and read timer0 register
  via a callback function. Also change microtime(9) like other ports
  to guarantee that the time will be greater than the value obtained
  by a previous call.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 src/sys/arch/cobalt/cobalt/clock.c
cvs rdiff -r0 -r1.1 src/sys/arch/cobalt/cobalt/clockvar.h
cvs rdiff -r1.51 -r1.52 src/sys/arch/cobalt/cobalt/machdep.c
cvs rdiff -r1.9 -r1.10 src/sys/arch/cobalt/dev/gt.c
cvs rdiff -r0 -r1.1 src/sys/arch/cobalt/dev/gtreg.h

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