mirror of https://github.com/acidanthera/audk.git
BaseTools/VolInfo: Parse EFI_SECTION_FREEFORM_SUBTYPE_GUID header
Print 'SubtypeGuid' field from the EFI_FREEFORM_SUBTYPE_GUID_SECTION structure. This value describes the raw data inside the section. Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Reviewed-by: Bob Feng<bob.c.feng@intel.com>
This commit is contained in:
parent
f5f8c08db9
commit
d241a09afb
|
@ -1806,12 +1806,20 @@ Returns:
|
|||
break;
|
||||
|
||||
case EFI_SECTION_COMPATIBILITY16:
|
||||
case EFI_SECTION_FREEFORM_SUBTYPE_GUID:
|
||||
//
|
||||
// Section does not contain any further header information.
|
||||
//
|
||||
break;
|
||||
|
||||
case EFI_SECTION_FREEFORM_SUBTYPE_GUID:
|
||||
printf (" Guid: ");
|
||||
if (SectionHeaderLen == sizeof (EFI_COMMON_SECTION_HEADER))
|
||||
PrintGuid (&((EFI_FREEFORM_SUBTYPE_GUID_SECTION *)Ptr)->SubTypeGuid);
|
||||
else
|
||||
PrintGuid (&((EFI_FREEFORM_SUBTYPE_GUID_SECTION2 *)Ptr)->SubTypeGuid);
|
||||
printf ("\n");
|
||||
break;
|
||||
|
||||
case EFI_SECTION_PEI_DEPEX:
|
||||
case EFI_SECTION_DXE_DEPEX:
|
||||
case EFI_SECTION_SMM_DEPEX:
|
||||
|
|
Loading…
Reference in New Issue