agtimer(4/armv7): switch to clockintr
authorcheloha <cheloha@openbsd.org>
Tue, 17 Jan 2023 02:58:22 +0000 (02:58 +0000)
committercheloha <cheloha@openbsd.org>
Tue, 17 Jan 2023 02:58:22 +0000 (02:58 +0000)
commit18cf9b3a01f8ab59565d0be09a919922c195da48
treeffeb9453e84885eb25782b3801e32cc2377ece55
parent8e3880d25a2f65723f828571e27b9fa3eca1da3a
agtimer(4/armv7): switch to clockintr

- Strip out custom hardclock/statclock scheduling code.
- Remove debug evcount code.  We can no longer differentiate between
  hardclock and statclock in the driver.
- Wire up agtimer_intrclock.

With tweaks from miod@ and jca@.  Tested by jca@ and kettenis@.

Link: https://marc.info/?l=openbsd-tech&m=167044965011140&w=2
ok kettenis@
sys/arch/arm/cortex/agtimer.c