audk/ShellPkg/Library/UefiShellCommandLib
Laszlo Ersek 3bd8960362 ShellPkg: elevate DumpHex() from Debug1-internal to generic-internal
The UEFI Shell specification classifies shell commands into various shell
levels / profiles.

Currently the DumpHex() internal function is only used by commands that
belong to the Debug1 profile exclusively (i.e., they are not required to
be present in other than Debug1 profiles):
- SMBIOSVIEW
- PCI
- DMPSTORE
- DMEM
- DBLK

In the next patch, we'd like to call DumpHex() from BCFG as well. However,
BCFG is not only required to be present in the Debug1 profile; the
Install1 profile contains BCFG as well. For this reason, move DumpHex()
from UefiShellDebug1CommandsLib to the more generic UefiShellCommandLib,
which "Provides interface to shell internal functions for shell commands".
The matching header file is "ShellPkg/Include/Library/ShellCommandLib.h".

Cc: Jaben Carsey <jaben.carsey@intel.com>
Cc: Ryan Harkin <ryan.harkin@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19717 6f19259b-4bc3-4df7-8a09-765794883524
2016-01-21 18:40:40 +00:00
..
ConsistMapping.c ShellPkg: Fix memory leak in function'ShellCommandConsistMappingInitialize'. 2015-12-25 01:46:02 +00:00
UefiShellCommandLib.c ShellPkg: elevate DumpHex() from Debug1-internal to generic-internal 2016-01-21 18:40:40 +00:00
UefiShellCommandLib.h This searches for handles that produce the dynamic command protocol after searching the commands compiled into the shell. 2014-08-05 20:09:25 +00:00
UefiShellCommandLib.inf ShellPkg: elevate DumpHex() from Debug1-internal to generic-internal 2016-01-21 18:40:40 +00:00