audk/UefiCpuPkg/PiSmmCpuDxeSmm
Jeff Fan f6bc3a6d26 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.

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/trunk/edk2@18905 6f19259b-4bc3-4df7-8a09-765794883524
2015-11-20 01:22:00 +00:00
..
Ia32 UefiCpuPkg: Add PiSmmCpuDxeSmm module IA32 files 2015-10-19 19:13:13 +00:00
X64 UefiCpuPkg: Add PiSmmCpuDxeSmm module X64 files 2015-10-19 19:13:31 +00:00
CpuS3.c
CpuService.c
CpuService.h
MpService.c
PiSmmCpuDxeSmm.c UefiCpuPkg: Not touch SmmFeatureControl if Code_Access_Chk not Set 2015-11-20 01:22:00 +00:00
PiSmmCpuDxeSmm.h UefiCpuPkg: PiSmmCpuDxeSmm: Remove Framework compatibility 2015-11-05 00:01:45 +00:00
PiSmmCpuDxeSmm.inf UefiCpuPkg: PiSmmCpuDxeSmm: Remove Framework compatibility 2015-11-05 00:01:45 +00:00
PiSmmCpuDxeSmm.uni
PiSmmCpuDxeSmmExtra.uni
SmmProfile.c
SmmProfile.h
SmmProfileInternal.h
SmramSaveState.c
SyncTimer.c