[edk2-devel] [PATCH] BaseTools/VolInfo: Update file and section type strings

Konstantin Aladyshev posted 1 patch 1 year, 9 months ago
Failed in applying to current master (apply log)
BaseTools/Source/C/VolInfo/VolInfo.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
[edk2-devel] [PATCH] BaseTools/VolInfo: Update file and section type strings
Posted by Konstantin Aladyshev 1 year, 9 months ago
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>
---
 BaseTools/Source/C/VolInfo/VolInfo.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/BaseTools/Source/C/VolInfo/VolInfo.c b/BaseTools/Source/C/VolInfo/VolInfo.c
index d9be3d8c18..2d7c6212b3 100644
--- a/BaseTools/Source/C/VolInfo/VolInfo.c
+++ b/BaseTools/Source/C/VolInfo/VolInfo.c
@@ -676,11 +676,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
     //
@@ -696,7 +696,7 @@ Returns:
     //
     // 0x1C
     //
-    "EFI_SECTION_SMM_DEPEX",
+    "EFI_SECTION_MM_DEPEX",
     //
     // 0x1C+
     //
@@ -1282,7 +1282,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:
@@ -1290,11 +1290,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:
-- 
2.25.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#91698): https://edk2.groups.io/g/devel/message/91698
Mute This Topic: https://groups.io/mt/92547456/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [edk2-devel] [PATCH] BaseTools/VolInfo: Update file and section type strings
Posted by Bob Feng 1 year, 6 months ago
Reviewed-by: Bob Feng <bob.c.feng@intel.com>

-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Konstantin Aladyshev
Sent: Friday, July 22, 2022 9:30 PM
To: devel@edk2.groups.io
Cc: Feng, Bob C <bob.c.feng@intel.com>; Gao, Liming <gaoliming@byosoft.com.cn>; Chen, Christine <yuwei.chen@intel.com>; Konstantin Aladyshev <aladyshev22@gmail.com>
Subject: [edk2-devel] [PATCH] 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>
---
 BaseTools/Source/C/VolInfo/VolInfo.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/BaseTools/Source/C/VolInfo/VolInfo.c b/BaseTools/Source/C/VolInfo/VolInfo.c
index d9be3d8c18..2d7c6212b3 100644
--- a/BaseTools/Source/C/VolInfo/VolInfo.c
+++ b/BaseTools/Source/C/VolInfo/VolInfo.c
@@ -676,11 +676,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     //@@ -696,7 +696,7 @@ Returns:
     //     // 0x1C     //-    "EFI_SECTION_SMM_DEPEX",+    "EFI_SECTION_MM_DEPEX",     //     // 0x1C+     //@@ -1282,7 +1282,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:@@ -1290,11 +1290,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:-- 
2.25.1



-=-=-=-=-=-=
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#91698): https://edk2.groups.io/g/devel/message/91698
Mute This Topic: https://groups.io/mt/92547456/1768742
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [bob.c.feng@intel.com] -=-=-=-=-=-=




-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#94617): https://edk2.groups.io/g/devel/message/94617
Mute This Topic: https://groups.io/mt/92547456/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-