OpenBSD cvs log

created 2022-11-24T12:58:15Z
begin 2022-11-08T14:01:13Z
end 2022-11-08T14:46:51Z
path src/sys
commits 1

date 2022-11-08T14:46:51Z
author cheloha
files src/sys/arch/amd64/amd64/machdep.c log diff annotate
src/sys/arch/amd64/include/cpu.h log diff annotate
message amd64: add delay_fini()

Not all of the clocks with a delay(9) implementation necessarily keep
ticking across suspend/resume. We need a clean way to reverse
delay_init() during suspend when those clocks stop ticking.

Hence, delay_fini(). delay_fini() resets delay_func() to
i8254_delay() if the given function pointer is the active delay(9)
implementation.

ok mlarkin@