From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web09.5051.1658472448024648347 for ; Thu, 21 Jul 2022 23:47:28 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=LwOyTKlV; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: yuwei.chen@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658472448; x=1690008448; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=jAq+JVhfKiRZFs9SdkdpMwqgAVcZKJQ8Biggc7y/OgU=; b=LwOyTKlVBosLR+608/e3XcSHZIo6BOzqyXUSJWr+3YpM4C/3Ys2vIYe/ E+OjlBaN+gpd0MCRhmsNodU4HDic8kBTVrdzH8DY2owIJGnVZFqbp0fOV /y6DS1L9fYvaUg6Hv3g1jaOYkCK6HjO0ivdHZOo4L1Hzyz+0NXO40HaUO ji1q4gU9XACBEZCL9K42IcTcGIZtSIG6wE8cP86hgVB0zGiqhwad+kS2Q ImZ3Jhei8yEcr0x/WBV65vPBC7W3jsDiI/i41FQpIPAPyl3RGB6IHnTjw Ckk6Oq07gCmsf8hzM0j8+ll38fqDzoiMeRvsEDpL3n2dyH+PA+D/Uo38z g==; X-IronPort-AV: E=McAfee;i="6400,9594,10415"; a="288005568" X-IronPort-AV: E=Sophos;i="5.93,184,1654585200"; d="scan'208";a="288005568" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2022 23:47:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,184,1654585200"; d="scan'208";a="549070277" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga003.jf.intel.com with ESMTP; 21 Jul 2022 23:47:23 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Thu, 21 Jul 2022 23:47:23 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28 via Frontend Transport; Thu, 21 Jul 2022 23:47:23 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.168) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Thu, 21 Jul 2022 23:47:23 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lC6RM5CPWY328Iz3zkrrmxd3ZhhLaA1fYnaLfI/MOsrAyxOGH9R7XhvQdmy8kMDP0tWYkKAHk4PlwO79+bcjjcSopEM31K0DFhz9+Ep/G/NRj1zpMwXfR2K6axH26Kio65u2aMYsgntg5q7YAT8DnVeW57O6uMLEC12p3iVccN4YqVZWLmBY2je3eHT8gHZ/k0Vs3g0fxwHFXYdZBKP8p35LXAvtWQkbA7tNHajAcAcrQBrpXYGcvPdMR8ZeRXlPDjjr0QNVZXBR2RqpJnpfWXTr2P8+r/g5lga+tVWoULuByeT8RuQgqVdAYTIuOO3RI0HCvU7GLEsRjmSuDfUYRA== 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=8MIT36ZeqzrXqR7WKyt+o+KogRjLUCkgjPIfC/W53A0=; b=avn/i/wMUqB3cDiHIZOXjRzyjKEFeZYiTncRRGuiyW1rK9wd0pfugmmE3cDJKv5FmN1RHe9ANEze3Ejf3o8xVAYAAzMqTt2Z84afqzLD9b106l3VW//iMdT1rVBOIR7lGD+YTgFHVI6p8bajA5E7ACGZeoiDo5yHzYC4davNlhZ/oVBByOHjPFwB9BXlxRGRpoeoOOLUAN03VPkqjqAAO+BVJftH9V5/tZPe56r5T9bCdiAmRZVV7gvu3O4scF34IIn5j/Pu2h/zTkg0qAuM5qjXuu33IkLCLgz/SdbYe5FRev7xJD+njqoqCxGV4nPERCN6s1cNxxng6WiErrEjew== 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 MW5PR11MB5906.namprd11.prod.outlook.com (2603:10b6:303:1a0::21) by BN6PR1101MB2275.namprd11.prod.outlook.com (2603:10b6:405:54::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.18; Fri, 22 Jul 2022 06:47:07 +0000 Received: from MW5PR11MB5906.namprd11.prod.outlook.com ([fe80::7441:64b2:df24:2649]) by MW5PR11MB5906.namprd11.prod.outlook.com ([fe80::7441:64b2:df24:2649%9]) with mapi id 15.20.5417.026; Fri, 22 Jul 2022 06:47:07 +0000 From: "Yuwei Chen" To: Konstantin Aladyshev , "devel@edk2.groups.io" CC: "Feng, Bob C" , "Gao, Liming" Subject: Re: [PATCH] BaseTools/VolInfo: Increase define for highest section value Thread-Topic: [PATCH] BaseTools/VolInfo: Increase define for highest section value Thread-Index: AQHYmqW8b5D76GhU10Su06VzGPW/DK2J+DJg Date: Fri, 22 Jul 2022 06:47:07 +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.5.1.3 dlp-reaction: no-action dlp-product: dlpe-windows 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: ca2c219d-b2c2-479e-aec5-08da6badfe92 x-ms-traffictypediagnostic: BN6PR1101MB2275: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: bgL86azGBkxVN8cUuhdk9iHToipWQr2cUG50qwj0iGds8Ok1VoEZDKkCjYFWwVi+JRGk+MnC9YSJ/wrOsAw5ezp8PYeKI71Vh1JT7bA+dZ8B/trG7mgg44tfOB+LncNfjUzB6IRzAU0U6WlPHYjnQFpK/SgWZ2uVPDn9jKsIGURpcGUdzVC1MQrqa+UgGcgCAq3n0RDnffP20XOjp97ioPQqBEY0BAIz3irRxF8twaHnMsQ6z5ua+BA4j6/Mk22Au26JmtfPZtgKNmnDHn/vzTHp6482lg6wJUb+De3WpjndGNF1Q2J/MxSCil7KwplVA8r45wHaRcNRe+q9XlceBHOKceHASKkviehSQj0Zy1bFvXa0ewkwXZ2+rzl8+0PioZexwFVLRtTpo6vdSV9vXol63MjMxAajqirr2yrQr/U1WG0tuDeEKgLT+2ck1L3calBoa8Qp1KLp34lv3pTZ/q0jOS/NVZAJbd3GTy/T+bSK+j5147q7ZsZ833UeOsGaR/JFDOw+le0DKzLMTQLQrOIB4dpLc4Cn/coA2ufe1LZRsJt9t7AhGh2mLHaDpEDDekKIylqdJjwbByKcm9YSPrD6UIA5IHJy59Ws/ZtC17rzqHctyzSfVyKcgoDZDTW7wZikWyMGb/yVIm3CEYzPPHvTNR/6woPBtmPgBNuvcogq7yaz6yCRx1XGMzwSjhnFTj6VXUlgG0kyD8fPdc08jmbSaL3n24bpBcVifvdFdehCqyI0MghzQkKah7r0oCsq420PohQelTUUbgNsAtHOJrIr6OS70hjrMsdlv4tXgdc= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW5PR11MB5906.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(39860400002)(366004)(396003)(346002)(376002)(136003)(186003)(76116006)(110136005)(55016003)(71200400001)(66446008)(41300700001)(54906003)(4326008)(8676002)(26005)(66946007)(9686003)(6506007)(7696005)(53546011)(64756008)(2906002)(66476007)(66556008)(33656002)(86362001)(83380400001)(38100700002)(122000001)(8936002)(316002)(5660300002)(52536014)(478600001)(82960400001)(38070700005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?dg/XuJ5L62xqPqkMMQvqoKKOrGM7gyy4AVrCYn9inVY+VjoTCEG3DU1cW4dc?= =?us-ascii?Q?0f/LROAUJDLUaM2+abimRjQTUUElRMhJtBg3VdXwO5cK9OyaN1mXvaqtyUC7?= =?us-ascii?Q?BviPRjztxQQ3DprmRHdxnpiWu80nlnpOWlarADlwqwjC/WYmWesFFWyn4yuh?= =?us-ascii?Q?swcQ21gAKWyUaJXtxqOBz8AsZ4jbY1ifi6E8Xcz8HlJyQOEefaxafC2AW5Za?= =?us-ascii?Q?5GOnL+pKCcLgxzUtmUHDe2FWJmflOy9tMn1iITOTLZpgxlop+Rjo9Vk7FUKm?= =?us-ascii?Q?Ix8DLXPZL8Pl1PswxqpOMHi/5bITAdVV4vSNQXvISYQSxN4t1f2jHKS0ynrl?= =?us-ascii?Q?DFJvYXIQodqT7lSANQg3sY6j9706kJ3IbBsE40YR1c/HCJIj31HVeFqUbrtv?= =?us-ascii?Q?MoYHQYdIncj0Cgw0+YArM0n/ACpDsfVF/rB5NNnqv6LTINRKMbOtuu3Aju8Y?= =?us-ascii?Q?sV3F+lfJAwRC+ATa5vGkQukCO8VSisr7AXnB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/tuFYJ98KSJhciD3h8sulKlv2eUe1KjPV/Ng2GNCQvxixSmQBx+hP?= =?us-ascii?Q?XDT2QH37fzgO4rpEWd4WX1F27PJ5Bg+m0i4Y5l4eZdu4LSdVHOR2iCAY7kiZ?= =?us-ascii?Q?ulDoyrDf8iMrDIsWEio8KOt8HuqNR8jSv04YYvDY9CtobnWFhO0wKFNWrkUR?= =?us-ascii?Q?tsfMk2hefB/J6be7+LDYczLctk80C0zS0hrn8Hn7?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW5PR11MB5906.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ca2c219d-b2c2-479e-aec5-08da6badfe92 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jul 2022 06:47:07.0417 (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: pVD26Imtp1ET9Qh8TrkY5Mo5sYoXWOJiiOWqUIQnkBRwNJVS5jiextyv/WK26In17ApsxnCJwLFX+tAeeUli9g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1101MB2275 Return-Path: yuwei.chen@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Yuwei Chen > -----Original Message----- > From: Konstantin Aladyshev > 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 > value >=20 > 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 parsi= ng. >=20 > Signed-off-by: Konstantin Aladyshev > --- > BaseTools/Source/C/VolInfo/VolInfo.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/BaseTools/Source/C/VolInfo/VolInfo.h > b/BaseTools/Source/C/VolInfo/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_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"-- > 2.25.1