Store the frequency and cputimer used to initialize a periodic systimer.
commit561f2f3c5a48d524cb3c1507fa3aa2c8469a1161
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 30 Apr 2007 06:57:38 +0000 (30 06:57 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 30 Apr 2007 06:57:38 +0000 (30 06:57 +0000)
treea7fa0884b58c479b06654e9c838e67a222f57d3e
parentb17cbb7b74966f2a9824a0292ed6bc2a6b5443cc
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