Add an internal protocol Firmware Boot Performance Table protocol to
get the performance data from DxeCorePerformanceLib.
Thus the FirmwarePerformanceDxe driver can call the API in the
new protocl to get the performance data instead of through
hook status code.

Cc: Dmitry Antipov <dma...@microsoft.com>
Cc: Michael D Kinney <michael.d.kin...@intel.com>
Cc: Liming Gao <liming....@intel.com>
Cc: Star Zeng <star.z...@intel.com>
Dandan Bi (2):
  MdeModulePkg: Add definition of Boot Performance Table protocol
  MdeModulePkg: Implement/use Boot Performance Table protocol

 .../Include/Guid/FirmwareBootPerformanceTable.h    | 47 ++++++++++++++
 .../DxeCorePerformanceLib/DxeCorePerformanceLib.c  | 74 ++++++----------------
 .../DxeCorePerformanceLib.inf                      |  6 +-
 .../DxeCorePerformanceLibInternal.h                | 15 +++++
 MdeModulePkg/MdeModulePkg.dec                      |  4 ++
 .../FirmwarePerformanceDxe.c                       | 71 ++++++++++++++++-----
 .../FirmwarePerformanceDxe.inf                     |  5 +-
 7 files changed, 144 insertions(+), 78 deletions(-)
 create mode 100644 MdeModulePkg/Include/Guid/FirmwareBootPerformanceTable.h

-- 
2.14.3.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to