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 L"PerfDataMemAddr" variable to make Dp_App 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 (4): MdeModulePkg: Add TimerStartValue and TimerEndValue into PERF_HEADER IntelFrameworkModulePkg GenericBdsLib: Assign TimerStartValue/TimerEndValue PerformancePkg Dp_App: Remove TimerLib dependency ShellPkg UefiDpLib: Remove TimerLib dependency .../Library/GenericBdsLib/Performance.c | 4 ++- MdeModulePkg/Include/Guid/Performance.h | 4 ++- .../Library/UefiBootManagerLib/BmPerformance.c | 4 ++- PerformancePkg/Dp_App/Dp.c | 37 ++++++++++++++-------- PerformancePkg/Dp_App/Dp.inf | 4 ++- PerformancePkg/Dp_App/DpInternal.h | 6 ++-- PerformancePkg/Dp_App/DpStrings.uni | 8 +++-- PerformancePkg/Dp_App/DpTrace.c | 24 ++------------ PerformancePkg/Dp_App/Literals.c | 3 +- ShellPkg/Library/UefiDpLib/Dp.c | 37 ++++++++++++++-------- ShellPkg/Library/UefiDpLib/DpInternal.h | 6 ++-- ShellPkg/Library/UefiDpLib/DpTrace.c | 22 +------------ ShellPkg/Library/UefiDpLib/Literals.c | 3 +- ShellPkg/Library/UefiDpLib/UefiDpLib.inf | 6 ++-- ShellPkg/Library/UefiDpLib/UefiDpLib.uni | 3 +- ShellPkg/ShellPkg.dsc | 1 - 16 files changed, 78 insertions(+), 94 deletions(-) -- 2.7.0.windows.1 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

