summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorsephe <sephe@FreeBSD.org>2016-04-15 02:20:18 +0000
committersephe <sephe@FreeBSD.org>2016-04-15 02:20:18 +0000
commit3d593173121c94e1e0c292e67eba37c36230ecd4 (patch)
tree0c92dd0fe290f94fdfc98d288ce0b2575f3fb95a /sys/i386
parent634d36b00d7bc528be96c7d12da7faf778977561 (diff)
downloadFreeBSD-src-3d593173121c94e1e0c292e67eba37c36230ecd4.zip
FreeBSD-src-3d593173121c94e1e0c292e67eba37c36230ecd4.tar.gz
hyperv: Deprecate HYPERV option by moving Hyper-V IDT vector into vmbus
Submitted by: Jun Su <junsu microsoft com> Reviewed by: jhb, kib, sephe Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D5910
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/conf/GENERIC2
-rw-r--r--sys/i386/i386/apic_vector.s19
2 files changed, 0 insertions, 21 deletions
diff --git a/sys/i386/conf/GENERIC b/sys/i386/conf/GENERIC
index e23906d..ee2df93 100644
--- a/sys/i386/conf/GENERIC
+++ b/sys/i386/conf/GENERIC
@@ -367,8 +367,6 @@ device virtio_scsi # VirtIO SCSI device
device virtio_balloon # VirtIO Memory Balloon device
# HyperV drivers and enchancement support
-# NOTE: HYPERV depends on hyperv. They must be added or removed together.
-options HYPERV # Hyper-V kernel infrastructure
device hyperv # HyperV drivers
# Xen HVM Guest Optimizations
diff --git a/sys/i386/i386/apic_vector.s b/sys/i386/i386/apic_vector.s
index 18b3c5d..9d56b93 100644
--- a/sys/i386/i386/apic_vector.s
+++ b/sys/i386/i386/apic_vector.s
@@ -181,25 +181,6 @@ IDTVEC(xen_intr_upcall)
jmp doreti
#endif
-#ifdef HYPERV
-/*
- * This is the Hyper-V vmbus channel direct callback interrupt.
- * Only used when it is running on Hyper-V.
- */
- .text
- SUPERALIGN_TEXT
-IDTVEC(hv_vmbus_callback)
- PUSH_FRAME
- SET_KERNEL_SREGS
- cld
- FAKE_MCOUNT(TF_EIP(%esp))
- pushl %esp
- call hv_vector_handler
- add $4, %esp
- MEXITCOUNT
- jmp doreti
-#endif
-
#ifdef SMP
/*
* Global address space TLB shootdown.
OpenPOWER on IntegriCloud