diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-02-08 14:43:20 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-02-09 12:33:55 +0800 |
commit | dc7363f848158564d8404c415061acf8c51ceb45 (patch) | |
tree | 3a5064ff10db39f9d7f2d1e47ebde3fe5bb8d3aa /BaseTools/Source/Python/Table | |
parent | 7506fe43a10d5f8148417812d204498995d9f1e7 (diff) | |
download | edk2-dc7363f848158564d8404c415061acf8c51ceb45.tar.gz edk2-dc7363f848158564d8404c415061acf8c51ceb45.tar.bz2 edk2-dc7363f848158564d8404c415061acf8c51ceb45.zip |
UefiCpuPkg/FeaturesLib: don't init MCi_CTL/STATUS when MCA's disabled
Today's McaInitialize() doesn't check State value before initialize
MCi_CTL and MCi_STATUS.
The patch fixes this issue by only initializing the two kinds of
MSRs when State is enabled.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Table')
0 files changed, 0 insertions, 0 deletions