From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web10.41822.1609125711360550119 for ; Sun, 27 Dec 2020 19:21:51 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=T3bpzSjG; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: zhichao.gao@intel.com) IronPort-SDR: Bi8MT4msOu2LRywniyir8zhe8e1vJcoEm5OkVf0sRhCNJe9f52DqnKk7B+S3Tq4g6T1TvvD9sp kGwVmavXDxuw== X-IronPort-AV: E=McAfee;i="6000,8403,9847"; a="176494559" X-IronPort-AV: E=Sophos;i="5.78,454,1599548400"; d="scan'208";a="176494559" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Dec 2020 19:21:48 -0800 IronPort-SDR: YYHutRPXguAhuVGGVpLn/8VdJcs8NPxHxoaEW8ZNtzMHTHTJyJ8A0St1TSoDz4ZD0+cu3K93Z/ iM0CKQjuy0FA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,454,1599548400"; d="scan'208";a="358399277" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga002.jf.intel.com with ESMTP; 27 Dec 2020 19:21:47 -0800 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sun, 27 Dec 2020 19:21:47 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Sun, 27 Dec 2020 19:21:47 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.43) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Sun, 27 Dec 2020 19:21:46 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K5W23M/ZB+Vo6anLTZnX55I/EAKLoxQiEtZmeVIfBf0Hoqxp1XmpTDp7wdfxL2Wf+iahY4YCXHZiKZYm+oaK852jVTkf3jptkElYrZz2P4EUBO/Wd8swnFMEDaX2i0xztjIBH8iupYNXe70kSb0ec91K2KRIdxsWiwbNBTHjtj+8DTuO6fh1WYKWPCY4vNR4PnT0YxXocfZ7dsXeDqDGy4bMnJwrJjA8gkevV5eg2LdyHqpfRo8ob7Sye6BvihOlhEpMYvb9R49icvn+87Wp4casy9thXef82MjVj7ZHR9RhEVTRDUFxhzBu+7GfhJd3cNPxRUghexlMOmxW6Y/d7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1BdG7ynz7T7a2Ss2uT61lGblyvYPh7PREl6fQvczaL0=; b=KNJD36Z8hawvH8ee/a7VzLvw2Mv8v+6v8aYZzxaHW1S2fy42T2E2g8LcSEb4DNxOm4TvqFGVJjvn292mIWT4W9x6aA59EmSXzCQXBKVgjbJ23ro+sFf66KD60SO5QI9XH7pajmLczufR9sDi5N92M7Gd53WotD1t7jTBTEStJLWASspRh6N0KJVpGpkGNljatYzNPcqNTatWzRVcNkgf0oNQ/QE78/6CT6rJH5pyglmvz+6Yyoo39i3BjlcGgoDbA+JvGCXAaoTa8UaCaGdh5L5/odzhDol9Ss6NskjLixSADwOvsnWqtR1+qQfhJ9ArSzC+D382OZtXnh0rlMlfrQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1BdG7ynz7T7a2Ss2uT61lGblyvYPh7PREl6fQvczaL0=; b=T3bpzSjGajzBZUGwc3vSonsN5gpzRb6BR7v1q5abXm+n0yNHmDLgLU1cn0hrfxYspHTwqZ5n8nrYXq1y3mrKKNZt8pQ9BJzdXEq3TVUwWYJdIU5f+mUWAgp989XZlh8Vg3VjKWMoZAWi8q02I8AkkYbKww8hyTY0BWDRX7h0eZ8= Received: from MWHPR11MB1647.namprd11.prod.outlook.com (2603:10b6:301:d::12) by MWHPR11MB1357.namprd11.prod.outlook.com (2603:10b6:300:2b::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3700.27; Mon, 28 Dec 2020 03:21:43 +0000 Received: from MWHPR11MB1647.namprd11.prod.outlook.com ([fe80::c861:b9c1:b082:7c77]) by MWHPR11MB1647.namprd11.prod.outlook.com ([fe80::c861:b9c1:b082:7c77%8]) with mapi id 15.20.3700.031; Mon, 28 Dec 2020 03:21:43 +0000 From: "Gao, Zhichao" To: "devel@edk2.groups.io" , "abner.chang@hpe.com" CC: "Ni, Ray" , Nickle Wang , "Peter O'Hanley" Subject: Re: [edk2-devel] [EFI Shell PATCH v2 2/2] ShellPkg/UefiHandleParsingLib: Support EFI Redfish protocols Thread-Topic: [edk2-devel] [EFI Shell PATCH v2 2/2] ShellPkg/UefiHandleParsingLib: Support EFI Redfish protocols Thread-Index: AQHWtBeWUTPhjY0mFUGIOdjiX4HpMKoMKI8w Date: Mon, 28 Dec 2020 03:21:43 +0000 Message-ID: References: <20201106074748.21286-1-abner.chang@hpe.com> <20201106074748.21286-3-abner.chang@hpe.com> In-Reply-To: <20201106074748.21286-3-abner.chang@hpe.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.55.46.36] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1d5f22e1-eca3-47bb-7955-08d8aadfb37b x-ms-traffictypediagnostic: MWHPR11MB1357: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: iLUjie7gGKlonlZvzByBhH5NJRlp+ZAow2EXp4fzQYbQGfUM1TZPxllAK2Gsy40QUBRSWQV9G+2fbmDhaYYH2SH+eWtUaZCw33fIFzyOHMpIgzZxW2aovZMLNbVV76uMe+2L26pYXI76ELLreOVclxWq56wzOzqQmFtEnwB4lEI90SFKRWod1f/qWXqBVY7jksOrNHmivFtW043h4eRe4a1ImpVHUtzGWy4oPE7uEyYp71HU5zuMJlagRvj72CK32YDCOq+gbdwqhQLCweTJpsD8058RMV8CbC1Byk7jA+g7lhQpk0atkC3pUBc4pQxrCECFdldVXrNvNr9NE450bR0eG5JDwRCtyoio2xoNLlTjaOPx4ZNBzWPDxJzPGwlkJoSV9EJS7q1h/FetAwRvOKuQ+yf9BE2SckP/SLqHU7GUHS3eNVw0WDxHDTjdVocpTrV5uaY7c6bJOiaAE6xB3Q== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR11MB1647.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(39860400002)(376002)(366004)(396003)(346002)(136003)(478600001)(7696005)(2906002)(110136005)(64756008)(66446008)(316002)(186003)(83380400001)(86362001)(966005)(5660300002)(54906003)(66946007)(55016002)(66556008)(8936002)(4326008)(6506007)(66476007)(52536014)(9686003)(8676002)(26005)(76116006)(53546011)(33656002)(71200400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?xjqFWTRfp7TYxOBJbrH3VpJzJuYAotnDCDesI1GbW0VX3tM37whWdrJp1tlr?= =?us-ascii?Q?UMI/nyTFpFkJAOOU/hr+935wXslAT6YhdWEc4jjKVIwqbPEinWb2/OUVodIu?= =?us-ascii?Q?8/ghepYMsZZH6Xug/YhAkWWg1ZLIhRM3clh6YtyvG4nF6dNwD9PEq1F/j6Sj?= =?us-ascii?Q?t/WLPwrW1aTQJwMh4/0BI/mHd0/ukigzE8ACNskDBJ2q7vgT+A2I21WSf8hH?= =?us-ascii?Q?GsroMhs7N7PBpOqsop3LIo4qZjHD5h30H7H5sxMYFTw3Pip7GEQOwt5sQ6j7?= =?us-ascii?Q?5o9PhkSV7itPaMv3M8ycWhDdfpS4uhJkjqHYrbQd+lSIWgmc+4dRXBHqnpBU?= =?us-ascii?Q?RBhDtc/UAOmhj3igaP2b5Wbwup2whmxfcpPAYTywAcaFzQU/bcwmka1F6g82?= =?us-ascii?Q?TEt+5sXJ+7+O5K+YlUX+kKd3v0Pm/C6Cc2qOy5HgzNB20gj3iJj7cL3usnvH?= =?us-ascii?Q?IZCLfqWgIFv7iiXt7cucG+5NJghZPZd7e71fBF/8Gl0IzBD5tA6fyhm0xpyP?= =?us-ascii?Q?MCqrvWyhFL6F0exU2Uo6UQanU2zMnRvwDJxOEmvolWpBOIiiUl/JjqnGOGEC?= =?us-ascii?Q?GTnynumesdyzVqdPv3S36NpNsryUblZe8UzYJVN9CdR2Dl8R8OTcmbWN+8XG?= =?us-ascii?Q?7WB2VYtNpizyXgoy4ZbKFNGDY4Pii6m9gmy4P6KOiZcLbdXs3WGw8wv4qjyg?= =?us-ascii?Q?4jEBDev4DdC6DYYtN1sPmSMsXukbkHGdXoilL5uDZ3q8C7w4uA78Ib1xF6GH?= =?us-ascii?Q?7g6ELMWe6kt0jyFAAwmHRX7jGCX9SYAynlvo72T0hdyTVR70UXKpyVsVHaWF?= =?us-ascii?Q?FP0O1yHWlMuffMBZpy9wMX2JL89bYd2iYUEBLVSvcvh0tQx5zGhhxcLqkhB2?= =?us-ascii?Q?PZKeqFnADfWIwIt3+8MDloJZcQHpWZdGhPqZt3mPc4BaWWiXwCKmtW4qY2Mk?= =?us-ascii?Q?yCz0df2BVXZ3N5oGmnAaWQYm+D2jOw2Z6aXrJ3O9jUY=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1647.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1d5f22e1-eca3-47bb-7955-08d8aadfb37b X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Dec 2020 03:21:43.7768 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: F/eUyDjgD/fJBLR/aIDR7rNS28l+1gUBjawETUc1eGODQB6RA1Mri0z+HYhcMSAKM0UNgcfr/LPf4g1FolBM1g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1357 Return-Path: zhichao.gao@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Zhichao Gao Please make sure #1 pass the review and it should be merged along with #1. Thanks, Zhichao > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Abner Cha= ng > Sent: Friday, November 6, 2020 3:48 PM > To: devel@edk2.groups.io > Cc: Ni, Ray ; Gao, Zhichao ; Ni= ckle > Wang ; Peter O'Hanley > Subject: [edk2-devel] [EFI Shell PATCH v2 2/2] ShellPkg/UefiHandleParsin= gLib: > Support EFI Redfish protocols >=20 > Add handle parsing for EFI Redfish Discover protocol. > Add handle parsing for EFI RestEx protocol. >=20 > 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(-) >=20 > 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), &gEfiHttpUtilitiesProtocolG= uid, > NULL}, > {STRING_TOKEN(STR_REST), &gEfiRestProtocolGuid, > NULL}, > - > +// > +// UEFI 2.8 > +// > + {STRING_TOKEN(STR_REST_EX), &gEfiRestExProtocolGuid, > NULL}, > + {STRING_TOKEN(STR_REDFISH_DISCOVER), > &gEfiRedfishDiscoverProtocolGuid, 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 = handle and > protocol database. > # Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved. <= BR> # (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. <= BR> // (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" > -- > 2.17.1 >=20 >=20 >=20 >=20 >=20