mirror of https://github.com/acidanthera/audk.git
e9597b4519
The patch adds the "-sfo" support to "dmpstore" command. When -l or -d is specified, -sfo is not supported. When the variable specified by name and GUID cannot be found, an error message is displayed; Otherwise, the SFO is displayed. E.g.: "dmpstore -guid GuidThatDoesntExist -sfo" produces output as: ShellCommand,"dmpstore" VariableInfo,"","GuidThatDoesntExist","","","" "dmpstore NameThatDoesntExist -guid GuidThatDoesntExist -sfo" produces output as: ShellCommand,"dmpstore" dmpstore: No matching variables found. Guid GuidThatDoesntExist, Name NameThatDoesntExist The difference between the above 2 cases is that former one only specifies the GUID, but the latter one specifies both name and GUID. Since not specifying GUID means to use GlobalVariableGuid, "dmpstore NameThatDoesntExist -sfo" produces the similar output as latter one. I personally prefer to always produce SFO output for both cases. But the above behavior is the discussion result between HPE engineers. Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Signed-off-by: Chen A Chen <chen.a.chen@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Tapan Shah <tapandshah@hpe.com> |
||
---|---|---|
.. | ||
Edit | ||
HexEdit | ||
SmbiosView | ||
Comp.c | ||
Compress.c | ||
Compress.h | ||
Dblk.c | ||
Dmem.c | ||
DmpStore.c | ||
EditInputBar.c | ||
EditInputBar.h | ||
EditMenuBar.c | ||
EditMenuBar.h | ||
EditStatusBar.c | ||
EditStatusBar.h | ||
EditTitleBar.c | ||
EditTitleBar.h | ||
EfiCompress.c | ||
EfiDecompress.c | ||
LoadPciRom.c | ||
MemMap.c | ||
Mm.c | ||
Mode.c | ||
Pci.c | ||
Pci.h | ||
SerMode.c | ||
SetSize.c | ||
SetVar.c | ||
UefiShellDebug1CommandsLib.c | ||
UefiShellDebug1CommandsLib.h | ||
UefiShellDebug1CommandsLib.inf | ||
UefiShellDebug1CommandsLib.uni |