summaryrefslogtreecommitdiffstats
path: root/BaseTools
diff options
context:
space:
mode:
authorKonstantin Aladyshev <aladyshev22@gmail.com>2022-07-22 21:30:11 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-10-02 05:34:38 +0000
commitf01d3ee12caf5eae4ece4fc5b85c57c56fb06cc0 (patch)
tree8cb8cdaa59fd30d15c419bdd1c430961e6a90ea0 /BaseTools
parentb6d324e06b1e4658a65af1630eb99ac5233bc789 (diff)
downloadedk2-f01d3ee12caf5eae4ece4fc5b85c57c56fb06cc0.tar.gz
edk2-f01d3ee12caf5eae4ece4fc5b85c57c56fb06cc0.tar.bz2
edk2-f01d3ee12caf5eae4ece4fc5b85c57c56fb06cc0.zip
BaseTools/VolInfo: Update file and section type strings
Change SMM to MM in naming according to the recent PI specifications. Remove trailing whitespaces in some strings. Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Diffstat (limited to 'BaseTools')
-rw-r--r--BaseTools/Source/C/VolInfo/VolInfo.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/BaseTools/Source/C/VolInfo/VolInfo.c b/BaseTools/Source/C/VolInfo/VolInfo.c
index ffc396e295..428011ca04 100644
--- a/BaseTools/Source/C/VolInfo/VolInfo.c
+++ b/BaseTools/Source/C/VolInfo/VolInfo.c
@@ -685,11 +685,11 @@ Returns:
//
// 0x17
//
- "EFI_SECTION_FIRMWARE_VOLUME_IMAGE ",
+ "EFI_SECTION_FIRMWARE_VOLUME_IMAGE",
//
// 0x18
//
- "EFI_SECTION_FREEFORM_SUBTYPE_GUID ",
+ "EFI_SECTION_FREEFORM_SUBTYPE_GUID",
//
// 0x19
//
@@ -705,7 +705,7 @@ Returns:
//
// 0x1C
//
- "EFI_SECTION_SMM_DEPEX",
+ "EFI_SECTION_MM_DEPEX",
//
// 0x1C+
//
@@ -1338,7 +1338,7 @@ Returns:
break;
case EFI_FV_FILETYPE_SMM:
- printf ("EFI_FV_FILETYPE_SMM\n");
+ printf ("EFI_FV_FILETYPE_MM\n");
break;
case EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE:
@@ -1346,11 +1346,11 @@ Returns:
break;
case EFI_FV_FILETYPE_COMBINED_SMM_DXE:
- printf ("EFI_FV_FILETYPE_COMBINED_SMM_DXE\n");
+ printf ("EFI_FV_FILETYPE_COMBINED_MM_DXE\n");
break;
case EFI_FV_FILETYPE_SMM_CORE:
- printf ("EFI_FV_FILETYPE_SMM_CORE\n");
+ printf ("EFI_FV_FILETYPE_MM_CORE\n");
break;
case EFI_FV_FILETYPE_MM_STANDALONE: