doc/share/security/patches/EN-19:13/mds.11.patch
Gordon Tetlow c531075a51 Add EN-19:13 and SA-19:12 to SA-19:17.
Approved by:	so
2019-07-24 13:28:52 +00:00

18 lines
556 B
Diff

--- sys/x86/x86/cpu_machdep.c.orig
+++ sys/x86/x86/cpu_machdep.c
@@ -953,7 +953,6 @@
* architectural state except possibly %rflags. Also, it is always
* called with interrupts disabled.
*/
-void (*mds_handler)(void);
void mds_handler_void(void);
void mds_handler_verw(void);
void mds_handler_ivb(void);
@@ -962,6 +961,7 @@
void mds_handler_skl_avx(void);
void mds_handler_skl_avx512(void);
void mds_handler_silvermont(void);
+void (*mds_handler)(void) = mds_handler_void;
static int
sysctl_hw_mds_disable_state_handler(SYSCTL_HANDLER_ARGS)