Store the frequency and cputimer used to initialize a periodic systimer.
commit244aad9bd14bc816ee1a7c3bd4abdf123e0066f4
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)
treedb0602bae9ead797cc524038a57d5288624b1487
parent092e9c0a037df0fef628f1e857dd12c2d7052c28
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