]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg: Add a support to query AdapterInfo protocol for Shell ‘dh’ command.
authorTapan Shah <tapandshah@hp.com>
Wed, 7 May 2014 22:38:16 +0000 (22:38 +0000)
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 7 May 2014 22:38:16 +0000 (22:38 +0000)
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 <tapandshah@hp.com>
Reviewed-by: Jaben carsey <Jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15499 6f19259b-4bc3-4df7-8a09-765794883524

ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c
ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.h
ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni

index 468365e400d4d40d007218bf81943b18f61451d9..26404401bc51f7849eb412494ae6585d78cfa92e 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Provides interface to advanced shell functionality for parsing both handle and protocol database.\r
 \r
-  Copyright (c) 2013 Hewlett-Packard Development Company, L.P.\r
+  Copyright (c) 2013 - 2014, Hewlett-Packard Development Company, L.P.\r
   Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -742,6 +742,7 @@ STATIC CONST GUID_INFO_BLOCK mGuidStringList[] = {
 // UEFI 2.4\r
 //\r
   {STRING_TOKEN(STR_DISK_IO2),              &gEfiDiskIo2ProtocolGuid,                         NULL},\r
+  {STRING_TOKEN(STR_ADAPTER_INFO),          &gEfiAdapterInformationProtocolGuid,              NULL},\r
 \r
 //\r
 // PI Spec ones\r
index 37c05d04bf0bfe253c2d9ff8e14c8c67abebc5e4..29337f3018067ffcdb2385c0c11dc927c8750a94 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Provides interface to advanced shell functionality for parsing both handle and protocol database.\r
 \r
-  Copyright (c) 2013 Hewlett-Packard Development Company, L.P.\r
+  Copyright (c) 2013 - 2014, Hewlett-Packard Development Company, L.P.\r
   Copyright (c) 2011 - 2013, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
 #include <Protocol/UserCredential2.h>\r
 #include <Protocol/IdeControllerInit.h>\r
 #include <Protocol/DiskIo2.h>\r
+#include <Protocol/AdapterInformation.h>\r
 \r
 #include <Library/HandleParsingLib.h>\r
 #include <Library/UefiBootServicesTableLib.h>\r
index e1d5d8c808b218acf8eee8eef51d691ec8fd08a7..caf0841d12cba622863a515d8a2ab27970a7292b 100644 (file)
@@ -1,6 +1,6 @@
 ##  @file\r
 #  Provides interface to advanced shell functionality for parsing both handle and protocol database.\r
-#  Copyright (c) 2013 Hewlett-Packard Development Company, L.P.\r
+#  Copyright (c) 2013 - 2014, Hewlett-Packard Development Company, L.P.\r
 #  Copyright (c) 2010 - 2013, Intel Corporation. All rights reserved. <BR>\r
 #\r
 #  This program and the accompanying materials\r
   gEfiDriverFamilyOverrideProtocolGuid                    ##UNDEFINED\r
   gEfiIdeControllerInitProtocolGuid                       ##UNDEFINED\r
   gEfiDiskIo2ProtocolGuid                                 ##UNDEFINED\r
+  gEfiAdapterInformationProtocolGuid                      ##UNDEFINED\r
 \r
 [Guids]\r
   gEfiFileInfoGuid                                        ##CONSUMES\r
index 5c5308d8a4c69879598f7bd0b00b1fbacafc58d3..9971dca1f35ff95363bd89112be9f2b017ba2a12 100644 (file)
Binary files a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni and b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni differ