diff options
author | gordon <gordon@FreeBSD.org> | 2018-03-14 04:00:00 +0000 |
---|---|---|
committer | gordon <gordon@FreeBSD.org> | 2018-03-14 04:00:00 +0000 |
commit | 312f06f761f7362e153ed5a1a9c49e17294e52b5 (patch) | |
tree | 272e75bf0fc1b0ab9b02a0f2f034e207b04d82f3 /sys/dev/hyperv/vmbus/amd64/vmbus_vector.S | |
parent | c69c8ae8053b66933da68a1f410f78dda1300dd7 (diff) | |
download | FreeBSD-src-312f06f761f7362e153ed5a1a9c49e17294e52b5.zip FreeBSD-src-312f06f761f7362e153ed5a1a9c49e17294e52b5.tar.gz |
Add mitigations for two classes of speculative execution vulnerabilities
on amd64. [FreeBSD-SA-18:03.speculative_execution]
Approved by: so
Security: FreeBSD-SA-18:03.speculative_execution
Security: CVE-2017-5715
Security: CVE-2017-5754
Diffstat (limited to 'sys/dev/hyperv/vmbus/amd64/vmbus_vector.S')
-rw-r--r-- | sys/dev/hyperv/vmbus/amd64/vmbus_vector.S | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/hyperv/vmbus/amd64/vmbus_vector.S b/sys/dev/hyperv/vmbus/amd64/vmbus_vector.S index 8d09e24..6e396f3 100644 --- a/sys/dev/hyperv/vmbus/amd64/vmbus_vector.S +++ b/sys/dev/hyperv/vmbus/amd64/vmbus_vector.S @@ -26,19 +26,18 @@ * $FreeBSD$ */ +#include "assym.s" + #include <machine/asmacros.h> #include <machine/specialreg.h> -#include "assym.s" - /* * This is the Hyper-V vmbus channel direct callback interrupt. * Only used when it is running on Hyper-V. */ .text SUPERALIGN_TEXT -IDTVEC(vmbus_isr) - PUSH_FRAME + INTR_HANDLER vmbus_isr FAKE_MCOUNT(TF_RIP(%rsp)) movq %rsp, %rdi call vmbus_handle_intr |