]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools/VolInfo: Increase define for highest section value
authorKonstantin Aladyshev <aladyshev22@gmail.com>
Mon, 18 Jul 2022 12:55:53 +0000 (20:55 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sun, 24 Jul 2022 14:03:47 +0000 (14:03 +0000)
Currently sections with unknown types are displayed as
`EFI_SECTION_SMM_DEPEX` which is wrong.
Increase the highest value for the section type to 0x1C
for correct parsing.

Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Reviewed-by: Yuwei Chen<yuwei.chen@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/C/VolInfo/VolInfo.h

index 624ac38f0e8821f829e388bd920cb3e93194884e..377cde80f740f31a28f1321eb35dccd8da818f3c 100644 (file)
@@ -22,8 +22,8 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 #define EFI_DEP_END       0x08\r
 #define EFI_DEP_SOR       0x09\r
 \r
-#define EFI_SECTION_LAST_LEAF_SECTION_TYPE  0x1B\r
-#define EFI_SECTION_LAST_SECTION_TYPE       0x1B\r
+#define EFI_SECTION_LAST_LEAF_SECTION_TYPE  0x1C\r
+#define EFI_SECTION_LAST_SECTION_TYPE       0x1C\r
 \r
 #define OPENSSL_COMMAND_FORMAT_STRING       "%s sha1 -out %s %s"\r
 #define EXTRACT_COMMAND_FORMAT_STRING       "%s -d -o %s %s"\r