Current DP implementation depends on TimerLib, as different platforms may implement and use their own TimerLib, it makes the dp needs to be built by platform. The TimerLib dependency can be removed by using PEI performance log HOB to make DP to be generic.
Cc: Liming Gao <[email protected]> Cc: Jiewen Yao <[email protected]> Cc: Cinnamon Shia <[email protected]> Cc: Jaben Carsey <[email protected]> Star Zeng (3): MdeModulePkg: Extend PEI_PERFORMANCE_LOG_HEADER PerformancePkg Dp_App: Remove TimerLib dependency ShellPkg UefiDpLib: Remove TimerLib dependency MdeModulePkg/Include/Guid/Performance.h | 9 +++-- .../Library/PeiPerformanceLib/PeiPerformanceLib.c | 9 +++++ PerformancePkg/Dp_App/Dp.c | 42 +++++++++++++--------- PerformancePkg/Dp_App/Dp.inf | 5 ++- PerformancePkg/Dp_App/DpInternal.h | 6 ++-- PerformancePkg/Dp_App/DpProfile.c | 3 +- PerformancePkg/Dp_App/DpStrings.uni | 10 ++++-- PerformancePkg/Dp_App/DpTrace.c | 25 ++----------- PerformancePkg/Dp_App/DpUtilities.c | 1 - PerformancePkg/Dp_App/Literals.c | 3 +- ShellPkg/Library/UefiDpLib/Dp.c | 40 +++++++++++---------- ShellPkg/Library/UefiDpLib/DpInternal.h | 6 ++-- ShellPkg/Library/UefiDpLib/DpProfile.c | 3 +- ShellPkg/Library/UefiDpLib/DpTrace.c | 23 +----------- ShellPkg/Library/UefiDpLib/DpUtilities.c | 1 - ShellPkg/Library/UefiDpLib/Literals.c | 3 +- ShellPkg/Library/UefiDpLib/UefiDpLib.inf | 7 ++-- ShellPkg/Library/UefiDpLib/UefiDpLib.uni | 4 ++- ShellPkg/ShellPkg.dsc | 2 +- 19 files changed, 93 insertions(+), 109 deletions(-) -- 2.7.0.windows.1 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

