]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move the ioapic device model from userspace into vmm.ko. This is needed for
authorneel <neel@FreeBSD.org>
Tue, 12 Nov 2013 22:51:03 +0000 (22:51 +0000)
committerneel <neel@FreeBSD.org>
Tue, 12 Nov 2013 22:51:03 +0000 (22:51 +0000)
commit384d86e8883acf1387f02c9f3ec34798f973dd62
treec5c556e061b1f182036d3b8ffc028cc9c7a83e2d
parente41d2fd565cf8d3945a0bbfc72489332deb7ae0d
Move the ioapic device model from userspace into vmm.ko. This is needed for
upcoming in-kernel device emulations like the HPET.

The ioctls VM_IOAPIC_ASSERT_IRQ and VM_IOAPIC_DEASSERT_IRQ are used to
manipulate the ioapic pin state.

Discussed with: grehan@
Submitted by: Tycho Nightingale (tycho.nightingale@pluribusnetworks.com)
15 files changed:
lib/libvmmapi/vmmapi.c
lib/libvmmapi/vmmapi.h
sys/amd64/include/vmm.h
sys/amd64/include/vmm_dev.h
sys/amd64/vmm/io/vioapic.c [new file with mode: 0644]
sys/amd64/vmm/io/vioapic.h [moved from usr.sbin/bhyve/ioapic.h with 67% similarity]
sys/amd64/vmm/vmm.c
sys/amd64/vmm/vmm_dev.c
sys/modules/vmm/Makefile
usr.sbin/bhyve/Makefile
usr.sbin/bhyve/bhyverun.c
usr.sbin/bhyve/ioapic.c [deleted file]
usr.sbin/bhyve/pci_emul.c
usr.sbin/bhyve/pci_lpc.c
usr.sbin/bhyve/pit_8254.c