Ray Ni (6):
MdePkg: Add TME-MK related CPUID and MSR definitions
UefiCpuPkg/MtrrTest: Only claim CPUID max leaf as 1
UefiCpuPkg/MtrrLib: Substract TME-MK KEY_ID_BITS from CPU max PA
UefiCpuPkg/CpuDxe: Refactor to use CPUID definitions
UefiCpuPkg/CpuDxe: Substract TME-MK KEY_ID_BITS from CPU max PA
UefiCpuPkg/MtrrTest: Add test cases for TME-MK enable case
.../Include/Register/Intel/ArchitecturalMsr.h | 106 ++++++++++++++-
MdePkg/Include/Register/Intel/Cpuid.h | 9 +-
UefiCpuPkg/CpuDxe/CpuDxe.c | 38 ++++--
UefiCpuPkg/CpuDxe/CpuDxe.h | 3 +-
UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 24 +++-
.../MtrrLib/UnitTest/MtrrLibUnitTest.c | 18 +--
.../MtrrLib/UnitTest/MtrrLibUnitTest.h | 3 +-
UefiCpuPkg/Library/MtrrLib/UnitTest/Support.c | 126 ++++++++++++++----
8 files changed, 278 insertions(+), 49 deletions(-)
--
2.39.1.windows.1