Revision: 16181
http://sourceforge.net/p/edk2/code/16181
Author: jyao1
Date: 2014-09-28 01:07:13 +0000 (Sun, 28 Sep 2014)
Log Message:
-----------
Fix an issue on FixedMtreProgramming - AND/OR mask incorrect.
Contributed-under: TianoCore Contribution Agreement 1.0
signed-off by: Yao, Jiewen <[email protected]>
reviewed by: Rangarajan, Ravi P <[email protected]>
Modified Paths:
--------------
trunk/edk2/IntelFspPkg/Library/BaseCacheLib/CacheLib.c
Modified: trunk/edk2/IntelFspPkg/Library/BaseCacheLib/CacheLib.c
===================================================================
--- trunk/edk2/IntelFspPkg/Library/BaseCacheLib/CacheLib.c 2014-09-26
03:27:25 UTC (rev 16180)
+++ trunk/edk2/IntelFspPkg/Library/BaseCacheLib/CacheLib.c 2014-09-28
01:07:13 UTC (rev 16181)
@@ -381,7 +381,7 @@
*Len -= mFixedMtrrTable[MsrNum].Length;
*Base += mFixedMtrrTable[MsrNum].Length;
}
- TempQword = AsmReadMsr64 (mFixedMtrrTable[MsrNum].Msr) & (~ClearMask |
OrMask);
+ TempQword = (AsmReadMsr64 (mFixedMtrrTable[MsrNum].Msr) & (~ClearMask)) |
OrMask;
AsmWriteMsr64 (mFixedMtrrTable[MsrNum].Msr, TempQword);
return EFI_SUCCESS;
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits