From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.65; helo=mga03.intel.com; envelope-from=dandan.bi@intel.com; receiver=edk2-devel@lists.01.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id BD112210C0F4C for ; Mon, 30 Jul 2018 00:00:58 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Jul 2018 00:00:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,422,1526367600"; d="scan'208";a="60864401" Received: from shwdeopenpsi114.ccr.corp.intel.com ([10.239.157.135]) by orsmga008.jf.intel.com with ESMTP; 30 Jul 2018 00:00:56 -0700 From: Dandan Bi To: edk2-devel@lists.01.org Cc: Dmitry Antipov , Michael D Kinney , Liming Gao , Star Zeng Date: Mon, 30 Jul 2018 15:00:14 +0800 Message-Id: <20180730070016.10396-1-dandan.bi@intel.com> X-Mailer: git-send-email 2.14.3.windows.1 Subject: [patch 0/2] Enahnce Perf data transfer between Dxe Perf Lib and driver X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2018 07:00:58 -0000 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 Cc: Michael D Kinney Cc: Liming Gao Cc: Star Zeng 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