mirror of https://github.com/acidanthera/audk.git
BaseTools/VolInfo: Show FV section boundaries
Currently there is no labels for start and end of the EFI_SECTION_FIRMWARE_VOLUME_IMAGE type section. Therefore it is not possible to see where the FV section ends and another section starts. Add labels for start and end of the FV sections to fix the issue. Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
This commit is contained in:
parent
a0a03b5154
commit
f5f8c08db9
|
@ -1796,11 +1796,13 @@ Returns:
|
|||
break;
|
||||
|
||||
case EFI_SECTION_FIRMWARE_VOLUME_IMAGE:
|
||||
printf ("/------------ Firmware Volume section start ---------------\\\n");
|
||||
Status = PrintFvInfo (Ptr + SectionHeaderLen, TRUE);
|
||||
if (EFI_ERROR (Status)) {
|
||||
Error (NULL, 0, 0003, "printing of FV section contents failed", NULL);
|
||||
return EFI_SECTION_ERROR;
|
||||
}
|
||||
printf ("\\------------ Firmware Volume section end -----------------/\n");
|
||||
break;
|
||||
|
||||
case EFI_SECTION_COMPATIBILITY16:
|
||||
|
|
Loading…
Reference in New Issue