summaryrefslogtreecommitdiffstats
path: root/IntelFrameworkPkg
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2018-01-09 16:46:40 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2018-01-11 10:37:54 +0800
commit579510336e2ccbb22fa706c49baa07969e3d60f6 (patch)
treef2afb6e6543015df838b36e34f378a9adbd73403 /IntelFrameworkPkg
parent479a3b6053bb4c508d7397c65f482e0a8f3c9719 (diff)
downloadedk2-579510336e2ccbb22fa706c49baa07969e3d60f6.tar.gz
edk2-579510336e2ccbb22fa706c49baa07969e3d60f6.tar.bz2
edk2-579510336e2ccbb22fa706c49baa07969e3d60f6.zip
UefiCpuPkg/MtrrLib: Fix a MTRR calculation bug
80 A8 B0 B8 C0 +----------WB--------+-UC-+-WT-+-WB-+ For above memory settings, current code caused the final MTRR settings miss [A8, B0, UC] when default memory type is UC. The root cause is the code only checks the mandatory weight between A8 to B0, but skips to check the optional weight. The patch fixes this issue. 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 'IntelFrameworkPkg')
0 files changed, 0 insertions, 0 deletions