diff options
author | Konstantin Aladyshev <aladyshev22@gmail.com> | 2022-07-18 20:55:53 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-07-24 14:03:47 +0000 |
commit | c0b7679aac90ab6c757bbc61ac4ccfa293ab14df (patch) | |
tree | 9f82e1387f2130ad30cbd5c7dfc41d3fd95d0c4f /BaseTools/Source/C | |
parent | 8ee26529d1b554a31c1041f0b9ed4e2dd250bd7a (diff) | |
download | edk2-c0b7679aac90ab6c757bbc61ac4ccfa293ab14df.zip edk2-c0b7679aac90ab6c757bbc61ac4ccfa293ab14df.tar.gz edk2-c0b7679aac90ab6c757bbc61ac4ccfa293ab14df.tar.bz2 |
BaseTools/VolInfo: Increase define for highest section value
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>
Diffstat (limited to 'BaseTools/Source/C')
-rw-r--r-- | BaseTools/Source/C/VolInfo/VolInfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BaseTools/Source/C/VolInfo/VolInfo.h b/BaseTools/Source/C/VolInfo/VolInfo.h index 624ac38..377cde8 100644 --- a/BaseTools/Source/C/VolInfo/VolInfo.h +++ b/BaseTools/Source/C/VolInfo/VolInfo.h @@ -22,8 +22,8 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #define EFI_DEP_END 0x08
#define EFI_DEP_SOR 0x09
-#define EFI_SECTION_LAST_LEAF_SECTION_TYPE 0x1B
-#define EFI_SECTION_LAST_SECTION_TYPE 0x1B
+#define EFI_SECTION_LAST_LEAF_SECTION_TYPE 0x1C
+#define EFI_SECTION_LAST_SECTION_TYPE 0x1C
#define OPENSSL_COMMAND_FORMAT_STRING "%s sha1 -out %s %s"
#define EXTRACT_COMMAND_FORMAT_STRING "%s -d -o %s %s"
|