From nobody Thu Apr 25 14:12:43 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+73267+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+73267+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1616671929; cv=none; d=zohomail.com; s=zohoarc; b=dzqmfsEhhblA6IotC/v5VGzOZVYoVDw9UKGieA7MdrxVJSp6PyOeY1EBmCKCYtxyfXLqUN5GxMJcktfjY6FCLx1XNDmGsT0zD5EQHdzPGnVxWBK92gc0PSoMboEHaMJXaCqvcll6fxrHDTppNCmIKbH9Meu5MO3eBvXF2eDZ7HE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616671929; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=NmJ2Jd6892XBc7fD6p5Ov1ILMJV/m2QnwOu+syUqWOM=; b=U20531qV5IRLJ/Nqo9oZRc6V9NgZnfroVgXmh66VzQgbra2ApVU7lYgIDMTS4hjWHIZLBOjHGZU2ysWbVYThBGa3HJ7P3wB8uhCotMLhM7ZgmskRs1mM471yO5JnwWL7VUmlMXyWdvqDX4F4abuwZVIvz9hl6QDuTpxCtDf3O18= 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+73267+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 1616671929953514.6266780512199; Thu, 25 Mar 2021 04:32:09 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 1HPTYY1788612xcaKEse7Bjh; Thu, 25 Mar 2021 04:32:09 -0700 X-Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web12.6451.1616671923787413241 for ; Thu, 25 Mar 2021 04:32:04 -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 12PBSGKb013431; Thu, 25 Mar 2021 11:31:56 GMT X-Received: from g2t2354.austin.hpe.com (g2t2354.austin.hpe.com [15.233.44.27]) by mx0b-002e3701.pphosted.com with ESMTP id 37ggq3kr5e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Mar 2021 11:31:55 +0000 X-Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2354.austin.hpe.com (Postfix) with ESMTP id 480B383; Thu, 25 Mar 2021 11:31:55 +0000 (UTC) X-Received: from abner-virtual-machine.asiapacific.hpqcorp.net (abner-virtual-machine.asiapacific.hpqcorp.net [15.119.210.153]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id E185037; Thu, 25 Mar 2021 11:31:53 +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 RESEND 1/2] MdePkg/Include: EFI Redfish Discover protocol Date: Thu, 25 Mar 2021 18:40:42 +0800 Message-Id: <20210325104043.2368-2-abner.chang@hpe.com> In-Reply-To: <20210325104043.2368-1-abner.chang@hpe.com> References: <20210325104043.2368-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: xFlr53jD0aeY59ds6pbITUPax1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616671929; bh=cym0ZUFZ/H2zMHc+F/j7JSJe4wlsoKBGW3soBMBhzv8=; h=Cc:Date:From:Reply-To:Subject:To; b=PGTuAMbwbntC3b/EFdbQwDLr2ymv5sRfXE36kS+s8cuOllhitQsLLNuKZGsX9LVVcJ8 HAQikEcTlZzW1DCASmZhU4OjDBJpRzVWUNsvtEthjumASetoCtTPI5+3QCMckLjfaESPw kw/pK1NPR3mS4/qiBN6JwnDAPKh6onXYZeM= 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 (#73267): https://edk2.groups.io/g/devel/message/73267 Mute This Topic: https://groups.io/mt/81599755/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 14:12:43 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+73268+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+73268+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1616671934; cv=none; d=zohomail.com; s=zohoarc; b=HjW1DNjumRhjjUzUye6azHoI1GNjL9bSe6J+SfBPcrNhj/nAsY57WOLWTiTASK6Chg3P6ykxNIAcFTEGziJ4K8pt4LhXhM71h9L4TpJ67R8CR23dHVFW221Dt8drNnLH+f/bl4JRI+chgPQEIyITfavNLo5Uwuxomh2gZOAvEgk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616671934; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=hJMnLLtudee3eXjc3UA8K/8AbHcv6Swh+aXlOaeLJY4=; b=REJ7zZup7UW6NJgM7prr2v4DjnL4gsw2YWNZI34FBfEVBuyEXK8Xw2uB+shHgX3Ab923UjgZNt6uuJ3B4P2GUtF5VBJgDaz8PYqfX+oXDf9U1G5WkRDpn3lOG3xbuRC16odukkYlQTcqQGoSIicRz4hQocXfbtLqmmTR/wx4ugk= 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+73268+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 1616671934977786.0234123440068; Thu, 25 Mar 2021 04:32:14 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id rhxLYY1788612xfdAuWukS3J; Thu, 25 Mar 2021 04:32:14 -0700 X-Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web11.6575.1616671923787605899 for ; Thu, 25 Mar 2021 04:32:04 -0700 X-Received: from pps.filterd (m0134425.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 12PBSpPQ022035; Thu, 25 Mar 2021 11:31:58 GMT X-Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) by mx0b-002e3701.pphosted.com with ESMTP id 37fuvvngdw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Mar 2021 11:31:57 +0000 X-Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2353.austin.hpe.com (Postfix) with ESMTP id 49AA665; Thu, 25 Mar 2021 11:31:56 +0000 (UTC) X-Received: from abner-virtual-machine.asiapacific.hpqcorp.net (abner-virtual-machine.asiapacific.hpqcorp.net [15.119.210.153]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id 94B9E36; Thu, 25 Mar 2021 11:31:55 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Ray Ni , Zhichao Gao , Nickle Wang , Peter O'Hanley , Liming Gao Subject: [edk2-devel] [PATCH v4 RESEND 2/2] ShellPkg/UefiHandleParsingLib: Support EFI Redfish protocols Date: Thu, 25 Mar 2021 18:40:43 +0800 Message-Id: <20210325104043.2368-3-abner.chang@hpe.com> In-Reply-To: <20210325104043.2368-1-abner.chang@hpe.com> References: <20210325104043.2368-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: gT8CzrDuFxVHJTiXhNoJFrmZx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616671934; bh=0V4eD4lsun1e0bkI4yih98OioyNqB8Y9hK/jBBCfC/8=; h=Cc:Date:From:Reply-To:Subject:To; b=u2oW+VbAcK2JhYI2JGD/kyYE2sYXnBQK5X6tvjW9b8BJUvE9c7m9EOK9iTTEUZ1+St8 qgkKrrb9A2PXghx4ziywHTAgW1VyYO4/XOWApcGoJUGjHvvvFuVvUeTgn8oj5VI03xn8l sXR5jxv0Ap7WEZjYP4/RIWzn7ddRyPKrj2w= 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 Cc: 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 (#73268): https://edk2.groups.io/g/devel/message/73268 Mute This Topic: https://groups.io/mt/81599756/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-