audk/UefiCpuPkg
Jeff Fan eecad34987 UefiCpuPkg/MtrrLib: Fixed bug if length is less than Fixed-MTRR range
Currently, if the memory length to be programmed is less than the remaining size
of one Fixed-MTRR supported, RETURN_UNSUPPORTED returned. This is not correct.
This is one regression at 07e8892090 when we
updated ProgramFixedMtrr() to remove the loop of calculating Fixed-MTRR Mask.

This fix will calculate Right offset in Fixed-MTRR beside left offset. It
supports small length (less than remaining size supported by Fixed-MTRR) to be
programmed.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
2016-06-07 13:09:25 +08:00
..
Application/Cpuid
CpuDxe
CpuIo2Dxe
CpuIo2Smm
CpuIoPei
CpuMpPei UefiCpuPkg/CpuMpPei: Consume CpuExceptionHandlerLib 2016-06-01 15:37:01 +08:00
CpuS3DataDxe
Include
Library UefiCpuPkg/MtrrLib: Fixed bug if length is less than Fixed-MTRR range 2016-06-07 13:09:25 +08:00
PiSmmCommunication
PiSmmCpuDxeSmm UefiCpuPkg/PiSmmCpuDxeSmm: Using MSRs semaphores in aligned buffer 2016-05-24 15:20:22 -07:00
ResetVector
SecCore
Universal/Acpi/S3Resume2Pei
Contributions.txt
License.txt
UefiCpuPkg.dec UefiCpuPkg: change PcdCpuSmmStackGuard default to TRUE 2016-06-06 10:58:24 +02:00
UefiCpuPkg.dsc UefiCpuPkg/ExceptionLib: Import PeiCpuExceptionHandlerLib module 2016-06-01 15:36:14 +08:00
UefiCpuPkg.uni
UefiCpuPkgExtra.uni