summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bhyve/pit_8254.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2014-01-23 20:21:39 +0000
committerjhb <jhb@FreeBSD.org>2014-01-23 20:21:39 +0000
commite1016866c7ece00b60ccc7f0807fb1c2ebd0f3b8 (patch)
treeb240f9bae5e8b73b14e936389325d99b836c8748 /usr.sbin/bhyve/pit_8254.c
parent49a10991a21d43b461cc6ca3357c283fd6f3dd45 (diff)
downloadFreeBSD-src-e1016866c7ece00b60ccc7f0807fb1c2ebd0f3b8.zip
FreeBSD-src-e1016866c7ece00b60ccc7f0807fb1c2ebd0f3b8.tar.gz
MFC 257422,257661,258075,258476,258494,258579,258609,258699:
Several enhancements to the I/O APIC support in bhyve including: - Move the I/O APIC device model from userspace into vmm.ko and add ioctls to assert and deassert I/O APIC pins. - Add HPET device emulation including a single timer block with 8 timers. - Remove the 'vdev' abstraction. Approved by: neel
Diffstat (limited to 'usr.sbin/bhyve/pit_8254.c')
-rw-r--r--usr.sbin/bhyve/pit_8254.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/bhyve/pit_8254.c b/usr.sbin/bhyve/pit_8254.c
index 88c2d22..9ecb565 100644
--- a/usr.sbin/bhyve/pit_8254.c
+++ b/usr.sbin/bhyve/pit_8254.c
@@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$");
#include "bhyverun.h"
#include "inout.h"
-#include "ioapic.h"
#include "mevent.h"
#include "pit_8254.h"
@@ -106,8 +105,7 @@ pit_mevent_cb(int fd, enum ev_type type, void *param)
pit_mev_count++;
- ioapic_assert_pin(c->ctx, 2);
- ioapic_deassert_pin(c->ctx, 2);
+ vm_ioapic_pulse_irq(c->ctx, 2);
/*
* Delete the timer for one-shots
OpenPOWER on IntegriCloud