CVSROOT: /cvs Module name: src Changes by: chel...@cvs.openbsd.org 2018/04/17 08:34:09
Modified files: usr.sbin/vmd : i8253.c i8253.h Log message: Drive i8253 with CLOCK_MONOTONIC. Ensures that the olatch decrements uniformly, independent of system wall clock jumps. While here, roll the olatch computation in i8253_do_readback() into a loop, and leverage the timespec macros in sys/time.h. Both make the code a lot more readable. ok mlarkin@