i8254: Adjust cpu_initclocks() a little bit.
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 2 May 2009 04:24:21 +0000 (12:24 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 2 May 2009 13:53:46 +0000 (21:53 +0800)
commitc5c70facb932e4ef43d65d3ff36daf5964006a05
tree09d45fa369c50910da98589faa7415d9228afbf4
parent3005db81b962e8881b66bcf4edb62ec51409d12d
i8254: Adjust cpu_initclocks() a little bit.

- Factor out i8254_intr_reload(), and use it in cpu_initclocks()
- In i8254 interrupt delivery testing, add assertion to make sure
  that the current sys_cputimer is i8254
sys/platform/pc32/isa/clock.c