From nobody Sun May 12 09:58:41 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+66912+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+66912+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1604381712; cv=none; d=zohomail.com; s=zohoarc; b=NKNtnKof7x8hlrehy4NoUcqC2hPPG26gSwJCHAdGr3VXhyZ6/mEEoB9dJ9uh1G5q1m/MprmjWR0MiRXaaiKuoJ1BhNA/SYN4LtVlEaDl8TCHgBFWvB/Jd4yjYWFdCX6JWzuC/N41SUSvdmzsqhskvTFrBhkDolHIr6oo0m9Hca0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1604381712; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=WWBOSgpu6rXNjoe0TJ0qkaUiKFYefCw4Q6CEZRbq1+k=; b=VipayjNgH1mfcxzyx3q23JyqHrO4wHx3ZmCbuWNHge7hwsadMnGxaXi9YUf6e/7snGXUesnYgfLQQsdqe/lFh6t3AY9oj+whuixdVD3LXivmjus5/foa6Ka9BkN2phxL4FyPdEIsf3Ij1p1xylS5DyTzlk/YWlHp3NgPM0ZiLGk= 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+66912+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1604381712594350.3444874963533; Mon, 2 Nov 2020 21:35:12 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id oGBZYY1788612xW1it1RLnyC; Mon, 02 Nov 2020 21:35:12 -0800 X-Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web11.193.1604381711682259291 for ; Mon, 02 Nov 2020 21:35:11 -0800 X-Received: from pps.filterd (m0134423.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0A35XfG7010654; Tue, 3 Nov 2020 05:34:53 GMT X-Received: from g9t5008.houston.hpe.com (g9t5008.houston.hpe.com [15.241.48.72]) by mx0b-002e3701.pphosted.com with ESMTP id 34h05hcwet-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 03 Nov 2020 05:34:53 +0000 X-Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g9t5008.houston.hpe.com (Postfix) with ESMTP id BDB1956; Tue, 3 Nov 2020 05:34:52 +0000 (UTC) X-Received: from abner-virtual-machine.asiapacific.hpqcorp.net (abner-virtual-machine.asiapacific.hpqcorp.net [15.119.210.153]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id 5A8674A; Tue, 3 Nov 2020 05:34:51 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu , Nickle Wang , Peter O'Hanley Subject: [edk2-devel] [EFI Shell PATCH 1/2] MdePkg/Include: EFI Redfish Discover protocol Date: Tue, 3 Nov 2020 12:49:19 +0800 Message-Id: <20201103044920.13411-2-abner.chang@hpe.com> In-Reply-To: <20201103044920.13411-1-abner.chang@hpe.com> References: <20201103044920.13411-1-abner.chang@hpe.com> X-HPE-SCL: -1 Precedence: Bulk List-Unsubscribe: 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,abner.chang@hpe.com X-Gm-Message-State: eawJnp38WLMIB6OC9bcfP8W1x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1604381712; bh=fZT3hy5csUjzH0SrWl3YD+E/TBY8SM99NAnVomWx5Bg=; h=Cc:Date:From:Reply-To:Subject:To; b=cONZTZbQQ8HCdc3ZkltZ9W5yWyVr7fHM/6Ol9jjxZbAlxwDc97bCCvR+bmF0j7sffag s4m5DWQ0GURWuZnbpDGpGFHM2ofVRgeEd5cwdWeC785i4rEkmlUvI05vnq/0ssVAB/kwv C72N22YqAPi2/Qs5eDNbXck5eW58Umy6MGA= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Move GUID definition of EFI Redfish Discover protocol to under MdePkg. With this we don't have dependency of RedfishPkg in ShellPkg. Signed-off-by: Abner Chang Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Cc: Nickle Wang Cc: Peter O'Hanley --- {RedfishPkg =3D> MdePkg}/Include/Protocol/RedfishDiscover.h | 0 MdePkg/MdePkg.dec | 3 +++ RedfishPkg/RedfishPkg.dec | 4 ---- 3 files changed, 3 insertions(+), 4 deletions(-) rename {RedfishPkg =3D> MdePkg}/Include/Protocol/RedfishDiscover.h (100%) diff --git a/RedfishPkg/Include/Protocol/RedfishDiscover.h b/MdePkg/Include= /Protocol/RedfishDiscover.h similarity index 100% rename from RedfishPkg/Include/Protocol/RedfishDiscover.h rename to MdePkg/Include/Protocol/RedfishDiscover.h diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index 645f61b80e..839bcfe063 100644 --- a/MdePkg/MdePkg.dec +++ b/MdePkg/MdePkg.dec @@ -1858,6 +1858,9 @@ ## Include/Protocol/RestJsonStructure.h gEfiRestJsonStructureProtocolGuid =3D { 0xa9a048f6, 0x48a0, 0x4714, {0x= b7, 0xda, 0xa9, 0xad,0x87, 0xd4, 0xda, 0xc9 }} =20 + ## Include/Protocol/RedfishDiscover.h + gEfiRedfishDiscoverProtocolGuid =3D { 0x5db12509, 0x4550, 0x4347, {= 0x96, 0xb3, 0x73, 0xc0, 0xff, 0x6e, 0x86, 0x9f }} + # # Protocols defined in Shell2.0 # diff --git a/RedfishPkg/RedfishPkg.dec b/RedfishPkg/RedfishPkg.dec index f12f83526c..65e21f6bd6 100644 --- a/RedfishPkg/RedfishPkg.dec +++ b/RedfishPkg/RedfishPkg.dec @@ -21,10 +21,6 @@ # Platform implementation-specific Redfish Host Interface. RedfishPlatformHostInterfaceLib|Include/Library/RedfishHostInterfaceLib.h =20 -[Protocols] - ## Include/Protocol/RedfishDiscover.h - gEfiRedfishDiscoverProtocolGuid =3D { 0x5db12509, 0x4550, 0x4347, {= 0x96, 0xb3, 0x73, 0xc0, 0xff, 0x6e, 0x86, 0x9f }} - [Guids] gEfiRedfishPkgTokenSpaceGuid =3D { 0x4fdbccb7, 0xe829, 0x4b4c, { 0x= 88, 0x87, 0xb2, 0x3f, 0xd7, 0x25, 0x4b, 0x85 }} =20 --=20 2.17.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 (#66912): https://edk2.groups.io/g/devel/message/66912 Mute This Topic: https://groups.io/mt/78000763/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 Sun May 12 09:58:41 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+66910+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+66910+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1604381696; cv=none; d=zohomail.com; s=zohoarc; b=KiwJfaGN4l31qOz5JGXM1Y37DGU8Ig8Hw7VcQalGsENka6/gyfBJJdvOVDyi6TSnEeyYrZtdpyAIsL1k9/J/rWT0JVcUTT8tyx5QCrrsBLsXzDlynxjzv0b2pJrXYuKrsoJaWrrqCKmY4ITFAjU+nfgbLah/ZxUHtn/vXSG+4k8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1604381696; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=OCqiWvTMUOYeWjqdhVGqfJ/PUCS0vGKJxsViE8JiCuo=; b=a+O9yAcZnNMwzbNsis5EvgK78OMAVG0odIj5ToMfSWHgQXfRB3ujYha9rXMOuvOXtUfnBgLTE6X3iX+n2Kc+EOsGKKqnNP5DdZ6/G6DOJ7ZlZ+lxICbg7cvHXFJMpjrppa7Wi5dETyj8zpGqgfUBlvM2tcnxKEMd1Zf0CtGvSQU= 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+66910+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1604381696658889.9673214199062; Mon, 2 Nov 2020 21:34:56 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id OQvaYY1788612xZ8cxkCLg1a; Mon, 02 Nov 2020 21:34:56 -0800 X-Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web12.181.1604381695753493570 for ; Mon, 02 Nov 2020 21:34:55 -0800 X-Received: from pps.filterd (m0148664.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0A35VEtU024980; Tue, 3 Nov 2020 05:34:55 GMT X-Received: from g4t3425.houston.hpe.com (g4t3425.houston.hpe.com [15.241.140.78]) by mx0b-002e3701.pphosted.com with ESMTP id 34h069vkwt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 03 Nov 2020 05:34:54 +0000 X-Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g4t3425.houston.hpe.com (Postfix) with ESMTP id 5DF1B8D; Tue, 3 Nov 2020 05:34:54 +0000 (UTC) X-Received: from abner-virtual-machine.asiapacific.hpqcorp.net (abner-virtual-machine.asiapacific.hpqcorp.net [15.119.210.153]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id 19F4C48; Tue, 3 Nov 2020 05:34:52 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Ray Ni , Zhichao Gao , Nickle Wang , Peter O'Hanley Subject: [edk2-devel] [EFI Shell PATCH 2/2] ShellPkg/UefiHandleParsingLib: Support EFI Redfish protocols Date: Tue, 3 Nov 2020 12:49:20 +0800 Message-Id: <20201103044920.13411-3-abner.chang@hpe.com> In-Reply-To: <20201103044920.13411-1-abner.chang@hpe.com> References: <20201103044920.13411-1-abner.chang@hpe.com> X-HPE-SCL: -1 Precedence: Bulk List-Unsubscribe: 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,abner.chang@hpe.com X-Gm-Message-State: M4OPc9itjk18Qv6QHQQltBGVx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1604381696; bh=N19mFxoHIs+ftCH2jlx+uCQlxHT4jBPzR6btoeL7y6w=; h=Cc:Date:From:Reply-To:Subject:To; b=VKTtlgv7bO88Xdw68pAPMlPXP81p7fylPxkgPe2imw6AhosgkewmTBl4V+JtaGRWjlp T6bFmZCkeSUuKtRgpDpvPYZlUdCRqULBbSr15pFPJu6nTw5OjqSNOfPeVS156qY6ceYsb ieL6bsgTrAXeAZFhIlfhLeCh+jMT33gdH1Y= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add handle parsing for EFI Redfish Discover protocol. Add handle parsing for EFI RestEx protocol. Signed-off-by: Abner Chang Cc: Ray Ni Cc: Zhichao Gao Cc: Nickle Wang Cc: Peter O'Hanley --- .../Library/UefiHandleParsingLib/UefiHandleParsingLib.c | 8 ++++++-- .../Library/UefiHandleParsingLib/UefiHandleParsingLib.inf | 4 +++- .../Library/UefiHandleParsingLib/UefiHandleParsingLib.uni | 4 +++- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c b= /ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c index 500a95a89a..c00337d6b2 100644 --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c @@ -3,7 +3,7 @@ =20 Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.
(C) Copyright 2013-2015 Hewlett-Packard Development Company, L.P.
- (C) Copyright 2015-2016 Hewlett Packard Enterprise Development LP
+ (C) Copyright 2015-2020 Hewlett Packard Enterprise Development LP
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -2355,7 +2355,11 @@ STATIC CONST GUID_INFO_BLOCK mGuidStringList[] =3D { {STRING_TOKEN(STR_NET_HTTP), &gEfiHttpProtocolGuid, = NULL}, {STRING_TOKEN(STR_NET_HTTP_U), &gEfiHttpUtilitiesProtocolGuid= , NULL}, {STRING_TOKEN(STR_REST), &gEfiRestProtocolGuid, = NULL}, - +// +// UEFI 2.8 +// + {STRING_TOKEN(STR_REST_EX), &gEfiRestExProtocolGuid, = NULL}, + {STRING_TOKEN(STR_REDFISH_DISCOVER), &gEfiRedfishDiscoverProtocolGu= id, NULL}, // // PI 1.5 // diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf= b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf index 93b69cd8e9..446cd8d609 100644 --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf @@ -2,7 +2,7 @@ # Provides interface to advanced shell functionality for parsing both han= dle and protocol database. # Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.
# (C) Copyright 2013-2015 Hewlett-Packard Development Company, L.P.
-# (C) Copyright 2015 Hewlett Packard Enterprise Development LP
+# (C) Copyright 2015-2020 Hewlett Packard Enterprise Development LP
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -269,6 +269,8 @@ gEfiHttpProtocolGuid ## UNDEFINED gEfiHttpUtilitiesProtocolGuid ## UNDEFINED gEfiRestProtocolGuid ## UNDEFINED + gEfiRestExProtocolGuid ## UNDEFINED + gEfiRedfishDiscoverProtocolGuid ## UNDEFINED gEfiMmEndOfDxeProtocolGuid ## UNDEFINED gEfiMmIoTrapDispatchProtocolGuid ## UNDEFINED gEfiMmPowerButtonDispatchProtocolGuid ## UNDEFINED diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni= b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni index 9c8028d0d5..69fcbdfe0e 100644 --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni @@ -2,7 +2,7 @@ // // Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.
// (C) Copyright 2013-2015 Hewlett-Packard Development Company, L.P.
-// (C) Copyright 2015-2016 Hewlett Packard Enterprise Development LP
+// (C) Copyright 2015-2020 Hewlett Packard Enterprise Development LP
// SPDX-License-Identifier: BSD-2-Clause-Patent // // Module Name: @@ -308,6 +308,8 @@ #string STR_NET_HTTP #language en-US "Http" #string STR_NET_HTTP_U #language en-US "HttpUtilities" #string STR_REST #language en-US "Rest" +#string STR_REST_EX #language en-US "RestEx" +#string STR_REDFISH_DISCOVER #language en-US "RedfishDiscover" =20 #string STR_MM_EOD #language en-US "MmEndOfDxe" #string STR_MM_ITD #language en-US "MmIoTrapDispatch" --=20 2.17.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 (#66910): https://edk2.groups.io/g/devel/message/66910 Mute This Topic: https://groups.io/mt/78000758/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-