summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bhyve/pit_8254.c
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2013-10-04 23:29:07 +0000
committergrehan <grehan@FreeBSD.org>2013-10-04 23:29:07 +0000
commit26b6c9487afc3a61ddbfb5e0f5392ff4587fff45 (patch)
tree1a4cba1dbe257f758f42df0e24f7dd6def3ac10d /usr.sbin/bhyve/pit_8254.c
parent677c1f8ce94e86a14e9a4e83af5746dad45ff36e (diff)
downloadFreeBSD-src-26b6c9487afc3a61ddbfb5e0f5392ff4587fff45.zip
FreeBSD-src-26b6c9487afc3a61ddbfb5e0f5392ff4587fff45.tar.gz
Remove obsolete cmd-line options and code associated with
these. The mux-vcpus option may return at some point, given it's utility in finding bhyve (and FreeBSD) bugs. Approved by: re@ (blanket) Discussed with: neel@
Diffstat (limited to 'usr.sbin/bhyve/pit_8254.c')
-rw-r--r--usr.sbin/bhyve/pit_8254.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bhyve/pit_8254.c b/usr.sbin/bhyve/pit_8254.c
index 44d0cca..3987da3 100644
--- a/usr.sbin/bhyve/pit_8254.c
+++ b/usr.sbin/bhyve/pit_8254.c
@@ -153,10 +153,10 @@ pit_update_counter(struct counter *c, int latch)
* of the program.
*
* If the counter's initial value is not programmed we
- * assume a value that would be set to generate 'guest_hz'
+ * assume a value that would be set to generate 100
* interrupts per second.
*/
- c->initial = TIMER_DIV(PIT_8254_FREQ, guest_hz);
+ c->initial = TIMER_DIV(PIT_8254_FREQ, 100);
gettimeofday(&c->tv, NULL);
}
OpenPOWER on IntegriCloud