From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web11.31671.1595222272701798052 for ; Sun, 19 Jul 2020 22:17:53 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: ianx.kuo@intel.com) IronPort-SDR: RB5iBOB+0R/yAo+MTy2RZfQ81PN3u5xwwhcImKZ4ANXzBqv2CsjJpARCCtSo1DvNdER7vdXWDZ 3Aq5+wNu12Fg== X-IronPort-AV: E=McAfee;i="6000,8403,9687"; a="151200040" X-IronPort-AV: E=Sophos;i="5.75,373,1589266800"; d="scan'208";a="151200040" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jul 2020 22:17:51 -0700 IronPort-SDR: KNPO+r0bx+mUo7VyKA8ziPGDVNYtgMcHlfFdfZykxnDdZtqzJOpOU72++ZbSxitlomesav5o8K WF/ZN9rKO/3w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,373,1589266800"; d="scan'208";a="319412883" Received: from ikuox-mobl1.gar.corp.intel.com ([10.5.244.73]) by fmsmga002.fm.intel.com with ESMTP; 19 Jul 2020 22:17:50 -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 13:17:48 +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