]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c
UefiCpuPkg: SmmCpuFeaturesLib: Add MSR_SMM_FEATURE_CONTROL support
authorMichael Kinney <michael.d.kinney@intel.com>
Wed, 28 Oct 2015 07:16:38 +0000 (07:16 +0000)
committermdkinney <mdkinney@Edk2>
Wed, 28 Oct 2015 07:16:38 +0000 (07:16 +0000)
commitd26a7a3fa251e1c2e93bdb834207643eabb847de
tree0d629fbf5153d4664f2bd34dc4ecd9dd0e5f44cd
parentc617380446ec1228aa4c260b3eca775dbda5896b
UefiCpuPkg: SmmCpuFeaturesLib: Add MSR_SMM_FEATURE_CONTROL support

Add support for the reading and writing MSR_SMM_FEATURE_CONTROL
through the SmmCpuFeaturesIsSmmRegisterSupported(),
SmmCpuFeaturesGetSmmRegister(), and SmmCpuFeaturesSetSmmRegister()
functions.  This MSR is supported if the Family/Model is 06_3C,
06_45, or 06_46.

Cc: "Yao, Jiewen" <jiewen.yao@intel.com>
Cc: Jeff Fan <jeff.fan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: "Yao, Jiewen" <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18690 6f19259b-4bc3-4df7-8a09-765794883524
UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c