From nobody Thu Apr 25 13:03: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+73257+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+73257+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1616651037; cv=none; d=zohomail.com; s=zohoarc; b=e9yh66uhy9u9j7Xv8XVwZOd36czMicWwwaq/dIYEReedRF63S913WgEo1DDuQ7IdvrR6d/vfdPX9b/eoIpzoYNa8xvgjUwBEqSHN1aHVlAubGdTjbBqfJOc1dbfwVgc0WAbKwRdoKPrLXo6DLCMByTFTRnwWgJmMxW43VRHrMSA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616651037; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=FMVsCRSAQwl2MLoYxpIocueiGCmGatKsj6SpA20U+iw=; b=kFGVzi8E8lSABKFAQ9CV1Bxny4lSU5u84soqL05I0HbLUoxdSppcLtX4jby27Q7bWa52pfOswcMHPz+VRalut66hu1Dw6+vXxEFW+VKGt1wm9zzuvuT4UEZVjaZEqtY4odpZZkfQ5wxmxaOIVbVNHZ3nOG60fVyVJ00sX/P5Q5Q= 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+73257+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 1616651036799888.5173234284612; Wed, 24 Mar 2021 22:43:56 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id P6eFYY1788612xPIvggYxwQm; Wed, 24 Mar 2021 22:43:55 -0700 X-Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web10.4084.1616651034777304406 for ; Wed, 24 Mar 2021 22:43:54 -0700 X-Received: from pps.filterd (m0148664.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 12P5cdIR012401; Thu, 25 Mar 2021 05:43:47 GMT X-Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) by mx0b-002e3701.pphosted.com with ESMTP id 37ggq3hb76-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Mar 2021 05:43:47 +0000 X-Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g4t3426.houston.hpe.com (Postfix) with ESMTP id 896D64F; Thu, 25 Mar 2021 05:43:46 +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 273294A; Thu, 25 Mar 2021 05:43:44 +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] [PATCH v4 1/2] MdePkg/Include: EFI Redfish Discover protocol Date: Thu, 25 Mar 2021 12:52:35 +0800 Message-Id: <20210325045236.344-2-abner.chang@hpe.com> In-Reply-To: <20210325045236.344-1-abner.chang@hpe.com> References: <20210325045236.344-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: fr60iSbHWJDcJfYD9UV5UfnUx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616651035; bh=rSP3B28XVHg9fr1bV9tKJ1IZKxOZHZPPu7bsoWiQyQo=; h=Cc:Date:From:Reply-To:Subject:To; b=wOiSno8KB4zPqpNOJlgtP1ruy29nweujJwR3jKSEIGFMuQW3Bxf9/JchJTgULTQ413J WEJnob3lbmKbIz1zXG7W8IR1uf37Leg4jKhm4rHGVeVaZoVQS/1PZuX3x0FiKh9bg5UW8 tpEoy4C+T3Y8lOyxIP4UWDBkb44HXCJn4Ac= 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 Reviewed-by: Liming Gao --- MdePkg/MdePkg.dec | 5 +- RedfishPkg/RedfishPkg.dec | 3 - .../Include/Protocol/RedfishDiscover.h | 72 +++++++++---------- 3 files changed, 37 insertions(+), 43 deletions(-) rename {RedfishPkg =3D> MdePkg}/Include/Protocol/RedfishDiscover.h (79%) diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index 1d2637acc2..e667d44db5 100644 --- a/MdePkg/MdePkg.dec +++ b/MdePkg/MdePkg.dec @@ -6,7 +6,7 @@ # # Copyright (c) 2007 - 2020, Intel Corporation. All rights reserved.
# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
-# (C) Copyright 2016 - 2020 Hewlett Packard Enterprise Development LP
+# (C) Copyright 2016 - 2021 Hewlett Packard Enterprise Development LP
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -1863,6 +1863,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 b3e25268a0..846c19fd5e 100644 --- a/RedfishPkg/RedfishPkg.dec +++ b/RedfishPkg/RedfishPkg.dec @@ -67,9 +67,6 @@ RedfishLib|PrivateInclude/Library/RedfishLib.h =20 [Protocols] - ## Include/Protocol/RedfishDiscover.h - gEfiRedfishDiscoverProtocolGuid =3D { 0x5db12509, 0x4550, 0x4347, {= 0x96, 0xb3, 0x73, 0xc0, 0xff, 0x6e, 0x86, 0x9f }} - ## Include/Protocol/EdkIIRedfishCredential.h gEdkIIRedfishCredentialProtocolGuid =3D { 0x8804377, 0xaf7a, 0x4496, { 0= x8a, 0x7b, 0x17, 0x59, 0x0, 0xe9, 0xab, 0x46 } } =20 diff --git a/RedfishPkg/Include/Protocol/RedfishDiscover.h b/MdePkg/Include= /Protocol/RedfishDiscover.h similarity index 79% rename from RedfishPkg/Include/Protocol/RedfishDiscover.h rename to MdePkg/Include/Protocol/RedfishDiscover.h index 4c91605c4e..8dbb70b082 100644 --- a/RedfishPkg/Include/Protocol/RedfishDiscover.h +++ b/MdePkg/Include/Protocol/RedfishDiscover.h @@ -1,20 +1,19 @@ /** @file This file defines the EFI Redfish Discover Protocol interface. =20 - (C) Copyright 2020 Hewlett Packard Enterprise Development LP
+ (C) Copyright 2021 Hewlett Packard Enterprise Development LP
=20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 + @par Revision Reference: + - Some corrections and revises are added to UEFI Specification 2.9. + - This Protocol is introduced in UEFI Specification 2.8. + **/ =20 #ifndef EFI_REDFISH_DISCOVER_PROTOCOL_H_ #define EFI_REDFISH_DISCOVER_PROTOCOL_H_ =20 -#include -#include -#include -#include - // // GUID definitions // @@ -40,24 +39,21 @@ typedef UINT32 EFI_REDFISH_DISCOVER_FLAG; ///< 3 to 15. The c= orresponding duration is 8 to 2^15 seconds. ///< Duration is on= ly valid when EFI_REDFISH_DISCOVER_KEEP_ALIVE ///< is set to 1. -#define EFI_REDFISH_DISCOVER_DURATION_BIT_POS 8 - typedef struct _EFI_REDFISH_DISCOVER_PROTOCOL EFI_REDFISH_DISCOVER_PROTOCO= L; -typedef struct _EFI_REDFISH_DISCOVERED_INFORMATION EFI_REDFISH_DISCOVERED_= INFORMATION; - -typedef struct _EFI_REDFISH_DISCOVERED_INFORMATION { - EFI_HANDLE RedfishRestExHandle; ///< REST EX EFI handle associ= ated with this Redfish service. - BOOLEAN IsUdp6; ///< Indicates it's IP versino= 6. - EFI_IP_ADDRESS RedfishHostIpAddress; ///< IP address of Redfish ser= vice. - UINTN RedfishVersion; ///< Redfish service version. - CHAR16 *Location; ///< Redfish service location. - CHAR16 *Uuid; ///< Redfish service UUID. - CHAR16 *Os; ///< Redfish service OS. - CHAR16 *OSVersion; ///< Redfish service OS versio= n. - CHAR16 *Product; ///< Redfish service product n= ame. - CHAR16 *ProductVer; ///< Redfish service product v= ersion. - BOOLEAN UseHttps; ///< Using HTTPS. -}; + +typedef struct { + EFI_HANDLE RedfishRestExHandle; ///< REST EX EFI handle associ= ated with this Redfish service. + BOOLEAN IsUdp6; ///< Indicates it's IP versino= 6. + EFI_IP_ADDRESS RedfishHostIpAddress; ///< IP address of Redfish ser= vice. + UINTN RedfishVersion; ///< Redfish service version. + CHAR16 *Location; ///< Redfish service location. + CHAR16 *Uuid; ///< Redfish service UUID. + CHAR16 *Os; ///< Redfish service OS. + CHAR16 *OsVersion; ///< Redfish service OS versio= n. + CHAR16 *Product; ///< Redfish service product n= ame. + CHAR16 *ProductVer; ///< Redfish service product v= ersion. + BOOLEAN UseHttps; ///< Using HTTPS. +} EFI_REDFISH_DISCOVERED_INFORMATION; =20 typedef struct { EFI_STATUS Status; ///< Status of Redfish= service discovery. @@ -75,7 +71,7 @@ typedef struct { EFI_IP_ADDRESS SubnetId; ///< Subnet ID. UINT8 SubnetPrefixLength; ///< Subnet prefix-lengt= h for IPv4 and IPv6. UINT16 VlanId; ///< VLAN ID. -} EFI_REDFISH_DISCOVER_NETWORK_INSTANCE; +} EFI_REDFISH_DISCOVER_NETWORK_INTERFACE; =20 typedef struct { UINT32 Signature; ///< Token signature. @@ -112,10 +108,10 @@ typedef struct { typedef EFI_STATUS (EFIAPI *EFI_REDFISH_DISCOVER_NETWORK_LIST)( - IN EFI_REDFISH_DISCOVER_PROTOCOL *This, - IN EFI_HANDLE ImageHandle, - OUT UINTN *NumberOfNetworkInterfaces, - OUT EFI_REDFISH_DISCOVER_NETWORK_INSTANCE **NetworkInterfaces + IN EFI_REDFISH_DISCOVER_PROTOCOL *This, + IN EFI_HANDLE ImageHandle, + OUT UINTN *NumberOfNetworkInterfaces, + OUT EFI_REDFISH_DISCOVER_NETWORK_INTERFACE **NetworkInterfaces ); =20 /** @@ -147,7 +143,7 @@ EFI_STATUS (EFIAPI *EFI_REDFISH_DISCOVER_ACQUIRE_SERVICE)( IN EFI_REDFISH_DISCOVER_PROTOCOL *This, IN EFI_HANDLE ImageHandle, - IN EFI_REDFISH_DISCOVER_NETWORK_INSTANCE *TargetNetworkInterface, + IN EFI_REDFISH_DISCOVER_NETWORK_INTERFACE *TargetNetworkInterface OPTION= AL, IN EFI_REDFISH_DISCOVER_FLAG Flags, IN EFI_REDFISH_DISCOVERED_TOKEN *Token ); @@ -155,8 +151,8 @@ EFI_STATUS /** This function aborts Redfish service discovery on the given network inte= rface. =20 - @param[in] This EFI_REDFISH_DISCOVER_PROTOCOL instance. - @param[in] TargetNetworkInterface Target NIC to do the discovery. + @param[in] This EFI_REDFISH_DISCOVER_PROTOCOL inst= ance. + @param[in] TargetNetworkInterface Target NIC to do the discovery. =20 @retval EFI_SUCCESS REST EX instance of discovered Redfish s= ervices are returned. @retval Others Fail to abort Redfish service discovery. @@ -165,15 +161,15 @@ EFI_STATUS typedef EFI_STATUS (EFIAPI *EFI_REDFISH_DISCOVER_ABORT_ACQUIRE)( - IN EFI_REDFISH_DISCOVER_PROTOCOL *This, - IN EFI_REDFISH_DISCOVER_NETWORK_INSTANCE *TargetNetworkInterface OPTION= AL + IN EFI_REDFISH_DISCOVER_PROTOCOL *This, + IN EFI_REDFISH_DISCOVER_NETWORK_INTERFACE *TargetNetworkInterface OPTION= AL ); =20 /** This function releases Redfish services found by RedfishServiceAcquire(). =20 @param[in] This EFI_REDFISH_DISCOVER_PROTOCOL instance. - @param[in] InstanceList The Redfish service to release. + @param[in] List The Redfish service to release. =20 @retval EFI_SUCCESS REST EX instances of discovered Redfish are r= eleased. @retval Others Fail to remove the entry @@ -183,17 +179,15 @@ typedef EFI_STATUS (EFIAPI *EFI_REDFISH_DISCOVER_RELEASE_SERVICE)( IN EFI_REDFISH_DISCOVER_PROTOCOL *This, - IN EFI_REDFISH_DISCOVERED_LIST *InstanceList + IN EFI_REDFISH_DISCOVERED_LIST *List ); =20 -typedef struct _EFI_REDFISH_DISCOVER_PROTOCOL { +struct _EFI_REDFISH_DISCOVER_PROTOCOL { EFI_REDFISH_DISCOVER_NETWORK_LIST GetNetworkInterfaceList; EFI_REDFISH_DISCOVER_ACQUIRE_SERVICE AcquireRedfishService; EFI_REDFISH_DISCOVER_ABORT_ACQUIRE AbortAcquireRedfishService; EFI_REDFISH_DISCOVER_RELEASE_SERVICE ReleaseRedfishService; -} EFI_REDFISH_DISCOVER_PROTOCOL; +}; =20 -extern EFI_GUID gEfiRestExProtocolGuid; -extern EFI_GUID gEfiRestExServiceBindingProtocolGuid; extern EFI_GUID gEfiRedfishDiscoverProtocolGuid; #endif --=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 (#73257): https://edk2.groups.io/g/devel/message/73257 Mute This Topic: https://groups.io/mt/81595967/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 Thu Apr 25 13:03: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+73256+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+73256+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1616651037; cv=none; d=zohomail.com; s=zohoarc; b=CWl+gyT4SJl6bKe8Cjy9uU3/KEBngoEG2wiomAwkvbcFgt9JFOvR1S+p2wOcKXVhtjMK5NwlOh1Ba4c4DfgREa9IAKTtzyIX4Wit+cr/4E+3hgzlLbm3rRTE1c3SQkdfTk2p+dbIQ0jMRtCfEQ5KNk4f+uPhHLxyZbFF+5OBwyQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616651037; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=hafG6b68IzIkdJQLdj09zcux94b5sVe1PTEB0izBvyA=; b=hh54IympXz9nEkS5SwUKOcyZf1wyle0ofMlffX6FzDz/TqlYWlAboGTE82roFXOVwzICGaLi7Rwj5iM4CYWmBvA/jVNyM679c3brpBxgOSzhx6Vi9kBc6aDtipQVJ/VKMnKFQnF/HncXH4thYH3+n0UBWD8q9Tb1CLOUmM6fe3U= 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+73256+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 1616651037520860.6042493478469; Wed, 24 Mar 2021 22:43:57 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id DOXXYY1788612xEApptav04f; Wed, 24 Mar 2021 22:43:57 -0700 X-Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web09.4223.1616651030198332547 for ; Wed, 24 Mar 2021 22:43:50 -0700 X-Received: from pps.filterd (m0134420.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 12P5h1Il016346; Thu, 25 Mar 2021 05:43:48 GMT X-Received: from g4t3427.houston.hpe.com (g4t3427.houston.hpe.com [15.241.140.73]) by mx0b-002e3701.pphosted.com with ESMTP id 37g93tvnc0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Mar 2021 05:43:48 +0000 X-Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g4t3427.houston.hpe.com (Postfix) with ESMTP id 1A81657; Thu, 25 Mar 2021 05:43:48 +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 D84B248; Thu, 25 Mar 2021 05:43:46 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Ray Ni , Zhichao Gao , Nickle Wang , Peter O'Hanley Subject: [edk2-devel] [PATCH v4 2/2] ShellPkg/UefiHandleParsingLib: Support EFI Redfish protocols Date: Thu, 25 Mar 2021 12:52:36 +0800 Message-Id: <20210325045236.344-3-abner.chang@hpe.com> In-Reply-To: <20210325045236.344-1-abner.chang@hpe.com> References: <20210325045236.344-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: CQDoPb3L1pVj5KPoxZzLEz6ox1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616651037; bh=jGJbyfVgbPIjBSBSMoW7E+at6FPswW8b5kEyl3yF/7Q=; h=Cc:Date:From:Reply-To:Subject:To; b=Y65t62JEXEPBkkheNbjNpPETXqvlaYzJONvNgBD5kQbb/gKnFcEt2FMR9mkRKF/GJHW WGZQA3zxJJt+SioZKOXXNT5st9bgdRTVQnhX/yVIGxFtVd9YM2/3/GoxMMRSKYe+8N8rO 2SqKF6hYimJfnFc2bB9kimsHTKcIyh5W404= 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 Reviewed-by: Zhichao Gao Reviewed-by: Liming Gao --- .../Library/UefiHandleParsingLib/UefiHandleParsingLib.inf | 4 +++- .../Library/UefiHandleParsingLib/UefiHandleParsingLib.c | 8 +++++++- .../Library/UefiHandleParsingLib/UefiHandleParsingLib.uni | 4 +++- 3 files changed, 13 insertions(+), 3 deletions(-) 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.c b= /ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c index 500a95a89a..e34cefd7b4 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 **/ @@ -2250,6 +2250,12 @@ STATIC CONST GUID_INFO_BLOCK mGuidStringList[] =3D { {STRING_TOKEN(STR_PARTITION_INFO), &gEfiPartitionInfoProtocolGuid= , PartitionInfoProtocolDumpInformation}, {STRING_TOKEN(STR_HII_POPUP), &gEfiHiiPopupProtocolGuid, = NULL}, =20 +// +// UEFI 2.8 +// + {STRING_TOKEN(STR_REST_EX), &gEfiRestExProtocolGuid, = NULL}, + {STRING_TOKEN(STR_REDFISH_DISCOVER), &gEfiRedfishDiscoverProtocolGu= id, NULL}, + // // PI Spec ones // 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 (#73256): https://edk2.groups.io/g/devel/message/73256 Mute This Topic: https://groups.io/mt/81595966/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-