From nobody Mon May 13 15:37:39 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+93455+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+93455+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1662579811; cv=none; d=zohomail.com; s=zohoarc; b=NsnL16Bg7TgfBW25ZK8e5ezfz40E8Lce0oxZDS0mq/EN+a4muD3aUWFALSEzl6nmyz7aT+MhmP3lGV3tWn6R8T+g9RAcpb7FFu+YrVrwgH4Da/nR/sALeeERqdG3W1OyeunUltjCJICJjy+uyX+HftRaegbzfSlRt1YMhZK1mjc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1662579811; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=4g0zdzSWQOkDWG54yLsZK5PeyFbQwZitPLvsHhwh4aM=; b=BkzJfDlVvn4GpYXJkGAAuWkDBKEN+pY8ON5j5UZOAcBCWw20gqV8ad1SaiRF1y3R5QzRpIyKdK4zAJs1MrKGvExP3/g2akcCduAMJ2JlFpKnd5QteKotmUdk6JWWj/rm7NO3PRRreUlZ2nT+vPg0fvO17rV8AY7SggE95w7DYFI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+93455+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 166257981105098.63363145886728; Wed, 7 Sep 2022 12:43:31 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id HmKqYY1788612x5ORTtnUePJ; Wed, 07 Sep 2022 12:43:30 -0700 X-Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web12.138.1662579809455640685 for ; Wed, 07 Sep 2022 12:43:29 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10463"; a="323167829" X-IronPort-AV: E=Sophos;i="5.93,297,1654585200"; d="scan'208";a="323167829" X-Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2022 12:43:21 -0700 X-IronPort-AV: E=Sophos;i="5.93,297,1654585200"; d="scan'208";a="943039952" X-Received: from cchiu4-mobl.gar.corp.intel.com ([10.212.157.178]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2022 12:43:21 -0700 From: "Chiu, Chasel" To: devel@edk2.groups.io Cc: Chasel Chiu , Nate DeSimone , Star Zeng Subject: [edk2-devel] [PATCH] IntelFsp2Pkg: Fix FspSecCoreI build failure. Date: Wed, 7 Sep 2022 12:43:10 -0700 Message-Id: <20220907194310.1647-1-chasel.chiu@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,chasel.chiu@intel.com X-Gm-Message-State: tN0H5YjTxjfcmPLapqufdysLx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1662579810; bh=oU7F3kVIr7OhssPjysuseWj5CdhErD384GKbE2NDODo=; h=Cc:Date:From:Reply-To:Subject:To; b=sfIj2rHlUAtKs7IMmAzIm+GZoPg5zDk24vW9XIv6kn17TFy2LN2E8sbTcHWUzGBvTQK Y1FfxHL129sAg5RmU0/FyRo5sn5LX+wnUStJSKtDDgeZEJBJN+XzBZ2TISm4GP+HRazA9 8NrmarGdrASSoeeQxKFnrL7sslaatcDqtws= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1662579811950100001 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4049 Link error occurred in certain compiling environment when building FspSecCoreI: unresolved external symbol _TempRamInitApi. Cc: Nate DeSimone Cc: Star Zeng Signed-off-by: Chasel Chiu Reviewed-by: Nate DeSimone --- IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryI.nasm | 11 +++++++++++ IntelFsp2Pkg/FspSecCore/X64/FspApiEntryI.nasm | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryI.nasm b/IntelFsp2Pkg/= FspSecCore/Ia32/FspApiEntryI.nasm index e9365d6832..e392ebed58 100644 --- a/IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryI.nasm +++ b/IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryI.nasm @@ -22,6 +22,17 @@ global ASM_PFX(FspApiCommonContinue) ASM_PFX(FspApiCommonContinue): jmp $ =20 +;-------------------------------------------------------------------------= --- +; TempRamInit API +; +; Empty function for WHOLEARCHIVE build option +; +;-------------------------------------------------------------------------= --- +global ASM_PFX(TempRamInitApi) +ASM_PFX(TempRamInitApi): + jmp $ + ret + ;-------------------------------------------------------------------------= --- ; FspSmmInit API ; diff --git a/IntelFsp2Pkg/FspSecCore/X64/FspApiEntryI.nasm b/IntelFsp2Pkg/F= spSecCore/X64/FspApiEntryI.nasm index e74bf0a26b..5c9ffbd569 100644 --- a/IntelFsp2Pkg/FspSecCore/X64/FspApiEntryI.nasm +++ b/IntelFsp2Pkg/FspSecCore/X64/FspApiEntryI.nasm @@ -22,6 +22,17 @@ global ASM_PFX(FspApiCommonContinue) ASM_PFX(FspApiCommonContinue): jmp $ =20 +;-------------------------------------------------------------------------= --- +; TempRamInit API +; +; Empty function for WHOLEARCHIVE build option +; +;-------------------------------------------------------------------------= --- +global ASM_PFX(TempRamInitApi) +ASM_PFX(TempRamInitApi): + jmp $ + ret + ;-------------------------------------------------------------------------= --- ; FspSmmInit API ; --=20 2.35.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#93455): https://edk2.groups.io/g/devel/message/93455 Mute This Topic: https://groups.io/mt/93532998/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-