]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/VolInfo/VolInfo.c
BaseTools/VolInfo: Show encapsulation sections
[mirror_edk2.git] / BaseTools / Source / C / VolInfo / VolInfo.c
index ed56587058f74319dad55778fe61ef796cf05981..da35cac273e82030a0ece2be93018fa6330e2f77 100644 (file)
@@ -1903,7 +1903,9 @@ Returns:
         return EFI_SECTION_ERROR;\r
       }\r
 \r
+      printf ("/------------ Encapsulation section start -----------------\\\n");\r
       Status = ParseSection (UncompressedBuffer, UncompressedLength);\r
+      printf ("\\------------ Encapsulation section end -------------------/\n");\r
 \r
       if (CompressionType == EFI_STANDARD_COMPRESSION) {\r
         //\r
@@ -2022,6 +2024,7 @@ Returns:
           return EFI_SECTION_ERROR;\r
         }\r
 \r
+        printf ("/------------ Encapsulation section start -----------------\\\n");\r
         Status = ParseSection (\r
                   ToolOutputBuffer,\r
                   ToolOutputLength\r
@@ -2030,6 +2033,7 @@ Returns:
           Error (NULL, 0, 0003, "parse of decoded GUIDED section failed", NULL);\r
           return EFI_SECTION_ERROR;\r
         }\r
+        printf ("\\------------ Encapsulation section end -------------------/\n");\r
 \r
       //\r
       // Check for CRC32 sections which we can handle internally if needed.\r
@@ -2042,6 +2046,7 @@ Returns:
         //\r
         // CRC32 guided section\r
         //\r
+        printf ("/------------ Encapsulation section start -----------------\\\n");\r
         Status = ParseSection (\r
                   SectionBuffer + DataOffset,\r
                   BufferLength - DataOffset\r
@@ -2050,6 +2055,7 @@ Returns:
           Error (NULL, 0, 0003, "parse of CRC32 GUIDED section failed", NULL);\r
           return EFI_SECTION_ERROR;\r
         }\r
+        printf ("\\------------ Encapsulation section end -------------------/\n");\r
       } else {\r
         //\r
         // We don't know how to parse it now.\r