Update MtrrLib modules to handle the absense of Fixed MTRRs
Update unit test of Update for the absense of Fixed MTRRs
Ray Ni (6):
UefiCpuPkg/MtrrLib: Add internal function MtrrLibIsMtrrSupported.
UefiCpuPkg/MtrrUnitTest: Update test to cover no-fixed-mtrr cases.
UefiCpuPkg/MtrrLib: Fix MtrrGetAllMtrrs to return correct MTRR
setting.
UefiCpuPkg/MtrrLib: Fix MtrrSetAllMtrrs to handle absent fixed MTRRs.
UefiCpuPkg/MtrrLib: Update APIs related to set memory attributes.
UefiCpuPkg/CpuDxe: Update RefreshMemoryAttributesFromMtrr.
YuanhaoXie (10):
UefiCpuPkg/MtrrUnitTest: Update the Unit Test for IsMtrrSupported().
UefiCpuPkg/MtrrUnitTest: Update UnitTestGetFirmwareVariableMtrrCount.
UefiCpuPkg/MtrrUnitTest: Update UnitTestMtrrGetDefaultMemoryType.
UefiCpuPkg/MtrrUnitTest: Update UnitTestMtrrGetAllMtrrs().
UefiCpuPkg/MtrrLib: Update MtrrGetFixedMtrr().
UefiCpuPkg/MtrrUnitTest: Update UnitTestMtrrGetFixedMtrr().
UefiCpuPkg/MtrrUnitTest: Update UnitTestMtrrSetAllMtrrs().
UefiCpuPkg/MtrrLib: Add API MtrrGetMemoryAttributesInMtrrSettings.
UefiCpuPkg/MtrrLib: Improve MtrrDebugPrintAllMtrrsWorker.
UefiCpuPkg/MtrrUnitTest: Add Unit test of setting/getting memory
attributes
UefiCpuPkg/CpuDxe/CpuDxe.c | 309 ++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
UefiCpuPkg/Include/Library/MtrrLib.h | 32 +++++++++++++++++++++++++++++---
UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 391 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------------------------------------
UefiCpuPkg/Library/MtrrLib/UnitTest/MtrrLibUnitTest.c | 244 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------
UefiCpuPkg/Library/MtrrLib/UnitTest/Support.c | 24 +++++++++++++++---------
5 files changed, 532 insertions(+), 468 deletions(-)
--
2.36.1.windows.1