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.web10.34316.1595235484457652366 for ; Mon, 20 Jul 2020 01:58:04 -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: dAv36iDPhhrby5YWNsr/dqBFT2r2NhAST+fheOfuctc1FqY83fj17gkDkwa+ai4BfnWtVl18yB 65uYTl10BfLQ== X-IronPort-AV: E=McAfee;i="6000,8403,9687"; a="129954968" X-IronPort-AV: E=Sophos;i="5.75,374,1589266800"; d="scan'208";a="129954968" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 01:58:03 -0700 IronPort-SDR: 4vLfo/gH+NRxeq+0WqxzaGIvaLf247FSo2P2ZaUwg1GZ2OjoOgG8ACY9+9B1/Z9CRw7kNI1fwP 5xhIMaH93oRw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,374,1589266800"; d="scan'208";a="283449959" Received: from ikuox-mobl1.gar.corp.intel.com ([10.5.244.73]) by orsmga003.jf.intel.com with ESMTP; 20 Jul 2020 01:58:02 -0700 From: "IanX Kuo" To: devel@edk2.groups.io Cc: IanX Kuo Subject: [PATCH v4 1/6] Platform/Intel/MinPlatformPkg: Fix build error Date: Mon, 20 Jul 2020 16:57:59 +0800 Message-Id: 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 an Library instance of ReportCpuHobLib from PlatformInitPei driver. PA bits reported can be overriden using Library instance in Platform. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2674 Change-Id: I0cd6ba4eb7231a3a84f080fdce85bbe74eb29eeb Signed-off-by: IanX Kuo --- .../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