diff options
author | Scott Soule Cheloha <cheloha@cvs.openbsd.org> | 2022-11-08 14:46:52 +0000 |
---|---|---|
committer | Scott Soule Cheloha <cheloha@cvs.openbsd.org> | 2022-11-08 14:46:52 +0000 |
commit | ea07ebefe4efd98cef68e1179e8a693515001ce6 (patch) | |
tree | 4c1f086eb0043ce4153e5850f2c0c4f91d97f70e /usr.bin/rup | |
parent | bd76e51440b14b39baf7af4985e793d45846f645 (diff) |
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@
Diffstat (limited to 'usr.bin/rup')
0 files changed, 0 insertions, 0 deletions