From nobody Sat May 18 11:26:02 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+91489+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+91489+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1658182395; cv=none; d=zohomail.com; s=zohoarc; b=Vv+sVrCOy49TDUNHWIBivTAf0hhvbaRsdG0Ar3xkevDy8viLXRz2pqwHaBC6bgNwOZmDgJMcSynak6BHHYxNVWoAdUtLwnM9/3aSZWIlOnQGb3YqNhSZ6uloQTAJ2kbFu5MQXRc0behYpXlC2i3pQEKzsdIv8AYNX+TS8vsZNCU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1658182395; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=CHtdghLjpve9N9cFOJkk0/scBfRnBwAnMclmEVq6km8=; b=J3Ddj9bTKt7vKq5OAqa3JqQb72XUL1Rko+Q3Y3qohxExfqa3vPqWmUeM2maDXPlwJVKKCtHoJLAiSrd1OUaGHg//7A99+X2NNAmhfMGcqe/eVKZaVFa47yne81VidfchQxNzmKPOIanTmX35O/kMpLU21Vw4fdkw+9vLvzqcssU= 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+91489+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 1658182395657443.4070200889503; Mon, 18 Jul 2022 15:13:15 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id l1aaYY1788612xjjXQtfRWG7; Mon, 18 Jul 2022 15:13:15 -0700 X-Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web09.33708.1658182394386742860 for ; Mon, 18 Jul 2022 15:13:14 -0700 X-IronPort-AV: E=McAfee;i="6400,9594,10412"; a="312018774" X-IronPort-AV: E=Sophos;i="5.92,282,1650956400"; d="scan'208";a="312018774" X-Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jul 2022 15:13:14 -0700 X-IronPort-AV: E=Sophos;i="5.92,282,1650956400"; d="scan'208";a="665177271" X-Received: from cchiu4-mobl.gar.corp.intel.com ([10.209.6.246]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jul 2022 15:13:14 -0700 From: "Chiu, Chasel" To: devel@edk2.groups.io Cc: Chasel Chiu , Nate DeSimone , Isaac Oram , Liming Gao , Eric Dong Subject: [edk2-devel] [PATCH 1/2] MinPlatformPkg/FspWrapper: FspResetType support for X64 build. Date: Mon, 18 Jul 2022 15:12:56 -0700 Message-Id: <20220718221257.1318-2-chasel.chiu@intel.com> In-Reply-To: <20220718221257.1318-1-chasel.chiu@intel.com> References: <20220718221257.1318-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: hcYu6jlHOyII1v1U70C8YHekx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1658182395; bh=mR4cGPI+jYa6H/saM94T695UCRVMlTPK+/K1NUNLJ18=; h=Cc:Date:From:Reply-To:Subject:To; b=g2ERM0dMawSFCV+Yvp8EAevj+xhlZH9BHpa0IDipW/Mkuwfjn8d9d+ogbTq7lbTk1y/ 1IdOoTAsz6dKEoMZbu18tQPLDgNckMlQdC/Y3wsHrX9WI5QvCFQq+rOkIQjQV83LKZNPL 9HaFMEYa4R/a3ooKb7G9vtzDGUfXvgrN13g= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1658182396275100002 Content-Type: text/plain; charset="utf-8" FSP_STATUS_RESET_REQUIRED_* will be either 32bit or 64bit basing on the build and this patch extended the support for 64bit build. Cc: Nate DeSimone Cc: Isaac Oram Cc: Liming Gao Cc: Eric Dong Signed-off-by: Chasel Chiu --- Platform/Intel/MinPlatformPkg/FspWrapper/Library/DxeFspWrapperPlatformLib/= DxeFspWrapperPlatformResetLib.c | 4 ++-- Platform/Intel/MinPlatformPkg/FspWrapper/Library/PeiFspWrapperPlatformLib/= PeiFspWrapperPlatformResetLib.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Platform/Intel/MinPlatformPkg/FspWrapper/Library/DxeFspWrapper= PlatformLib/DxeFspWrapperPlatformResetLib.c b/Platform/Intel/MinPlatformPkg= /FspWrapper/Library/DxeFspWrapperPlatformLib/DxeFspWrapperPlatformResetLib.c index b4d509db85..e5e09eb762 100644 --- a/Platform/Intel/MinPlatformPkg/FspWrapper/Library/DxeFspWrapperPlatfor= mLib/DxeFspWrapperPlatformResetLib.c +++ b/Platform/Intel/MinPlatformPkg/FspWrapper/Library/DxeFspWrapperPlatfor= mLib/DxeFspWrapperPlatformResetLib.c @@ -1,7 +1,7 @@ /** @file Dxe library function to reset the system from FSP wrapper. =20 -Copyright (c) 2017, Intel Corporation. All rights reserved.
+Copyright (c) 2017 - 2022, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -22,7 +22,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent VOID EFIAPI CallFspWrapperResetSystem ( - UINT32 ResetType + UINTN ResetType ) { EFI_RESET_TYPE EfiResetType; diff --git a/Platform/Intel/MinPlatformPkg/FspWrapper/Library/PeiFspWrapper= PlatformLib/PeiFspWrapperPlatformResetLib.c b/Platform/Intel/MinPlatformPkg= /FspWrapper/Library/PeiFspWrapperPlatformLib/PeiFspWrapperPlatformResetLib.c index 191bcb2fbb..75fd5a6ea2 100644 --- a/Platform/Intel/MinPlatformPkg/FspWrapper/Library/PeiFspWrapperPlatfor= mLib/PeiFspWrapperPlatformResetLib.c +++ b/Platform/Intel/MinPlatformPkg/FspWrapper/Library/PeiFspWrapperPlatfor= mLib/PeiFspWrapperPlatformResetLib.c @@ -1,7 +1,7 @@ /** @file Pei library function to reset the system from FSP wrapper. =20 -Copyright (c) 2017, Intel Corporation. All rights reserved.
+Copyright (c) 2017 - 2022, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -21,7 +21,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent VOID EFIAPI CallFspWrapperResetSystem ( - UINT32 ResetType + UINTN ResetType ) { EFI_RESET_TYPE EfiResetType; --=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 (#91489): https://edk2.groups.io/g/devel/message/91489 Mute This Topic: https://groups.io/mt/92470480/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- From nobody Sat May 18 11:26:02 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+91490+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+91490+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1658182396; cv=none; d=zohomail.com; s=zohoarc; b=T0RKRbShDR45c7goAkeWeqPDXx9gGHMmQCgtzSsVOkEfYgQN6FJYzu4++HUGcSkNF4HYJq65VgJvahpLA1AW5EwXqWMPgaPlVFsVRfvUAKBnue3Gf8MASG9YWmhXuRzQgPd2MiSeyWtEw1sbCaulznCXVGbNt/dt8ZjI8xd6mmE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1658182396; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=bwBcG2+BJRBaKOL0vFyJrUpzt971HTML4S6C9M3tRNk=; b=fNNTT+LU8Vah26djAx2Nkwb1wXaR2TqQyrUAEEqmcV51XacPLg/Z1OZO6FY9h8gRLx1GprIlv4b4kVw1Vse/VgF5RoPIhmfXkH2coLaik3EEf2XftDhozN31r0p8pe8phhRQdCS+XLX14tIyi8V/lzrsBXceRHr/IdTSR9HxMcU= 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+91490+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 1658182396120668.5273765774728; Mon, 18 Jul 2022 15:13:16 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id UBciYY1788612xJT0DClCGIJ; Mon, 18 Jul 2022 15:13:15 -0700 X-Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web09.33708.1658182394386742860 for ; Mon, 18 Jul 2022 15:13:15 -0700 X-IronPort-AV: E=McAfee;i="6400,9594,10412"; a="312018775" X-IronPort-AV: E=Sophos;i="5.92,282,1650956400"; d="scan'208";a="312018775" X-Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jul 2022 15:13:14 -0700 X-IronPort-AV: E=Sophos;i="5.92,282,1650956400"; d="scan'208";a="665177275" X-Received: from cchiu4-mobl.gar.corp.intel.com ([10.209.6.246]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jul 2022 15:13:14 -0700 From: "Chiu, Chasel" To: devel@edk2.groups.io Cc: Chasel Chiu , Isaac Oram , Nate DeSimone Subject: [edk2-devel] [PATCH 2/2] WhitleySiliconPkg: FspResetType support for X64 build. Date: Mon, 18 Jul 2022 15:12:57 -0700 Message-Id: <20220718221257.1318-3-chasel.chiu@intel.com> In-Reply-To: <20220718221257.1318-1-chasel.chiu@intel.com> References: <20220718221257.1318-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: diHWCaUXRDcK8cTH1JzNDU00x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1658182395; bh=Tq0IGN45Y7YegCq/So3fejNjU/PfzUnqbYr+QOT2MAA=; h=Cc:Date:From:Reply-To:Subject:To; b=T3DgMmzc07DQOmmryDs1t6/RAiv22mVyfQynFat+bj18yjUw7FFn3S4rQqfWC+dk3JZ 6gw0lgvFx71hP/PSuej5H9HPmSg9HP4657VeJncixCivpB+6NfSS98xkF/PmjxMkoENLN RKESlWp9nqkn2a7DDRB8zaHlYl/AOG/XFV8= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1658182398095100009 Content-Type: text/plain; charset="utf-8" FSP_STATUS_RESET_REQUIRED_* will be either 32bit or 64bit basing on the build and this patch extended the support for 64bit build. Cc: Isaac Oram Cc: Nate DeSimone Signed-off-by: Chasel Chiu --- Silicon/Intel/WhitleySiliconPkg/Library/FspWrapperPlatformLib/FspWrapperPl= atformLib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Silicon/Intel/WhitleySiliconPkg/Library/FspWrapperPlatformLib/= FspWrapperPlatformLib.c b/Silicon/Intel/WhitleySiliconPkg/Library/FspWrappe= rPlatformLib/FspWrapperPlatformLib.c index 95a1f2a33c..94b98ef2df 100644 --- a/Silicon/Intel/WhitleySiliconPkg/Library/FspWrapperPlatformLib/FspWrap= perPlatformLib.c +++ b/Silicon/Intel/WhitleySiliconPkg/Library/FspWrapperPlatformLib/FspWrap= perPlatformLib.c @@ -2,7 +2,7 @@ Sample to provide FSP wrapper related function. =20 @copyright - Copyright 2014 - 2021 Intel Corporation.
+ Copyright 2014 - 2022 Intel Corporation.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent **/ @@ -190,7 +190,7 @@ GetS3MemoryInfo ( VOID EFIAPI CallFspWrapperResetSystem ( - IN UINT32 FspStatusResetType + IN UINTN FspStatusResetType ) { // --=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 (#91490): https://edk2.groups.io/g/devel/message/91490 Mute This Topic: https://groups.io/mt/92470481/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-