Try to avoid access hardware when program MTRR. It could improve the performance of MTRR programming.
Jeff Fan (8): UefiCpuPkg/MtrrLib: Fix some typo and clean up code format UefiCpuPkg/MtrrLib: Add worker functions not invoke IsMtrrSupported() UefiCpuPkg/MtrrLib: Adjust functions order UefiCpuPkg/MtrrLib: Make use of worker functions to get MTRRs count UefiCpuPkg/MtrrLib: Add MtrrGetMemoryAttributeInVariableMtrrWorker () UefiCpuPkg/MtrrLib: Reduce hardware init when program fixed MTRRs UefiCpuPkg/MtrrLib: Reduce hardware init when program variable MTRRs UefiCpuPkg/MtrrLib: Print MTRR settings when set fixed/variable MTRRs UefiCpuPkg/Include/Library/MtrrLib.h | 70 +- UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 1278 ++++++++++++++++++++-------------- 2 files changed, 785 insertions(+), 563 deletions(-) -- 1.9.5.msysgit.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel