From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 7A0DEAC1CA8 for ; Mon, 18 Mar 2024 23:18:36 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=4j2KYCT9CFTiubbsUvUB7huFOJnbLa76qrf3+jLJ1c0=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1710803915; v=1; b=PwdUa+Gt9Dq0EzyFLPUIY07QZDW38ZA8dyQgB4QMYbq1pQJA1OU3+lnMbyg5qOt2vQyX1UFU B2sTsRiK+JXhOhDP71bau+wOSMFD8MqAutQxO7kGCZ2dBk+gvrujDfwUjQ9cES760RvE4NGObHh +GyX5WdSU57Yh7y2qJqgxK8RU0WHS6Jr4sgVyXhUE9HMSX3Sb5mBRCV2zPEtMbDjZhn2uzZ6mJf vL2BU6c6aPDcU9kmz7e6GBpUHTiFN1Msvzi7ESlQwS90x1UHsIr/xgaKpeG/xRldoKo9GbvgULJ Mpe6koPJpYH6vA5SAK55noBgyvHJly98t5uftheKXEjew== X-Received: by 127.0.0.2 with SMTP id VXG4YY7687511x38exMJnatA; Mon, 18 Mar 2024 16:18:35 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by mx.groups.io with SMTP id smtpd.web11.39318.1710755336250205231 for ; Mon, 18 Mar 2024 02:48:56 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,11016"; a="30994255" X-IronPort-AV: E=Sophos;i="6.07,134,1708416000"; d="scan'208";a="30994255" X-Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Mar 2024 02:48:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,134,1708416000"; d="scan'208";a="44461303" X-Received: from juichenx-mobl3.gar.corp.intel.com ([10.225.76.159]) by fmviesa001.fm.intel.com with ESMTP; 18 Mar 2024 02:48:54 -0700 From: brucex.wang@intel.com To: devel@edk2.groups.io Cc: brucex.wang@intel.com, Gua Guo , Guo Dong , James Lu , Sean Rhodes Subject: [edk2-devel] [PATCH v1 1/1] UefiPayloadPkg: Revert "ProcessLibraryConstructorList()" Date: Mon, 18 Mar 2024 17:48:22 +0800 Message-Id: <20240318094822.1737-2-brucex.wang@intel.com> In-Reply-To: <20240318094822.1737-1-brucex.wang@intel.com> References: <20240318094822.1737-1-brucex.wang@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Mon, 18 Mar 2024 16:18:34 -0700 Reply-To: devel@edk2.groups.io,brucex.wang@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: Ld46GJjqZbaMXpunPOHkXSplx7686176AA= Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=PwdUa+Gt; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io From: Bruce Wang This reverts commit 1c0db2315109233e77e6b5a52704d14550dcba3c That commit cause a build error "ProcessLibraryConstructorList undefined" in FitUniversalPayloadEntry.c Cc: Gua Guo Cc: Guo Dong Cc: James Lu Cc: Sean Rhodes Signed-off-by: BruceX Wang --- .../UefiPayloadEntry/FitUniversalPayloadEntry.inf | 2 +- UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h | 10 ++++++++++ UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf | 2 +- .../UefiPayloadEntry/UniversalPayloadEntry.inf | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/UefiPayloadPkg/UefiPayloadEntry/FitUniversalPayloadEntry.inf b= /UefiPayloadPkg/UefiPayloadEntry/FitUniversalPayloadEntry.inf index b87a0989ee..01fb3aceb3 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/FitUniversalPayloadEntry.inf +++ b/UefiPayloadPkg/UefiPayloadEntry/FitUniversalPayloadEntry.inf @@ -8,7 +8,7 @@ ##=0D =0D [Defines]=0D - INF_VERSION =3D 1.30=0D + INF_VERSION =3D 0x00010005=0D BASE_NAME =3D FitUniversalPayloadEntry=0D FILE_GUID =3D CED5A8A9-B6EA-4D5A-8689-577EE88566CF= =0D MODULE_TYPE =3D SEC=0D diff --git a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h b/UefiPaylo= adPkg/UefiPayloadEntry/UefiPayloadEntry.h index 80ccc5072c..ad8a9fd22b 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h +++ b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.h @@ -51,6 +51,16 @@ #define E820_PMEM 7=0D #define E820_UNDEFINED 8=0D =0D +/**=0D + Auto-generated function that calls the library constructors for all of t= he module's=0D + dependent libraries.=0D +**/=0D +VOID=0D +EFIAPI=0D +ProcessLibraryConstructorList (=0D + VOID=0D + );=0D +=0D /**=0D Add a new HOB to the HOB List.=0D =0D diff --git a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf b/UefiPay= loadPkg/UefiPayloadEntry/UefiPayloadEntry.inf index a3ff4b86ea..e2af8a4b7c 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf +++ b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.inf @@ -9,7 +9,7 @@ ##=0D =0D [Defines]=0D - INF_VERSION =3D 1.30=0D + INF_VERSION =3D 0x00010005=0D BASE_NAME =3D PayloadEntry=0D FILE_GUID =3D 2119BBD7-9432-4f47-B5E2-5C4EA31B6BDC= =0D MODULE_TYPE =3D SEC=0D diff --git a/UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf b/Ue= fiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf index a62da5c705..5112cdc1e5 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf +++ b/UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.inf @@ -8,7 +8,7 @@ ##=0D =0D [Defines]=0D - INF_VERSION =3D 1.30=0D + INF_VERSION =3D 0x00010005=0D BASE_NAME =3D UniversalPayloadEntry=0D FILE_GUID =3D D4F0F269-1209-4A66-8039-C4D5A700EA4E= =0D MODULE_TYPE =3D SEC=0D --=20 2.39.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116867): https://edk2.groups.io/g/devel/message/116867 Mute This Topic: https://groups.io/mt/105014786/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-