diff options
author | Jeff Fan <jeff.fan@intel.com> | 2015-11-20 05:19:05 +0000 |
---|---|---|
committer | vanjeff <vanjeff@Edk2> | 2015-11-20 05:19:05 +0000 |
commit | b787ece3293b19f7f340ddfe2070d020beb0a6fc (patch) | |
tree | d074d55df13e5d00fb3cacdb95592a48025e74af /UefiCpuPkg/Library/SmmCpuFeaturesLib | |
parent | b324f3af6461691f004d2aac7727e59f9548b3ef (diff) | |
download | edk2-b787ece3293b19f7f340ddfe2070d020beb0a6fc.tar.gz edk2-b787ece3293b19f7f340ddfe2070d020beb0a6fc.tar.bz2 edk2-b787ece3293b19f7f340ddfe2070d020beb0a6fc.zip |
UefiCpuPkg: Not touch SmmFeatureControl if Code_Access_Chk not Set
Bit SMM_Code_Access_Chk (SMM-RO) in MSR_SMM_MCA_CAP is defined in SDM.
If set to 1 indicates that the SMM code access restriction is supported and the
MSR_SMM_FEATURE_CONTROL is supported.
If this bit is not set, we needn't to access register SmmFetureControl.
Otherwise, #GP exception may happen.
(Sync patch r18905 from main trunk.)
Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@18912 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UefiCpuPkg/Library/SmmCpuFeaturesLib')
0 files changed, 0 insertions, 0 deletions