summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source
diff options
context:
space:
mode:
authorKonstantin Aladyshev <aladyshev22@gmail.com>2022-07-19 23:45:52 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-08-06 15:12:28 +0000
commitf5f8c08db92d15c7a359a5eb3b0cc2545c945942 (patch)
tree370cce871f7baa70bc017d06bbeb3da53b0ea429 /BaseTools/Source
parenta0a03b51548e6fc7524b5aa9f8042cbabce6da1c (diff)
downloadedk2-f5f8c08db92d15c7a359a5eb3b0cc2545c945942.tar.gz
edk2-f5f8c08db92d15c7a359a5eb3b0cc2545c945942.tar.bz2
edk2-f5f8c08db92d15c7a359a5eb3b0cc2545c945942.zip
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>
Diffstat (limited to 'BaseTools/Source')
-rw-r--r--BaseTools/Source/C/VolInfo/VolInfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/BaseTools/Source/C/VolInfo/VolInfo.c b/BaseTools/Source/C/VolInfo/VolInfo.c
index da35cac273..6092806252 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: