From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web12.13836.1658640691985963606 for ; Sat, 23 Jul 2022 22:31:32 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=KxkpYygz; spf=pass (domain: intel.com, ip: 192.55.52.151, mailfrom: bob.c.feng@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658640692; x=1690176692; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=B9gAu0r2qanKS9NgeDr1DIPAK7zKPYJwJM4ZurnR2sk=; b=KxkpYygzq4yRJLU8yg7cq9k3VdLu3zy9BxK1dppsJqWmX5krgFF3aMNT 9Ntf/EkuzJ+zupRas4JxVnJYkMTksFKjG8T7VCVze2AEXovMZ1uEGoF4H j+uuYLv/EOk+CpwQCnGJV6q/d+WCmAs1TLYikiiYM6L3vHJW7sSDkyw9i 7v0q4EuHgJx5/Ki1DscyXQ0tMz2ZEBCTP4XRLehNQXm+Po4nIiJWUOuof hiSBFZ09o5FD5MzHFgCUaV2lWoHU8ksqC95l23pTQ8fk7h+0/KqFGZBrG oUORdR0mk6Fc776VSx5IVAvpD2AURRRpaJpNgUl9bLahCRtyTiO6zKZmV Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10417"; a="267908493" X-IronPort-AV: E=Sophos;i="5.93,189,1654585200"; d="scan'208";a="267908493" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jul 2022 22:31:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,189,1654585200"; d="scan'208";a="631993903" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga001.jf.intel.com with ESMTP; 23 Jul 2022 22:31:31 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Sat, 23 Jul 2022 22:31:30 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Sat, 23 Jul 2022 22:31:30 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28 via Frontend Transport; Sat, 23 Jul 2022 22:31:30 -0700 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.49) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Sat, 23 Jul 2022 22:31:29 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HZYgcHnnf4T1vlEaeJpIYHjS+/mhtisssFInGuAV2Gqpmzlq63coDIDNRE0jlBv93NzLIqSNdor7A9thXP50LdJkDyKq7OZTegeQ3RkE9ui9Wb+0aeg/RJsFlTsrHFJZGDtCH7FKOmj6AD2PaviT6BSXkTQWv3J9wSaSBs6ONpO3tGjGcmz1fGW5ok8UV3Hab9AO6sCrETpW+TWp48lgxzVLQHkn+pR5mmVIOcBOzesKkGxLcrSZdMrumpzWxuesKL43wgKhcIVX213edgGKQwrKwv28hfhbvzMW7ZqlTpvizy0QoDVk+/ttr896azGFeWtW2NotGsg3tdNNPufzjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=PDTkt2RDYjWvHyg1J+zS5KjBtOp6PUAT3EY7EvcpiE4=; b=i6y0MJ98He6ZVrsLpJu/j7vGLbhL0YUirbnryKlWAlwkAODMsXkYJdAFGLp2NQiUv5A64oNFiuqOfnrCDRuxJmuXNR1tMz6fKy5pkptBCv99BWl6w4NeLMvpxfLux+KpjCxLVl5mgHUrVLZGIxE7v7aU5/Sazs5HZ5OQjLZdSJsfsuqM1MzsuLlnWBv+zf1rCPXeg7IfA4CIP/adNQslKfrwn4zu+08U4v/81PtMYMofQPKE36Sm/iufnjA1Voqz+lTispHe23QSANXK/fvANVzxBvBu0mb4XHx0iOEG+giS3NP1ggTn8yvNFhH0nHwYRp7d1Cs2Fkk/nFtSPWJqhQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from PH7PR11MB5863.namprd11.prod.outlook.com (2603:10b6:510:135::11) by CH0PR11MB5379.namprd11.prod.outlook.com (2603:10b6:610:ba::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.18; Sun, 24 Jul 2022 05:31:26 +0000 Received: from PH7PR11MB5863.namprd11.prod.outlook.com ([fe80::943:4b5a:b96b:30f8]) by PH7PR11MB5863.namprd11.prod.outlook.com ([fe80::943:4b5a:b96b:30f8%5]) with mapi id 15.20.5458.023; Sun, 24 Jul 2022 05:31:25 +0000 From: "Bob Feng" To: Konstantin Aladyshev , "devel@edk2.groups.io" CC: "Gao, Liming" , "Chen, Christine" Subject: Re: [PATCH] BaseTools/VolInfo: Increase define for highest section value Thread-Topic: [PATCH] BaseTools/VolInfo: Increase define for highest section value Thread-Index: AQHYmqXMzNYlbsN8Hk6QD7EqXUARxa2NB9gA Date: Sun, 24 Jul 2022 05:31:25 +0000 Message-ID: References: <20220718125553.17945-1-aladyshev22@gmail.com> In-Reply-To: <20220718125553.17945-1-aladyshev22@gmail.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 89dd59a8-9e02-4b14-1330-08da6d35c0a8 x-ms-traffictypediagnostic: CH0PR11MB5379:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: SfN6prToArey+33WQ2NhM6/FWx6sfNP7BGnECiB/BYkmX1MvX61ts8heI9g37XYWmlSC0ZXaql4sy7qpvc5M+PwyczE1+h2f7fgqdGYZtGOGciF3yFj86HQVQxngMs9qow41nk/ZcxPQQMVy9WVqmo9FOG9xhdVLwlM853flsb8faB8FKLPAZ4IdbFs2Mqnv+6/3mewLIzv11Z8SriSJyAthzgebZ3bd+kodx9dWdtWhb81bIbgDK2D+51nA59tTjM+IsiomJI45K3Y6wI3LiLn7d3n/KaLIhg/Qo1lORCQLIoXbqmrVFD+03xlBmJtYOMM7jK6Z06FTfQMztH2ePEGc3tCcHFyKS+Dstc1DnwMJxbqCE5+vDoUxtGF3y4puW3cDR96gPImWUDxYxUNE3RjmGdQJlz8ms0GdF8PM6HyN7f68yglyQQUZc141ky1Ybpkac8kseedEHFgV+HqUnzucMPx+pNLHuiUxA7c7YcqwIp00JRAL6YlVroD66+jBgeA7W3NjA965ql8VwUcMLN914JEDPiqozcw2Nic/atO1zHkqPGcl3y/2RMj+GbLQlHw8JC2l1ulzDE/2XiomRJD2wgFqo6eN4HiPhcfNdcMyFz6aZ5RJ7YW5sJwP2zQwnEG9KaHBdDdtjJA0r3UTAQi+FcWVgk6NRtAGOur3Nu0JDczmBuRqhjDu7NFLdFbBM0XqhdXMTOQu+mardr69T7lpRd/OMs+1w7DzBtu/c/3jWRjKTc038I8hCxbTC7S2u6VEhpMLdLVWhInuwa6IIb53iqIBUMZlcwnvBe7jUqk= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH7PR11MB5863.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(396003)(136003)(366004)(39860400002)(346002)(376002)(66446008)(5660300002)(66556008)(26005)(66946007)(33656002)(8676002)(4326008)(64756008)(76116006)(66476007)(8936002)(82960400001)(478600001)(55016003)(9686003)(52536014)(7696005)(71200400001)(6506007)(54906003)(110136005)(86362001)(41300700001)(186003)(122000001)(316002)(2906002)(38070700005)(107886003)(53546011)(83380400001)(38100700002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?KSjq7YpCe8Keyb3ELhlFvkCyoyoFj6wOenOIeQ9Z0l3g7fBx9FcDHvijdS8K?= =?us-ascii?Q?sCPAfiO4djd89q3WwyqIB3dgkPcqVHqsDMYiW3hGIP9WUck9xHTXRcZEptlZ?= =?us-ascii?Q?uPzQxbtn6W7Z0Tcmz2jWRs6Cq7s72ZbQZ/C9VftRX2QOR1LknYJO1dBIFR9+?= =?us-ascii?Q?rJXVMzes6y51oMx8bSgs+AX31QV51gEgfd0XnIx+z94GFshrLAadvIG8Sfpd?= =?us-ascii?Q?qWx98mOAwNsuuXUwXVf81xdjH/LgalbcBbAY0viSAMS+30UYA3Y0pEH/2/pB?= =?us-ascii?Q?VsbcCpWtq1moOEUPRFTkrXDuAgesmYMKwnyEbzJe7aj/UQ9mVaKyWBgb/SHc?= =?us-ascii?Q?hvNfEB8kicwiu7DT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fvbYVkco8Vb?= =?us-ascii?Q?HaVqeJMcFCSMR8bgQ4AVjDc7WDE8KBx5h9FeVynViwRVjw9pZsORMvjc214/?= =?us-ascii?Q?8Sb2je2R1GFhKOVjE77YEC/PF1qVue//omMrk5r63glis7jP59krywlIqW2g?= =?us-ascii?Q?eQfbLh/l7uVivtMAKFiKh2vpuobeI59ZcAwPzsEOy059sFUY76ipVMb0qFCm?= =?us-ascii?Q?GDlp8dE/XLwMr3VqqDCRctLsWJbRFe/QIkoG7quCzeqW5h+I9LP2vk+xao9v?= =?us-ascii?Q?suRx0y4hxUovnKQIIP7VNB0vUCN4xTIqFyoEhctCHEW1p4V0ZZjWe9daBbOq?= =?us-ascii?Q?w0UrGkBqC7hxQUs/pPrz7fkeGZtmRAEJU++uVnix?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB5863.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 89dd59a8-9e02-4b14-1330-08da6d35c0a8 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jul 2022 05:31:25.8656 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: epCu/y+0aiLCLAMelwOZBcB5U6+LQB5oH7BkqXm19Oimk5cMNz/ZqhCPZqQj3+r1ZCtpLEKMUt0/SPfTA/A69w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR11MB5379 Return-Path: bob.c.feng@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Bob Feng -----Original Message----- From: Konstantin Aladyshev =20 Sent: Monday, July 18, 2022 8:56 PM To: devel@edk2.groups.io Cc: Feng, Bob C ; Gao, Liming ; Chen, Christine ; Konstantin Aladyshev Subject: [PATCH] BaseTools/VolInfo: Increase define for highest section val= ue Currently sections with unknown types are displayed as `EFI_SECTION_SMM_DEP= EX` which is wrong. Increase the highest value for the section type to 0x1C for correct parsing= . Signed-off-by: Konstantin Aladyshev --- BaseTools/Source/C/VolInfo/VolInfo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BaseTools/Source/C/VolInfo/VolInfo.h b/BaseTools/Source/C/VolI= nfo/VolInfo.h index 624ac38f0e..377cde80f7 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_SE= CTION_LAST_SECTION_TYPE 0x1C #define OPENSSL_COMMAND_FORMAT_STRING = "%s sha1 -out %s %s" #define EXTRACT_COMMAND_FORMAT_STRING "%s -= d -o %s %s"--=20 2.25.1