alpha: switch to clockintr
authorcheloha <cheloha@openbsd.org>
Sat, 10 Dec 2022 15:02:29 +0000 (15:02 +0000)
committercheloha <cheloha@openbsd.org>
Sat, 10 Dec 2022 15:02:29 +0000 (15:02 +0000)
commita2504d3f38ac2ad8a5cb1cce334a1dfd852a1e05
tree1eb56e3136c8531a32d19079335dc0bc56893b59
parenta96642fb40af450c6576e205fab247cdbce0b5ed
alpha: switch to clockintr

- Add missing tick_nsec initialization to cpu_initclocks().
- Set stathz = hz, profhz = stathz; we don't have any control over the
  interrupt clock on alpha so everything has the same frequency.
- Set schedhz = 16 to imitate current schedclock() dispatch frequency.

Bringup help from claudio@.  Tested by miod@ (2-CPU DS25).

Link: https://marc.info/?l=openbsd-tech&m=166776333303245&w=2
ok mlarkin@
sys/arch/alpha/alpha/clock.c
sys/arch/alpha/alpha/cpu.c
sys/arch/alpha/alpha/interrupt.c
sys/arch/alpha/include/_types.h
sys/arch/alpha/include/cpu.h
sys/arch/alpha/include/cpuconf.h