From f5f8c08db92d15c7a359a5eb3b0cc2545c945942 Mon Sep 17 00:00:00 2001 From: Konstantin Aladyshev Date: Tue, 19 Jul 2022 23:45:52 +0800 Subject: 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 Reviewed-by: Bob Feng --- BaseTools/Source/C/VolInfo/VolInfo.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'BaseTools') diff --git a/BaseTools/Source/C/VolInfo/VolInfo.c b/BaseTools/Source/C/VolInfo/VolInfo.c index da35cac..6092806 100644 --- a/BaseTools/Source/C/VolInfo/VolInfo.c +++ b/BaseTools/Source/C/VolInfo/VolInfo.c @@ -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: -- cgit v1.1