]> git.proxmox.com Git - mirror_edk2.git/commit
Add the feature "dmpstore -l" and "dmpstore -s".
authorRuiyu Ni <ruiyu.ni@intel.com>
Fri, 10 Jan 2014 01:52:24 +0000 (01:52 +0000)
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 10 Jan 2014 01:52:24 +0000 (01:52 +0000)
commit7e63fc9de941fd4e7d075feb5267f5cf96a80d45
tree982e539ed4bde3c3f11905a9d8d7a833a230f869
parent3a140833977300023e2188644ef81654aeafd826
Add the feature "dmpstore -l" and "dmpstore -s".
The file format is as below:
<File> := <Variable>+
<Variable> := <Name-Size> <Data-Size> <Name> <GUID> <Attributes> <Data> <Crc32>

Each variable representation in the file has a CRC32 value which can provide a mechanism to detect the file modification.
When any CRC32 is incorrect, dmpstore rejects to load the variables from the file.

Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15083 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg/Library/UefiShellDebug1CommandsLib/DmpStore.c
ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.uni