diff options
author | Samer El-Haj-Mahmoud <elhaj@hp.com> | 2015-05-14 16:50:40 +0000 |
---|---|---|
committer | jcarsey <jcarsey@Edk2> | 2015-05-14 16:50:40 +0000 |
commit | 4024c116f68fc288f3264bb18c0b172fbc1f18d8 (patch) | |
tree | 986e0b6e5808dcc5d69ad7f1358afd671559c18a | |
parent | 99d9ade85aad554a0fa08fff8586b0fd40570ac3 (diff) | |
download | edk2-4024c116f68fc288f3264bb18c0b172fbc1f18d8.zip edk2-4024c116f68fc288f3264bb18c0b172fbc1f18d8.tar.gz edk2-4024c116f68fc288f3264bb18c0b172fbc1f18d8.tar.bz2 |
ShellPkg: Add DiskInfo GUID matching to the She
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Samer El-Haj-Mahmoud <elhaj@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17447 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c | 3 | ||||
-rw-r--r-- | ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.h | 3 | ||||
-rw-r--r-- | ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf | 3 | ||||
-rw-r--r-- | ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni | bin | 32150 -> 32274 bytes |
4 files changed, 6 insertions, 3 deletions
diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c index b375e06..3429667 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.
- (C) Copyright 2013-2014 Hewlett-Packard Development Company, L.P.<BR>
+ (C) Copyright 2013-2015 Hewlett-Packard Development Company, L.P.<BR>
Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -1010,6 +1010,7 @@ STATIC CONST GUID_INFO_BLOCK mGuidStringList[] = { // PI Spec ones
//
{STRING_TOKEN(STR_IDE_CONT_INIT), &gEfiIdeControllerInitProtocolGuid, NULL},
+ {STRING_TOKEN(STR_DISK_INFO), &gEfiDiskInfoProtocolGuid, NULL},
//
// UEFI Shell Spec 2.0
diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.h b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.h index 1948ab3..de987f8 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.
- (C) Copyright 2013-2014 Hewlett-Packard Development Company, L.P.<BR>
+ (C) Copyright 2013-2015 Hewlett-Packard Development Company, L.P.<BR>
Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -135,6 +135,7 @@ #include <Protocol/DiskIo2.h>
#include <Protocol/AdapterInformation.h>
#include <Protocol/EfiShellDynamicCommand.h>
+#include <Protocol/DiskInfo.h>
#include <Library/HandleParsingLib.h>
#include <Library/UefiBootServicesTableLib.h>
diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf index 21c32c9..e1a9a24 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.
-# (C) Copyright 2013-2014 Hewlett-Packard Development Company, L.P.<BR>
+# (C) Copyright 2013-2015 Hewlett-Packard Development Company, L.P.<BR>
# Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved. <BR>
#
# This program and the accompanying materials
@@ -173,6 +173,7 @@ gEfiDiskIo2ProtocolGuid ## UNDEFINED
gEfiAdapterInformationProtocolGuid ## UNDEFINED
gEfiShellDynamicCommandProtocolGuid ## UNDEFINED
+ gEfiDiskInfoProtocolGuid ## UNDEFINED
[Guids]
gEfiFileInfoGuid ## CONSUMES ## GUID
diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni Binary files differindex 5668e5d..d4eef98 100644 --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.uni |