audk/UefiCpuPkg/Library/MtrrLib/UnitTest
YuanhaoXie 1ec374cb50 UefiCpuPkg/MtrrUnitTest: Update UnitTestMtrrGetDefaultMemoryType.
Update UnitTestMtrrGetDefaultMemoryType for the case the when Fixed
MTRRs are not supported.
The original implementation returns FALSE when either fixed MTRR isn't
supported or the number of variable MTRRs is 0. The correct behavior
should return FALSE only when both fixed MTRR isn't supported and the
number of variable MTRRs is 0.

Signed-off-by: Ray Ni <ray.ni@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>

Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
2023-10-09 08:22:02 +00:00
..
MtrrLibUnitTest.c UefiCpuPkg/MtrrUnitTest: Update UnitTestMtrrGetDefaultMemoryType. 2023-10-09 08:22:02 +00:00
MtrrLibUnitTest.h UefiCpuPkg/MtrrTest: Add test cases for TME-MK enable case 2023-04-01 01:08:34 +00:00
MtrrLibUnitTestHost.inf UefiCpuPkg/MtrrLibUnitTest: Change to use static array for CI test 2020-08-12 11:38:37 +00:00
RandomNumber.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Support.c UefiCpuPkg/MtrrTest: Add test cases for TME-MK enable case 2023-04-01 01:08:34 +00:00