summaryrefslogtreecommitdiff
path: root/src/cpu/intel/common/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/intel/common/common.h')
-rw-r--r--src/cpu/intel/common/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cpu/intel/common/common.h b/src/cpu/intel/common/common.h
index df14668095..aaeca1da10 100644
--- a/src/cpu/intel/common/common.h
+++ b/src/cpu/intel/common/common.h
@@ -27,4 +27,10 @@ bool intel_ht_supported(void);
*/
bool intel_ht_sibling(void);
+/*
+ * Lock AES-NI feature (MSR_FEATURE_CONFIG) to prevent unintended disabling
+ * as suggested in Intel document 325384-070US.
+ */
+void set_aesni_lock(void);
+
#endif