mirror of https://github.com/acidanthera/audk.git
ShellPkg: Add a support to query AdapterInfo protocol for Shell ‘dh’ command.
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
This commit is contained in:
parent
62c058ca9f
commit
0fb7e718a8
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
Provides interface to advanced shell functionality for parsing both handle and protocol database.
|
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.<BR>
|
Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
// UEFI 2.4
|
||||||
//
|
//
|
||||||
{STRING_TOKEN(STR_DISK_IO2), &gEfiDiskIo2ProtocolGuid, NULL},
|
{STRING_TOKEN(STR_DISK_IO2), &gEfiDiskIo2ProtocolGuid, NULL},
|
||||||
|
{STRING_TOKEN(STR_ADAPTER_INFO), &gEfiAdapterInformationProtocolGuid, NULL},
|
||||||
|
|
||||||
//
|
//
|
||||||
// PI Spec ones
|
// PI Spec ones
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
Provides interface to advanced shell functionality for parsing both handle and protocol database.
|
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.<BR>
|
Copyright (c) 2011 - 2013, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
@ -133,6 +133,7 @@
|
||||||
#include <Protocol/UserCredential2.h>
|
#include <Protocol/UserCredential2.h>
|
||||||
#include <Protocol/IdeControllerInit.h>
|
#include <Protocol/IdeControllerInit.h>
|
||||||
#include <Protocol/DiskIo2.h>
|
#include <Protocol/DiskIo2.h>
|
||||||
|
#include <Protocol/AdapterInformation.h>
|
||||||
|
|
||||||
#include <Library/HandleParsingLib.h>
|
#include <Library/HandleParsingLib.h>
|
||||||
#include <Library/UefiBootServicesTableLib.h>
|
#include <Library/UefiBootServicesTableLib.h>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
## @file
|
## @file
|
||||||
# Provides interface to advanced shell functionality for parsing both handle and protocol database.
|
# 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. <BR>
|
# Copyright (c) 2010 - 2013, Intel Corporation. All rights reserved. <BR>
|
||||||
#
|
#
|
||||||
# This program and the accompanying materials
|
# This program and the accompanying materials
|
||||||
|
@ -171,6 +171,7 @@
|
||||||
gEfiDriverFamilyOverrideProtocolGuid ##UNDEFINED
|
gEfiDriverFamilyOverrideProtocolGuid ##UNDEFINED
|
||||||
gEfiIdeControllerInitProtocolGuid ##UNDEFINED
|
gEfiIdeControllerInitProtocolGuid ##UNDEFINED
|
||||||
gEfiDiskIo2ProtocolGuid ##UNDEFINED
|
gEfiDiskIo2ProtocolGuid ##UNDEFINED
|
||||||
|
gEfiAdapterInformationProtocolGuid ##UNDEFINED
|
||||||
|
|
||||||
[Guids]
|
[Guids]
|
||||||
gEfiFileInfoGuid ##CONSUMES
|
gEfiFileInfoGuid ##CONSUMES
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue