amptimer(4): switch to clockintr
authorcheloha <cheloha@openbsd.org>
Tue, 17 Jan 2023 02:47:55 +0000 (02:47 +0000)
committercheloha <cheloha@openbsd.org>
Tue, 17 Jan 2023 02:47:55 +0000 (02:47 +0000)
commit8e3880d25a2f65723f828571e27b9fa3eca1da3a
tree0305350cd8771aa8e75472c16b19550cfb370d06
parent1286a7b8306d2163b7b474e08048c0e2af3ed41e
amptimer(4): switch to clockintr

- Strip out custom hardclock/statclock scheduling code.
- Wire up amptimer_intrclock.
- Remove debug evcounts.  All interrupts are now counted with
  the evcount in the interrupt handler.
- Remove apparently dead USE_GTIMER_CMP code.

Debugged with jca@.  Tested by jca@.

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