From nobody Fri May 17 05:50:07 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+86634+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+86634+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1644769626830631.7766961011769; Sun, 13 Feb 2022 08:27:06 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id AFs3YY1788612xLQ1VoEXxQ8; Sun, 13 Feb 2022 08:27:07 -0800 X-Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web09.22989.1644769625909834058 for ; Sun, 13 Feb 2022 08:27:06 -0800 X-IronPort-AV: E=McAfee;i="6200,9189,10256"; a="310697280" X-IronPort-AV: E=Sophos;i="5.88,365,1635231600"; d="scan'208";a="310697280" X-Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Feb 2022 08:27:05 -0800 X-IronPort-AV: E=Sophos;i="5.88,365,1635231600"; d="scan'208";a="634636941" X-Received: from basfe004.gar.corp.intel.com ([10.66.129.57]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Feb 2022 08:27:02 -0800 From: "Ashraf Ali S" To: devel@edk2.groups.io Cc: Ashraf Ali S , Chasel Chiu , Nate DeSimone , Star Zeng , Kuo Ted , Duggapu Chinni B , Rangasai V Chaganty , Digant H Solanki , Sangeetha V Subject: [edk2-devel] [PATCH] IntelFsp2Pkg: BaseFspDebugLibSerialPort Support for X64 Build Date: Sun, 13 Feb 2022 21:56:49 +0530 Message-Id: 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,ashraf.ali.s@intel.com X-Gm-Message-State: 659FeE7sSUpOfDDarV37T9o7x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1644769627; bh=M6GcAqnArbcKRzKM0VBhSmHKfYGWbMvNG1RUxixpsxM=; h=Cc:Date:From:Reply-To:Subject:To; b=Miuh42JBR6TAJ/4bBxAUBOCdc3wr9FmFVhhoSHGq6lvfHLNCkzgO0uVihWbh42UYwPh WYTjsR2+g5gsAyccuTnmv6G8XePHlclXMktFI/BvN26to6dqh3mZrqlqtkL40SMFEqLgE zX2ZqtzjJwusfYLM9plInMqEOsdFgKoQWK8= X-ZohoMail-DKIM: fail (Signature date is -1 seconds in the future.) X-ZM-MESSAGEID: 1644769629042100001 Content-Type: text/plain; charset="utf-8" REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3833 Move FspDebug to the root of BaseFspDebugLibSerialPort since the current nasm support for both IA32 and X64 Build, remove IA32 from INF file. Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Cc: Kuo Ted Cc: Duggapu Chinni B Cc: Rangasai V Chaganty Cc: Digant H Solanki Cc: Sangeetha V Signed-off-by: Ashraf Ali S --- .../BaseFspDebugLibSerialPort.inf | 8 ++- .../{Ia32 =3D> }/FspDebug.nasm | 50 +++++++++---------- 2 files changed, 28 insertions(+), 30 deletions(-) rename IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/{Ia32 =3D> }/FspDebu= g.nasm (86%) diff --git a/IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/BaseFspDebugLib= SerialPort.inf b/IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/BaseFspDebu= gLibSerialPort.inf index 14b1899e6c..0024edf2dc 100644 --- a/IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/BaseFspDebugLibSerialP= ort.inf +++ b/IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/BaseFspDebugLibSerialP= ort.inf @@ -1,7 +1,7 @@ ## @file # Instance of BaseFspDebugLib # -# Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.
+# Copyright (c) 2014 - 2022, Intel Corporation. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -16,14 +16,12 @@ LIBRARY_CLASS =3D DebugLib =20 # -# VALID_ARCHITECTURES =3D IA32 +# VALID_ARCHITECTURES =3D IA32 X64 # =20 [Sources] DebugLib.c - -[Sources.Ia32] - Ia32/FspDebug.nasm + FspDebug.nasm =20 [Packages] MdePkg/MdePkg.dec diff --git a/IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/Ia32/FspDebug.n= asm b/IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/FspDebug.nasm similarity index 86% rename from IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/Ia32/FspDebug.na= sm rename to IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/FspDebug.nasm index 997e375c8c..ffacaa239d 100644 --- a/IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/Ia32/FspDebug.nasm +++ b/IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/FspDebug.nasm @@ -1,25 +1,25 @@ -;-------------------------------------------------------------------------= ----- -; -; Copyright (c) 2016, Intel Corporation. All rights reserved.
-; SPDX-License-Identifier: BSD-2-Clause-Patent -; -; Abstract: -; -; FSP Debug functions -; -;-------------------------------------------------------------------------= ----- - - SECTION .text - -;-------------------------------------------------------------------------= ----- -; UINT32 * -; EFIAPI -; GetStackFramePointer ( -; VOID -; ); -;-------------------------------------------------------------------------= ----- -global ASM_PFX(GetStackFramePointer) -ASM_PFX(GetStackFramePointer): - mov eax, ebp - ret - +;-------------------------------------------------------------------------= ----- +; +; Copyright (c) 2016 - 2022, Intel Corporation. All rights reserved.
+; SPDX-License-Identifier: BSD-2-Clause-Patent +; +; Abstract: +; +; FSP Debug functions +; +;-------------------------------------------------------------------------= ----- + + SECTION .text + +;-------------------------------------------------------------------------= ----- +; UINT32 * +; EFIAPI +; GetStackFramePointer ( +; VOID +; ); +;-------------------------------------------------------------------------= ----- +global ASM_PFX(GetStackFramePointer) +ASM_PFX(GetStackFramePointer): + mov eax, ebp + ret + --=20 2.30.2.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 (#86634): https://edk2.groups.io/g/devel/message/86634 Mute This Topic: https://groups.io/mt/89116030/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-