From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web12.9270.1595291721807232042 for ; Mon, 20 Jul 2020 17:35:21 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.151, mailfrom: ianx.kuo@intel.com) IronPort-SDR: 5JnEixTpmHlI1bjyHmvl5sdp3BxVDDVnQFC/G1ECESnwRL/mOTPlXCe/IfJFb4shBpifnCtYa+ voCBdg/oZi0w== X-IronPort-AV: E=McAfee;i="6000,8403,9688"; a="130113460" X-IronPort-AV: E=Sophos;i="5.75,375,1589266800"; d="scan'208";a="130113460" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 17:35:20 -0700 IronPort-SDR: uu63J6h80u8oGUjgU3V26Bmg5r2CNVTVoqxg3JNtSGIcU4tWrCucRxdyZ27WFI/s20IJcwsMri LrJO97EbbHSQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,375,1589266800"; d="scan'208";a="287733202" Received: from unknown (HELO ikuox-MOBL1.gar.corp.intel.com) ([10.5.244.14]) by orsmga006.jf.intel.com with ESMTP; 20 Jul 2020 17:35:18 -0700 From: "IanX Kuo" To: devel@edk2.groups.io Cc: james.lu@intel.com, chandana.c.kumar@intel.com, varalakshmi.a.prabhala@intel.com, IanX Kuo , Sai Chaganty , Chasel Chiu Subject: [edk2-platforms] [PATCH v6 1/6] Platform/Intel/MinPlatformPkg: Fix build error Date: Tue, 21 Jul 2020 08:35:15 +0800 Message-Id: <82e226162a72f62a6a46e3a4733d1752908bcabc.1595291556.git.ianx.kuo@intel.com> X-Mailer: git-send-email 2.26.2.windows.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Fix ReportCpuHobLib build error Create a Library instance of ReportCpuHobLib from PlatformInitPei driver. PA bits reported can be overridden by Library instance in Platform. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2674 Change-Id: I0cd6ba4eb7231a3a84f080fdce85bbe74eb29eeb Signed-off-by: IanX Kuo Cc: Sai Chaganty Cc: Chasel Chiu --- .../PlatformInit/Library/ReportCpuHobLib/ReportCpuHobLib.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Platform/Intel/MinPlatformPkg/PlatformInit/Library/ReportCpuHo= bLib/ReportCpuHobLib.c b/Platform/Intel/MinPlatformPkg/PlatformInit/Library= /ReportCpuHobLib/ReportCpuHobLib.c index aa256534..83fc5249 100644 --- a/Platform/Intel/MinPlatformPkg/PlatformInit/Library/ReportCpuHobLib/Re= portCpuHobLib.c +++ b/Platform/Intel/MinPlatformPkg/PlatformInit/Library/ReportCpuHobLib/Re= portCpuHobLib.c @@ -6,7 +6,10 @@ SPDX-License-Identifier: BSD-2-Clause-Patent =0D **/=0D =0D -#include =0D +#include =0D +#include =0D +#include =0D +#include =0D #include =0D =0D VOID=0D --=20 2.26.2.windows.1