From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) by mx.groups.io with SMTP id smtpd.web09.7780.1658496613110522863 for ; Fri, 22 Jul 2022 06:30:13 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=BtJAE6vK; spf=pass (domain: gmail.com, ip: 209.85.167.48, mailfrom: aladyshev22@gmail.com) Received: by mail-lf1-f48.google.com with SMTP id bp17so7702580lfb.3 for ; Fri, 22 Jul 2022 06:30:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6WmaVJRyF29JcT2mFXlz7goCPwZxxr1C0yf8teCYEMg=; b=BtJAE6vKbO2YFX7kDAYL50fY4OlJO3pfztYJJpkR1WCwvLulY4pWaxDk9ucOxs4Uu+ Yn9XkUgkMBeSF+w2CwM1bJURt8itaVNfmvJmgzz71kkXIqBtbb9e6PYanQRIneDP2RE9 PsjXNsmp/n8K9Gw8dWqVqUX4j+lqnPEPR5GHIgBz6LJao6TnmRtlap+AbfSNtUgEzOy1 kPcoclkw5nybCWYa3ofmpVvJ8XluaYs2iNZzghEb6Dpu4zaCOKmRzTSetf6tTWAZjlNC mgDzZH9Fr9tuir3zqdDT4R98TzSY/bn4pFt1KiNBWFhv7CjmteTXeDIA5dkTS5cV7/x0 Ub4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6WmaVJRyF29JcT2mFXlz7goCPwZxxr1C0yf8teCYEMg=; b=037bJvhBXwEMn9oZ1ELoTRQHEwvRLMMbacvxuIkpNWN5bzmA2q2NnRKgG8P9ObqF/T dQNIBtOdg2emkchdkito2KwVy2XXcsAgzZYD32lcSNcJ5sVKRPtyue+1eKow0uIPqKHI jr45N3+4m/geW/X2uO/8K9mKnLylJ95qKwdIGMR63SaLtKvsbR6h6wxnxCCb+uhzTXvW jPaKknAD/IJ4Zmnp9AXI+wJ1rQG8Gs0FMXYWYL0fj0HCAS1LXht1PEzYTZmTFohJXOKJ Cszharzk+BV9THmD5pYRKuI/EnMLEOgGrN26xeDveMHsdAYM68NrIneNiubPihd2ed8g 3jUQ== X-Gm-Message-State: AJIora9JCcYrCde1/pzLQWdgnK0FgcBSuIwPz7NBlWS7qqllZdEHuojA mJJQiD+fVBtfWDCk4UFW4sBZ9D5/kO8= X-Google-Smtp-Source: AGRyM1sgYvDOMFw2gpCWuQC1Jp33RiynOBHbH0bD6jkLFP44On1GDXz7GNtT4c6L1fjZJLEIHPeryA== X-Received: by 2002:ac2:4bd3:0:b0:48a:7b64:2a8c with SMTP id o19-20020ac24bd3000000b0048a7b642a8cmr13256lfq.43.1658496610926; Fri, 22 Jul 2022 06:30:10 -0700 (PDT) Return-Path: Received: from PC10319.67 ([82.97.198.254]) by smtp.googlemail.com with ESMTPSA id be20-20020a05651c171400b0025bf58c5338sm1132836ljb.15.2022.07.22.06.30.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jul 2022 06:30:10 -0700 (PDT) From: "Konstantin Aladyshev" To: devel@edk2.groups.io Cc: bob.c.feng@intel.com, gaoliming@byosoft.com.cn, yuwei.chen@intel.com, Konstantin Aladyshev Subject: [PATCH] BaseTools/VolInfo: Update file and section type strings Date: Fri, 22 Jul 2022 16:30:11 +0300 Message-Id: <20220722133011.6774-1-aladyshev22@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Change SMM to MM in naming according to the recent PI specifications. Remove trailing whitespaces in some strings. Signed-off-by: Konstantin Aladyshev --- 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/VolI= nfo/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: //=0D // 0x17=0D //=0D - "EFI_SECTION_FIRMWARE_VOLUME_IMAGE ",=0D + "EFI_SECTION_FIRMWARE_VOLUME_IMAGE",=0D //=0D // 0x18=0D //=0D - "EFI_SECTION_FREEFORM_SUBTYPE_GUID ",=0D + "EFI_SECTION_FREEFORM_SUBTYPE_GUID",=0D //=0D // 0x19=0D //=0D @@ -696,7 +696,7 @@ Returns: //=0D // 0x1C=0D //=0D - "EFI_SECTION_SMM_DEPEX",=0D + "EFI_SECTION_MM_DEPEX",=0D //=0D // 0x1C+=0D //=0D @@ -1282,7 +1282,7 @@ Returns: break;=0D =0D case EFI_FV_FILETYPE_SMM:=0D - printf ("EFI_FV_FILETYPE_SMM\n");=0D + printf ("EFI_FV_FILETYPE_MM\n");=0D break;=0D =0D case EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE:=0D @@ -1290,11 +1290,11 @@ Returns: break;=0D =0D case EFI_FV_FILETYPE_COMBINED_SMM_DXE:=0D - printf ("EFI_FV_FILETYPE_COMBINED_SMM_DXE\n");=0D + printf ("EFI_FV_FILETYPE_COMBINED_MM_DXE\n");=0D break;=0D =0D case EFI_FV_FILETYPE_SMM_CORE:=0D - printf ("EFI_FV_FILETYPE_SMM_CORE\n");=0D + printf ("EFI_FV_FILETYPE_MM_CORE\n");=0D break;=0D =0D case EFI_FV_FILETYPE_MM_STANDALONE:=0D --=20 2.25.1