Store the frequency and cputimer used to initialize a periodic systimer.
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 30 Apr 2007 06:57:38 +0000 (06:57 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 30 Apr 2007 06:57:38 +0000 (06:57 +0000)
commit4b52d1af68e9b03866a19138b3e23fe4246cc4c6
tree46574fb952fe7ed6d29e4b36027972cca85ea168
parente31613239c64d0e42f19a17cd3d1081c8cd02679
Store the frequency and cputimer used to initialize a periodic systimer.
If the system cputimer changes, periodic systimers will be adjusted at
the next timeout.

This allows the cputimer to be changed with only minor glitches, which
in turn will allow us to initialize with the 8254 and then later change
over to the ACPI timer.

Theoretically this allows the cputimer to be changed on the fly, after
the system has booted, but the sysctl is read-only for now.
sys/kern/kern_systimer.c
sys/sys/systimer.h