finalize.c
1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 3 #include <types.h> 4 #include <cpu/x86/msr.h> 5 6 #include "haswell.h" 7 8 void intel_cpu_haswell_finalize_smm(void) 9 { 10 /* Lock memory configuration to protect SMM */ 11 msr_set(MSR_LT_LOCK_MEMORY, BIT(0)); 12 }