Mercurial > illumos > git > illumos-joyent
changeset 25605:8b343bbde246
13301 bhyve PIT not periodic for square wave mode
Reviewed by: Jason King <jason.king@joyent.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Approved by: Robert Mustacchi <rm@fingolfin.org>
author | Patrick Mooney <pmooney@pfmooney.com> |
---|---|
date | Tue, 10 Nov 2020 02:25:25 +0000 |
parents | 67d85b95cbf0 |
children | b946fb6e922e 266b962d1d4a |
files | usr/src/uts/i86pc/io/vmm/io/vatpit.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/i86pc/io/vmm/io/vatpit.c Fri Oct 23 14:17:59 2020 -0400 +++ b/usr/src/uts/i86pc/io/vmm/io/vatpit.c Tue Nov 10 02:25:25 2020 +0000 @@ -165,7 +165,7 @@ callout_deactivate(callout); - if (c->mode == TIMER_RATEGEN) { + if (c->mode == TIMER_RATEGEN || c->mode == TIMER_SQWAVE) { pit_timer_start_cntr0(vatpit); }