From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=KwbcQ1aq; spf=permerror, err=too many SPF records (domain: intel.com, ip: 192.55.52.88, mailfrom: chasel.chiu@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662579809; x=1694115809; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=e9vlhU04LRDVWLMKFKPNpdJe6VLidWiTlWprzlUoNnU=; b=KwbcQ1aqLw04vf1PHiEvSfK3XMX4mbGAENfgV4pmINTMU8vamyHQmT7m w/FSpuH6CbtNxingUkIPSfYLCzPOGmji4le9Cz42ri9haYf3tisURZjwJ wqfUmkPJmArZgAgZeAiSyLVB+BtWTGvENyZ8gUlFq2VecejBLlX1K8N6M 6MOPo0o3xuVMV39gmxlelulGZKxT8inJ5UxSBB7tZT1ah4eJ7KiqNaYny hZfPsJLaFC82kg2Aj4qXIRjIUQxnPagW1eIW4/l2m8euaBZ2UI+uBwBPq gG83s3qAGPchEOOHdrOYaSouGbSHHOI0zWl4FtvktkdL/v0nWxr3DLEgZ w==; 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" 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" 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: [PATCH] IntelFsp2Pkg: Fix FspSecCoreI build failure. Date: Wed, 7 Sep 2022 12:43:10 -0700 Message-Id: <20220907194310.1647-1-chasel.chiu@intel.com> X-Mailer: git-send-email 2.35.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 --- 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):=0D jmp $=0D =0D +;-------------------------------------------------------------------------= ---=0D +; TempRamInit API=0D +;=0D +; Empty function for WHOLEARCHIVE build option=0D +;=0D +;-------------------------------------------------------------------------= ---=0D +global ASM_PFX(TempRamInitApi)=0D +ASM_PFX(TempRamInitApi):=0D + jmp $=0D + ret=0D +=0D ;-------------------------------------------------------------------------= ---=0D ; FspSmmInit API=0D ;=0D 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):=0D jmp $=0D =0D +;-------------------------------------------------------------------------= ---=0D +; TempRamInit API=0D +;=0D +; Empty function for WHOLEARCHIVE build option=0D +;=0D +;-------------------------------------------------------------------------= ---=0D +global ASM_PFX(TempRamInitApi)=0D +ASM_PFX(TempRamInitApi):=0D + jmp $=0D + ret=0D +=0D ;-------------------------------------------------------------------------= ---=0D ; FspSmmInit API=0D ;=0D --=20 2.35.0.windows.1