From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web12.4434.1595043769115619466 for ; Fri, 17 Jul 2020 20:42:49 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: ianx.kuo@intel.com) IronPort-SDR: RKuiaBmOQi7rP+8CO06ejmvJVKKkelwj0Oc6q2cbl8aXcy+nPnVyAN2naR0kFUUs5OUGrhnQhI iIpn5uQIbuLw== X-IronPort-AV: E=McAfee;i="6000,8403,9685"; a="234564278" X-IronPort-AV: E=Sophos;i="5.75,365,1589266800"; d="scan'208";a="234564278" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jul 2020 20:42:48 -0700 IronPort-SDR: wxXRuWKGGUp+uzBUf1lkfkvjYTTRTKayojdxBuL8NA5LVbV92miDwFcZ6FYcVw7GUW9V3i23yz 1oiQSrbZVI0A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,365,1589266800"; d="scan'208";a="318968182" Received: from nkobayas-mobl.gar.corp.intel.com (HELO ikuox-MOBL1.gar.corp.intel.com) ([10.252.190.252]) by fmsmga002.fm.intel.com with ESMTP; 17 Jul 2020 20:42:47 -0700 From: IanX Kuo To: devel@edk2.groups.io Cc: IanX Kuo Subject: [PATCH v3 1/6] Platform/Intel/MinPlatformPkg: Fix build error Date: Sat, 18 Jul 2020 11:42:44 +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