From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 40F647803CE for ; Thu, 25 Apr 2024 00:17:22 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=hLuOtmMouRj/QhyTxu2y9HSmLzDfWQWWQwa0H4SzFh8=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1714004240; v=1; b=S26udQtG/yb7+HH2IBZODJIJN1QhvPmk+03f3Bq+9IrUxFv3G0go3RgUcir8/CilhTf44ni0 irxXx4x7o2r/sL7Sgb5p4z8rWoVpuIYnb7sg4tlIg3+/mWPZNz1fkaCbPULun0P5bpPPgrwcroP NhSM0masnn+uYsAtrh5an5L7YdwHXZTNqTLKCedAjoqWdavHsEB1Bz2p5Eh3pDL6E4P/p3YzOMb hNM23usHH1ukPEUW51uM8CfDVzww3lagyArETcqBdvMDQWMBpwgA/1maWjcWbu4Mnnc2sy4RRYf 60cWwqkXCLsoFWyDWW5C6jrSJoAoyVkgrVUERrKvml/yQ== X-Received: by 127.0.0.2 with SMTP id dabBYY7687511xnaZ6um6ym6; Wed, 24 Apr 2024 17:17:20 -0700 X-Received: from NAM11-DM6-obe.outbound.protection.outlook.com (NAM11-DM6-obe.outbound.protection.outlook.com [40.107.223.136]) by mx.groups.io with SMTP id smtpd.web10.13128.1713953864948154311 for ; Wed, 24 Apr 2024 03:17:45 -0700 X-Received: from BL3PR10MB6161.namprd10.prod.outlook.com (2603:10b6:208:3bc::16) by SJ0PR10MB4653.namprd10.prod.outlook.com (2603:10b6:a03:2d7::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Wed, 24 Apr 2024 10:17:42 +0000 X-Received: from BL3PR10MB6161.namprd10.prod.outlook.com ([fe80::78e5:e1a1:9770:f20a]) by BL3PR10MB6161.namprd10.prod.outlook.com ([fe80::78e5:e1a1:9770:f20a%5]) with mapi id 15.20.7472.044; Wed, 24 Apr 2024 10:17:42 +0000 From: "Sachin Ganesh via groups.io" To: "devel@edk2.groups.io" CC: "gaoliming@byosoft.com.cn" , "zhiguang.liu@intel.com" , "michael.d.kinney@intel.com" , "ardb+tianocore@kernel.org" , "kraxel@redhat.com" , "jiewen.yao@intel.com" , "erdemaktas@google.com" , "min.m.xu@intel.com" , "thomas.lendacky@amd.com" , Felix Polyudov , Dhanaraj V , Sachin Ganesh Subject: [edk2-devel] [PATCH 6/7] MdePkg: Consolidate revision macros Thread-Topic: [PATCH 6/7] MdePkg: Consolidate revision macros Thread-Index: AQHaljCkRtdQNREM7kmM2gTSZOCsEw== Date: Wed, 24 Apr 2024 10:17:42 +0000 Message-ID: <20240424101732.4199-1-sachinganesh@ami.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BL3PR10MB6161:EE_|SJ0PR10MB4653:EE_ x-ms-office365-filtering-correlation-id: 0a72fd1e-1e1d-435d-1286-08dc6447c71d x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: =?iso-8859-1?Q?YYBX+iJyvu/J/AEque8qXXTxtzeiKtWYa++zuZVeUtNlIbL4NcYC+G6c8e?= =?iso-8859-1?Q?WVZwLhcqInAJE/P7qTd8aJ7Z2XohDpUYl2IDJv11eA0B0orWKp1lUrS5+S?= =?iso-8859-1?Q?oVYqv2gSjmkHOpYv/SlVQZA3BjlEXQKPbh2xFdQAolHF4R3xz5QA5O5PLK?= =?iso-8859-1?Q?YrUA/kQ4cQ5wBjeDT33FqUfz+WoPfni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D8KmNkRlrvoHs4HY88sPH23UoVNUiTbX3T+ZHKu1Mz6M70Rm4Nf?= =?iso-8859-1?Q?Mpn3/cLDZXbwCJbY47ouuFF7YLhWKMUJ935Vt1wHwrTyxQmMcOB5PHJqxA?= =?iso-8859-1?Q?kT7XtP4wqgUDDHHf+09oElJpFYaG69dNMVujt7lckROFjbg+OeyixkeTGY?= =?iso-8859-1?Q?ORqejuuLwxcCURm1pM3LSaYtieSpu4Ezkszqgwe0SHdhwfwM7F0Uf4WGgP?= =?iso-8859-1?Q?mrv/NgpiTN9IdFK9EHwYx4W+r7vYMLBqeq/0fi2gxB8aGA7QJnv0ZcI3nk?= =?iso-8859-1?Q?oDE9U3/QGLNqmyajTwvAEjiYDIufmbUA=3D=3D?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?/2q/diX35bOPtZ30/6B+VaDkGx31RZzpLLianJt+/uGIM5ShcvTg4qTeAE?= =?iso-8859-1?Q?dpuqh7WudmwVAuTsC7yaLjusMjp595CIxoFw070GysIrQoNtqgSJzm6PJZ?= =?iso-8859-1?Q?xLkixiPkErGy64b8AfJ/ra531RpQ/w/NwiAvhMi5kzDRmWwyNjC1BloW8H?= =?iso-8859-1?Q?P6794ysx8re1Hi3gjhaGX79ce6GZK5yZK8zAI5WnHQ1ix8T7ZGEv4RFjVg?= =?iso-8859-1?Q?Tq5nhv2YfUBL1yHB/SDJnirfQiAT/XqHUARrJb9fawbm6GcM2Dkj/aEUEn?= =?iso-8859-1?Q?wpkdFeuNrE+rwhQ4CJwtgOsWG7gh1/5MiCnbaeGaDMHog0yNJegPNjoXpE?= =?iso-8859-1?Q?TWoh11yYvHBMOcKHX+z1nCARvh1wfC70DciI8gQSV+rfV+xnFw3MS5/W1p?= =?iso-8859-1?Q?GpfrH0OUU1OUfmYIbjCatTX34ntm8j1XQT7xWwKkh/Z4YPbJlRa6jsDs7D?= =?iso-8859-1?Q?ijRxxMvHdwIHLo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8859-1?Q?fTuYFA919OyKBDLA7jU6av66fIzaXOkIlQn9D05khbEhxnUj+4BdLPn3tj?= =?iso-8859-1?Q?KYKF1hK5CSl80jD68mgxidf/b8p2LPyFEbglTgO5nq+CD/fLBMS9J1Kod9?= =?iso-8859-1?Q?x4a2qrJ/rfBW/8/OnGs+GAAZ0m44fOmX5oxg//MZFk9uLasJYuuIYkrEhT?= =?iso-8859-1?Q?c2UD/szjxsPqSDIAIZTtCovwjPk8rrMNiwwaGcsCddNzpujBBz+ZCxUtjb?= =?iso-8859-1?Q?VqoUWz8nrgXZ2h7vkxeM4SH7M0mXvYXI1EowH73lXm/S3t/dp2Pr2skA?= =?iso-8859-1?Q?=3D=3D?= MIME-Version: 1.0 X-OriginatorOrg: ami.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL3PR10MB6161.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0a72fd1e-1e1d-435d-1286-08dc6447c71d X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Apr 2024 10:17:42.5725 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 27e97857-e15f-486c-b58e-86c2b3040f93 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Hir1NPCk16oh4J6GwnBjMPgYgnsxgqo8jpuWDGlOdayg2f8C4ybWzdDP7+2zi/V0nicGiigc6AaDP201pv03aQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB4653 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Wed, 24 Apr 2024 17:17:19 -0700 Resent-From: sachinganesh@ami.com Reply-To: devel@edk2.groups.io,sachinganesh@ami.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: aoKf6c7r1zHOxVdSOt9SccXnx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=S26udQtG; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io Revision macros of PEI/DXE/MM specifications have been consolidated to a si= ngle PI macro Cc: Felix Polyudov Cc: Dhanaraj V Cc: Liming Gao Signed-off-by: Sachin Ganesh --- MdePkg/Include/Pi/PiDxeCis.h | 4 ++-- MdePkg/Include/Pi/PiMmCis.h | 6 +++--- MdePkg/Include/Pi/PiMultiPhase.h | 6 ++++++ MdePkg/Include/Pi/PiPeiCis.h | 4 ++-- MdePkg/Include/Pi/PiSmmCis.h | 2 +- 5 files changed, 14 insertions(+), 8 deletions(-) diff --git a/MdePkg/Include/Pi/PiDxeCis.h b/MdePkg/Include/Pi/PiDxeCis.h index 04410c5a1a..226b6e20a4 100644 --- a/MdePkg/Include/Pi/PiDxeCis.h +++ b/MdePkg/Include/Pi/PiDxeCis.h @@ -691,8 +691,8 @@ EFI_STATUS // DXE Services Table // #define DXE_SERVICES_SIGNATURE 0x565245535f455844ULL -#define DXE_SPECIFICATION_MAJOR_REVISION 1 -#define DXE_SPECIFICATION_MINOR_REVISION 70 +#define DXE_SPECIFICATION_MAJOR_REVISION PI_SPECIFICATION_MAJOR_REVISION +#define DXE_SPECIFICATION_MINOR_REVISION PI_SPECIFICATION_MINOR_REVISION #define DXE_SERVICES_REVISION ((DXE_SPECIFICATION_MAJOR_REVISI= ON<<16) | (DXE_SPECIFICATION_MINOR_REVISION)) typedef struct { diff --git a/MdePkg/Include/Pi/PiMmCis.h b/MdePkg/Include/Pi/PiMmCis.h index 01340952d8..7a9f151e59 100644 --- a/MdePkg/Include/Pi/PiMmCis.h +++ b/MdePkg/Include/Pi/PiMmCis.h @@ -20,10 +20,10 @@ typedef struct _EFI_MM_SYSTEM_TABLE EFI_MM_SYSTEM_TABLE= ; /// #define MM_MMST_SIGNATURE SIGNATURE_32 ('S', 'M', 'S', 'T') /// -/// The Management Mode System Table (MMST) revision is 1.6 +/// The Management Mode System Table (MMST) revision /// -#define MM_SPECIFICATION_MAJOR_REVISION 1 -#define MM_SPECIFICATION_MINOR_REVISION 60 +#define MM_SPECIFICATION_MAJOR_REVISION PI_SPECIFICATION_MAJOR_REVISION +#define MM_SPECIFICATION_MINOR_REVISION PI_SPECIFICATION_MINOR_REVISION #define EFI_MM_SYSTEM_TABLE_REVISION ((MM_SPECIFICATION_MAJOR_REVISION= <<16) | (MM_SPECIFICATION_MINOR_REVISION)) /** diff --git a/MdePkg/Include/Pi/PiMultiPhase.h b/MdePkg/Include/Pi/PiMultiPh= ase.h index a7e95820ef..681662b76c 100644 --- a/MdePkg/Include/Pi/PiMultiPhase.h +++ b/MdePkg/Include/Pi/PiMultiPhase.h @@ -20,6 +20,12 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #include #include +// +// PI Specification Revision information +// +#define PI_SPECIFICATION_MAJOR_REVISION 1 +#define PI_SPECIFICATION_MINOR_REVISION 70 + /** Produces an error code in the range reserved for use by the Platform Ini= tialization Architecture Specification. diff --git a/MdePkg/Include/Pi/PiPeiCis.h b/MdePkg/Include/Pi/PiPeiCis.h index 69eec2c473..c65df9378e 100644 --- a/MdePkg/Include/Pi/PiPeiCis.h +++ b/MdePkg/Include/Pi/PiPeiCis.h @@ -846,8 +846,8 @@ EFI_STATUS // // PEI Specification Revision information // -#define PEI_SPECIFICATION_MAJOR_REVISION 1 -#define PEI_SPECIFICATION_MINOR_REVISION 70 +#define PEI_SPECIFICATION_MAJOR_REVISION PI_SPECIFICATION_MAJOR_REVISION +#define PEI_SPECIFICATION_MINOR_REVISION PI_SPECIFICATION_MINOR_REVISION /// /// Specification inconsistency here: /// In the PI1.0 spec, PEI_SERVICES_SIGNATURE is defined as 0x565245532049= 4550. But diff --git a/MdePkg/Include/Pi/PiSmmCis.h b/MdePkg/Include/Pi/PiSmmCis.h index bf5b580c32..886b5e4a38 100644 --- a/MdePkg/Include/Pi/PiSmmCis.h +++ b/MdePkg/Include/Pi/PiSmmCis.h @@ -15,7 +15,7 @@ typedef struct _EFI_SMM_SYSTEM_TABLE2 EFI_SMM_SYSTEM_TABLE2; // -// Define new MM related definition introduced by PI 1.5. +// MM related definitions // #define SMM_SMST_SIGNATURE MM_MMST_SIGNATURE #define SMM_SPECIFICATION_MAJOR_REVISION MM_SPECIFICATION_MAJOR_REVISION -- 2.24.1.windows.2 -The information contained in this message may be confidential and propriet= ary to American Megatrends (AMI). This communication is intended to be read= only by the individual or entity to whom it is addressed or by their desig= nee. If the reader of this message is not the intended recipient, you are o= n notice that any distribution of this message, in any form, is strictly pr= ohibited. Please promptly notify the sender by reply e-mail or by telephone= at 770-246-8600, and then delete or destroy all copies of the transmission= . -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#118246): https://edk2.groups.io/g/devel/message/118246 Mute This Topic: https://groups.io/mt/105721897/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-