From 0fb7e718a8587cf836266e16b9d091e0cd5a8498 Mon Sep 17 00:00:00 2001 From: Tapan Shah Date: Wed, 7 May 2014 22:38:16 +0000 Subject: [PATCH] =?utf8?q?ShellPkg:=20Add=20a=20support=20to=20query=20Ada?= =?utf8?q?pterInfo=20protocol=20for=20Shell=20=E2=80=98dh=E2=80=99=20comma?= =?utf8?q?nd.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This patch adds support to display driver handles which has AdapterInfo protocol installed using ‘dh’ command. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tapan Shah Reviewed-by: Jaben carsey git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15499 6f19259b-4bc3-4df7-8a09-765794883524 --- .../UefiHandleParsingLib.c | 3 ++- .../UefiHandleParsingLib.h | 3 ++- .../UefiHandleParsingLib.inf | 3 ++- .../UefiHandleParsingLib.uni | Bin 29372 -> 29516 bytes 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c index 468365e400..26404401bc 100644 --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c @@ -1,7 +1,7 @@ /** @file Provides interface to advanced shell functionality for parsing both handle and protocol database. - Copyright (c) 2013 Hewlett-Packard Development Company, L.P. + Copyright (c) 2013 - 2014, Hewlett-Packard Development Company, L.P. Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -742,6 +742,7 @@ STATIC CONST GUID_INFO_BLOCK mGuidStringList[] = { // UEFI 2.4 // {STRING_TOKEN(STR_DISK_IO2), &gEfiDiskIo2ProtocolGuid, NULL}, + {STRING_TOKEN(STR_ADAPTER_INFO), &gEfiAdapterInformationProtocolGuid, NULL}, // // PI Spec ones diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.h b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.h index 37c05d04bf..29337f3018 100644 --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.h +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.h @@ -1,7 +1,7 @@ /** @file Provides interface to advanced shell functionality for parsing both handle and protocol database. - Copyright (c) 2013 Hewlett-Packard Development Company, L.P. + Copyright (c) 2013 - 2014, Hewlett-Packard Development Company, L.P. Copyright (c) 2011 - 2013, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -133,6 +133,7 @@ #include #include #include +#include #include #include diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf index e1d5d8c808..caf0841d12 100644 --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf @@ -1,6 +1,6 @@ ## @file # Provides interface to advanced shell functionality for parsing both handle and protocol database. -# Copyright (c) 2013 Hewlett-Packard Development Company, L.P. +# Copyright (c) 2013 - 2014, Hewlett-Packard Development Company, L.P. # Copyright (c) 2010 - 2013, Intel Corporation. All rights reserved.
# # This program and the accompanying materials @@ -171,6 +171,7 @@ gEfiDriverFamilyOverrideProtocolGuid ##UNDEFINED gEfiIdeControllerInitProtocolGuid ##UNDEFINED gEfiDiskIo2ProtocolGuid ##UNDEFINED + gEfiAdapterInformationProtocolGuid ##UNDEFINED [Guids] gEfiFileInfoGuid ##CONSUMES diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni index 5c5308d8a4c69879598f7bd0b00b1fbacafc58d3..9971dca1f35ff95363bd89112be9f2b017ba2a12 100644 GIT binary patch delta 85 zcmdnCq6lVR|zPa!jQ;Nz)-@F%1{K9%VS7m$ln|<8ygA$bng?S delta 17 ZcmX@}jB(FX#tCj4Llk5;f0GRh1prP12j2hy -- 2.39.2