From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atlmailgw2.ami.com (atlmailgw2.ami.com []) by mx.groups.io with SMTP id smtpd.web12.2361.1588880169561156772 for ; Thu, 07 May 2020 12:36:13 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: ami.com, ip: , mailfrom: oleksiyy@ami.com) X-AuditID: ac10606f-05fff70000001b62-4a-5eb4632ca42c Received: from atlms1.us.megatrends.com (atlms1.us.megatrends.com [172.16.96.144]) (using TLS with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by atlmailgw2.ami.com (Symantec Messaging Gateway) with SMTP id 23.2B.07010.C2364BE5; Thu, 7 May 2020 15:36:12 -0400 (EDT) Received: from Oleksiy77.us.megatrends.com (172.16.97.158) by atlms1.us.megatrends.com (172.16.96.144) with Microsoft SMTP Server id 14.3.468.0; Thu, 7 May 2020 15:34:48 -0400 From: "Oleksiy Yakovlev" To: CC: , , , Subject: [PATCH v2 4/4] MdePkg: Add FMP Capsule Image Header extension Date: Thu, 7 May 2020 15:34:43 -0400 Message-ID: <20200507193443.76728-5-oleksiyy@ami.com> X-Mailer: git-send-email 2.9.0.windows.1 In-Reply-To: <20200507193443.76728-1-oleksiyy@ami.com> References: <20200507193443.76728-1-oleksiyy@ami.com> MIME-Version: 1.0 Return-Path: oleksiyy@ami.com X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHIsWRmVeSWpSXmKPExsWyRiBhgq5O8pY4g7crxSzaJ8xms1hxbwO7 RUfHPyYHZo/t3y8weize85IpgCmqgdEmMS8vvySxJFUhJbU42VYpoCizLDG5UkkhM8VWyVBJ oSAnMTk1NzWvxFYpsaAgNS9FyY5LAQPYAJVl5imk5iXnp2TmpdsqeQb761pYmFrqGirZhWSk KmTmpeUX5SaWZObnKSTn55UAVaemAEUVEro5M+71LGIv2MRd0Xqsk7mB8QJnFyMnh4SAicSX 979Yuxi5OIQEdjFJTN54hw3C2cwosbm5ix2kik1AU+LAsSmMILaIgJTElAMzmUBsZoEEibs3 7rGB2MICbhI7Fr5jBrFZBFQkXt64BDSVg4NXwFTiYpMhxDINiWlr7oK1cgqYSRz49pAdpEQI pGSvB0iYV0BQ4uTMJywQ0yUkDr54ATZRSEBWou34c/YJjPyzkJTNQlK2gJFpFaNQYklObmJm Tnq5kV5ibqZecn7uJkZIZOXvYPz40fwQIxMH4yFGCQ5mJRFenh8b44R4UxIrq1KL8uOLSnNS iw8xOgGdP5FZihsUfsAIiTc2MJAShXEMTcxMzI3MDS1NzI2NlcR5J61dEyckkA6M2OzU1ILU IpghTBycUg2Mhp+K3qSua6iNdtjM0tv3iV38j4XT2aOSayv3eWw5Y/TH33/JHH8WsdtOmmYn 41/eSFpv/COc+Vbvs5Yz2cdm7NAX2CU3SfFIQYDpLyMv7Xl6274q7Y8R73KomDvV6Jcyy86D Lus9M3kbJz861mXMv0L85eYpe+rz4/M/37r1+osAh/08hQttSizFGYmGWsxFxYkALvKL8sEC AAA= Content-Type: text/plain Add bitmask to structure which gives a binary-inspectable mechanism to determine if a capsule contains an authentication section or depex section. (UEFI 2.8 errata a, mantis 2026) Signed-off-by: Oleksiy Yakovlev --- MdePkg/Include/Guid/FmpCapsule.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/MdePkg/Include/Guid/FmpCapsule.h b/MdePkg/Include/Guid/FmpCapsule.h index fb8c346..6bbdf0e 100644 --- a/MdePkg/Include/Guid/FmpCapsule.h +++ b/MdePkg/Include/Guid/FmpCapsule.h @@ -79,13 +79,22 @@ typedef struct { /// therefore can be modified without changing the Auth data. /// UINT64 UpdateHardwareInstance; + + /// + /// A 64-bit bitmask that determines what sections are added to the payload. + /// #define CAPSULE_SUPPORT_AUTHENTICATION 0x0000000000000001 + /// #define CAPSULE_SUPPORT_DEPENDENCY 0x0000000000000002 + /// + UINT64 ImageCapsuleSupport; } EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER; #pragma pack() #define EFI_FIRMWARE_MANAGEMENT_CAPSULE_HEADER_INIT_VERSION 0x00000001 -#define EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER_INIT_VERSION 0x00000002 +#define EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER_INIT_VERSION 0x00000003 +#define CAPSULE_SUPPORT_AUTHENTICATION 0x0000000000000001 +#define CAPSULE_SUPPORT_DEPENDENCY 0x0000000000000002 extern EFI_GUID gEfiFmpCapsuleGuid; -- 2.9.0.windows.1 Please consider the environment before printing this email. The information contained in this message may be confidential and proprietary 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 designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. 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.