summaryrefslogtreecommitdiffstats
path: root/ShellPkg/Include
diff options
context:
space:
mode:
authorTapan Shah <tapandshah@hpe.com>2016-04-22 09:32:26 -0700
committerJaben Carsey <jaben.carsey@intel.com>2016-04-25 09:08:06 -0700
commitcf6c1550cbf80423a9c058a52f7708db09dd4883 (patch)
treeef1bd4a1ae9083ea613abf986f0fa6903ba5b0b0 /ShellPkg/Include
parent599f004b278f597dcfd02a56a72d9393b5f0c55a (diff)
downloadedk2-cf6c1550cbf80423a9c058a52f7708db09dd4883.tar.gz
edk2-cf6c1550cbf80423a9c058a52f7708db09dd4883.tar.bz2
edk2-cf6c1550cbf80423a9c058a52f7708db09dd4883.zip
ShellPkg: Enahance 'dh' command to add more protocols decoding support
Adding EdidDiscovered, EdidActive protocol decode support a in 'dh' command. Extending GraphicsOutput protocol decoding to list all supported GOP resolutions. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tapan Shah <tapandshah@hpe.com> Reviewed-by: Samer El-Haj-Mahmoud <elhaj@hpe.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Diffstat (limited to 'ShellPkg/Include')
-rw-r--r--ShellPkg/Include/Library/ShellCommandLib.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/ShellPkg/Include/Library/ShellCommandLib.h b/ShellPkg/Include/Library/ShellCommandLib.h
index 0dd66c2fbc..e3bb6e0164 100644
--- a/ShellPkg/Include/Library/ShellCommandLib.h
+++ b/ShellPkg/Include/Library/ShellCommandLib.h
@@ -4,8 +4,9 @@
This library is for use ONLY by shell commands linked into the shell application.
This library will not funciton if it is used for UEFI Shell 2.0 Applications.
- (C) Copyright 2013-2014 Hewlett-Packard Development Company, L.P.<BR>
Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
+ (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
+ (C) Copyright 2013-2014 Hewlett-Packard Development Company, L.P.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -701,4 +702,21 @@ DumpHex (
IN VOID *UserData
);
+/**
+ Dump HEX data into buffer.
+
+ @param[in] Buffer HEX data to be dumped in Buffer.
+ @param[in] Indent How many spaces to indent the output.
+ @param[in] Offset The offset of the printing.
+ @param[in] DataSize The size in bytes of UserData.
+ @param[in] UserData The data to print out.
+**/
+CHAR16*
+CatSDumpHex (
+ IN CHAR16 *Buffer,
+ IN UINTN Indent,
+ IN UINTN Offset,
+ IN UINTN DataSize,
+ IN VOID *UserData
+ );
#endif //_SHELL_COMMAND_LIB_