From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web11.13039.1595310223498182399 for ; Mon, 20 Jul 2020 22:43:43 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=WykvthpY; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: liming.gao@intel.com) IronPort-SDR: AtnTaKQ6bVof6kcYB9l8xN7TJfuk7A9+H9LSvgAxhAOhXIGXzk3nRi4wSPgPMZiiXPoeHE8jRI Z6zvuzjgohEQ== X-IronPort-AV: E=McAfee;i="6000,8403,9688"; a="149222660" X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="149222660" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 22:43:43 -0700 IronPort-SDR: AAVbSE8slginu27xQBvv7f9Z7Lml337yvbTMdYly/3RiydZp+WCoLSbf43i6ZVgKUjzAPivrZ4 t9hJ55m/ewgg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="287797215" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga006.jf.intel.com with ESMTP; 20 Jul 2020 22:43:42 -0700 Received: from fmsmsx124.amr.corp.intel.com (10.18.125.39) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 20 Jul 2020 22:43:42 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx124.amr.corp.intel.com (10.18.125.39) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 20 Jul 2020 22:43:42 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.105) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 20 Jul 2020 22:43:42 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T0reUYyvqutg8QWSqZrrKqJSHqmlRAxYUBbUQHSGSzKL3zYQXzG33UmUOEZIbVP6SGmvzPF4VsmF1aVgNF0dZWOrLjy+1v9EaPt2q7ztkPo3zZTpA0MKsSpf2E1L3w9CwGahz5B7gJb8ryI+C87MquLBNHP4D5Cxu453dL8MasmkcJFsLpcHZ8xA5B8bKrRpJaUAp+Va8PYkXZbKdTS71M4NQfUyntcUGM8ASaYks7FEYD2ScGMYeTDVAXFwtIlFpXbH79lqzAy+wig7N6BApjTSfLZcQnLFCA1/90cRoIJKka5aPlxAKCdY1E/nRefcPCcQJ6TAhv2NmPDZ5tyDzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jn41L+Z0iA18Jm8TDegEb/duzkDEUKz/GODuqsL41EE=; b=gvrtnIoVxM8AB+a64uXrceRXYE8H/o82sl+9La+fkl+S3Y2aY0rVfWBb4RxUayovAZLaPVKzs9nifMeyXJXaxUWQJ0OGPrxdjK2QVK2m4xSYQeirXuUhKKRindHb9WNI/EyqPNzagOi561mn6EiBUAwMgUsAXArXg33dNvA6r5tg29bdBsVkMwTAy5FdED3cgvccUiR6F3udCwNBJ2bwJosPnudpAJQsoLTfzg+rZNoW5ohxfyx7Ir0HqkHNnJwiBJerqpACcqhxHrvriTjvYMWJNxKREbJwqnhcrY29gWxnGKcizQde8BaNXetOCQxT9XBXcGjSXHcmHd/wMebC7g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jn41L+Z0iA18Jm8TDegEb/duzkDEUKz/GODuqsL41EE=; b=WykvthpYmamMCx5w75iXFyK0WufqxPKWawJstbtnRO56X82VrPHGNThH3fbvcyWydpd4GlR7KMmGqKK9r1yk7DxH1VVZJN8MeTafeaMHKoFLobY/9uFFf7Q8vyw1/ZJKyf++79eGru7yQ2jId7t24T0vJi32AiebZYnrvNKO2/E= Received: from MWHPR11MB1630.namprd11.prod.outlook.com (2603:10b6:301:e::7) by MWHPR11MB1680.namprd11.prod.outlook.com (2603:10b6:301:d::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.23; Tue, 21 Jul 2020 05:43:40 +0000 Received: from MWHPR11MB1630.namprd11.prod.outlook.com ([fe80::7847:b564:1b55:b67e]) by MWHPR11MB1630.namprd11.prod.outlook.com ([fe80::7847:b564:1b55:b67e%6]) with mapi id 15.20.3195.025; Tue, 21 Jul 2020 05:43:40 +0000 From: "Liming Gao" To: "Kuo, IanX" , "devel@edk2.groups.io" CC: "Lu, James" , "Kumar, Chandana C" , "Prabhala, Varalakshmi A" , "Chaganty, Rangasai V" , "Chiu, Chasel" Subject: Re: [edk2-platforms] [PATCH v7 1/6] Platform/Intel/MinPlatformPkg: Fix build error Thread-Topic: [edk2-platforms] [PATCH v7 1/6] Platform/Intel/MinPlatformPkg: Fix build error Thread-Index: AQHWXx/pq0NSHGbvwkyKR6FMyUSsdakRhYMQ Date: Tue, 21 Jul 2020 05:43:40 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.2.0.6 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.217] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8b0561cc-9204-4cff-3dc1-08d82d3905e5 x-ms-traffictypediagnostic: MWHPR11MB1680: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1013; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: yblEbpyJz+xkJZCVG/YOgHLqMst104IflF6S6zRRUi/dOQIeVe/JNtSg8pbaR6WzvZBX4dUL6FlVFZu3XIlXhGbuI3GhQDsJbjqamQO6svFK9tjhRVTOY4Y2GYlCQdT65ep+FBZy5VCVom+ijTDphreBvg2u2MvdyWkmJaskjZZyTZWeLr3nmL5EyhDihZImPDo4SL1iNIpllHDpzhuNTI4kiUr8nIaVkoKO1sBZKOPZbw2qgL3OT51LAKDY1PN1q0CJZ8FBWWRfLClkGZHBK7nmOtZkRjBZ0C8WjdxvGcuAMPCbXSQJpme7HeEEvbr3bn/ErzRItSCa0U1e+vpC0WM2O7y+hiUtql8Bg3JiDk+wQXQPEvbPfn4o+x1D2svSTq5lXjIAm98GTSRjYpeHPw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR11MB1630.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(136003)(366004)(396003)(346002)(376002)(39860400002)(4326008)(316002)(5660300002)(76116006)(6506007)(64756008)(66476007)(66446008)(110136005)(53546011)(7696005)(66946007)(54906003)(66556008)(2906002)(33656002)(52536014)(966005)(186003)(55016002)(8676002)(86362001)(8936002)(478600001)(9686003)(107886003)(71200400001)(26005)(83380400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: M68f1v/zigFWgdtsMfpcbyt2yebm2YR8C3fUO/vlDCIqtxMW5wkH/xyZGazwUdcga9XEA7Q2pQzdPSM46XsFiUxDENmqqJY38dDYVKzSkz2QyqmYIHqyiZP4+MyXRaBJjOMhPB74JrhwCpCAriMqUImgUfLmAQa0p6X/CKVEEyxPiMfaawD3ElCUwbCFcb0ZNJ2OynW1VcpWHgpDelRfbV6s3xZ69Ye9wbNT9ELn8xvtdZ/A8phz/2aLsdzaAK1pEOTrrr5zZdXutYJv16QInQe7D911mvILa12ALBmTh9l8bYGs4EvxESUHHaUyBzmmDWRsXrq1ZG2Uowe3LWMsZ+DwbtVbZeg6itC7FxLUm5rnIHd96sc3FOOvHNG3VI4m1lbaW1H9IZrlZaYXPVQnnvK7+v42Ffw45ma9lpgzX0327E92CP/h1T+3+WdYYfY4HkiykWbwj3rbQeupoHIcBOrPwNqLWyVvvK5A/tDKdy5g6nZ8qG3pFjBcM7gnjTqQ MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1630.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8b0561cc-9204-4cff-3dc1-08d82d3905e5 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jul 2020 05:43:40.7680 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: PhRU0JNe9Rt2gBx+5Ht8e563YY2ugUKrN2XCuDXNTHLPG6lxECs2SeevGH3QYu3M7laeQdpOOUYisCIudi07Ew== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1680 Return-Path: liming.gao@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao -----Original Message----- From: Kuo, IanX =20 Sent: 2020=1B$BG/=1B(B7=1B$B7n=1B(B21=1B$BF|=1B(B 13:29 To: devel@edk2.groups.io Cc: Lu, James ; Kumar, Chandana C ; Prabhala, Varalakshmi A ; Gao, L= iming ; Kuo, IanX ; Chaganty, Ran= gasai V ; Chiu, Chasel Subject: [edk2-platforms] [PATCH v7 1/6] Platform/Intel/MinPlatformPkg: Fix= build error 1. Fix ReportCpuHobLib build error 2. Change MODULE from BASE to PEIM 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 | 3 ++- .../PlatformInit/Library/ReportCpuHobLib/ReportCpuHobLib.inf | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Platform/Intel/MinPlatformPkg/PlatformInit/Library/ReportCpuHo= bLib/ReportCpuHobLib.c b/Platform/Intel/MinPlatformPkg/PlatformInit/Library= /ReportCpuHobLib/ReportCpuHobLib.c index aa256534..7eb29152 100644 --- a/Platform/Intel/MinPlatformPkg/PlatformInit/Library/ReportCpuHobLib/Re= portCpuHobLib.c +++ b/Platform/Intel/MinPlatformPkg/PlatformInit/Library/ReportCpuHobLib/Re= portCpuHobLib.c @@ -6,7 +6,8 @@ SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ =20 -#include +#include +#include #include =20 VOID diff --git a/Platform/Intel/MinPlatformPkg/PlatformInit/Library/ReportCpuHo= bLib/ReportCpuHobLib.inf b/Platform/Intel/MinPlatformPkg/PlatformInit/Libra= ry/ReportCpuHobLib/ReportCpuHobLib.inf index a1830d43..df1d780e 100644 --- a/Platform/Intel/MinPlatformPkg/PlatformInit/Library/ReportCpuHobLib/Re= portCpuHobLib.inf +++ b/Platform/Intel/MinPlatformPkg/PlatformInit/Library/ReportCpuHobLib/Re= portCpuHobLib.inf @@ -12,7 +12,7 @@ BASE_NAME =3D ReportCpuHobLib FILE_GUID =3D F19AA754-CE24-448D-B755-1F939B00C25D VERSION_STRING =3D 1.0 - MODULE_TYPE =3D BASE + MODULE_TYPE =3D PEIM LIBRARY_CLASS =3D ReportCpuHobLib =20 [LibraryClasses] --=20 2.26.2.windows.1