Adapt glxclk(4) for clockintr
authorvisa <visa@openbsd.org>
Sat, 26 Aug 2023 09:37:43 +0000 (09:37 +0000)
committervisa <visa@openbsd.org>
Sat, 26 Aug 2023 09:37:43 +0000 (09:37 +0000)
commit1b807bb08aa5dd1933d07ab4278e58e43c0c2b94
tree28e0676c3ba3313d58ae0a5b118da1783f632329
parentdd37084bb9bbc1cb63137a98072e149306cc2e2a
Adapt glxclk(4) for clockintr

Make glxclk(4) functional again. The MFGPT provides the CPU core
an external clock interrupt. This interrupt enables a later change
that reduces energy usage when the system is idle. Also, the use
of the external clock fixes timekeeping when the core clock
frequency is adjusted.
sys/arch/loongson/dev/glxclk.c