ShellPkg/dh: Add the 'dh' dump support for Partition Info protocol

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=655

V2 change:
Put some strings into the UNI file for localization.

The dump information will include:
a. The type of the partition (Mbr, Gpt or Other);
b. Whether the partition is an EFI System Partition.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
This commit is contained in:
Hao Wu
2017-09-27 19:15:24 +08:00
parent de15f8b6ef
commit 770f3f6144
3 changed files with 89 additions and 1 deletions

View File

@ -522,3 +522,9 @@
" AttributesSetting : %%H%s%%N\r\n"
" Compatibilities : %%H0x%L016x%%N\r\n"
" LowestSupportedImageVersion : %%H0x%08x%%N\r\n"
#string STR_PARTINFO_DUMP_TYPE_OTHER #language en-US " Partition Type : Other"
#string STR_PARTINFO_DUMP_TYPE_MBR #language en-US " Partition Type : MBR"
#string STR_PARTINFO_DUMP_TYPE_GPT #language en-US " Partition Type : GPT"
#string STR_PARTINFO_DUMP_EFI_SYS_PART #language en-US " EFI System Partition : Yes"
#string STR_PARTINFO_DUMP_NOT_EFI_SYS_PART #language en-US " EFI System Partition : No"