From nobody Mon Feb 9 00:30:39 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+57232+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+57232+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1586548749; cv=none; d=zohomail.com; s=zohoarc; b=LvQ5n7gaZX/tV5sbQ2ciLS3JbmB/oxzeVUN/+S1ASQsM+R9bluY/+JUWt3ezsLkeNgCD7PPnpwmMT8wuwwtMfuWjOWt8qZ1ULK9jgp/67Hobh95ldAyj1Jd7NiL7QSVaK3innkZ+l/BwJSMA7c/J6zwNUaXivo3Ld8zJgUjVrVQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1586548749; h=Content-Type:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=fqhD35QCEmMQjhxHtNFfV2IvEZ8m/rHllLC8n0sppbA=; b=cxVQupop+usD2AYhGuoPxGYHu7X1rEyDF3DiOFuor0j5w61292PwPeCCHXq26H0+/Tc7fZpZskpOSXsDX07HxQ7kTj2Ri9V9sfhT+zBLQ+C7TxXILIS+l3tUU2C7g9B7z0PH5havyJEhWyKfW6x0V1yFCRE182FrjAlxncTtHOo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+57232+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1586548749100401.67329173256974; Fri, 10 Apr 2020 12:59:09 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id uLDsYY1788612xUXj4kSB578; Fri, 10 Apr 2020 12:59:08 -0700 X-Received: from atlmailgw2.ami.com (atlmailgw2.ami.com []) by mx.groups.io with SMTP id smtpd.web10.4775.1586548745519333089 for ; Fri, 10 Apr 2020 12:59:08 -0700 X-AuditID: ac10606f-049ff70000001b62-97-5e90d00c136f X-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 7D.3C.07010.C00D09E5; Fri, 10 Apr 2020 15:59:09 -0400 (EDT) X-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; Fri, 10 Apr 2020 15:58:10 -0400 From: "Oleksiy Yakovlev" To: CC: , , , Subject: [edk2-devel] [PATCH 4/4] MdePkg: Add FMP Capsule Image Header extension Date: Fri, 10 Apr 2020 15:58:03 -0400 Message-ID: <20200410195803.19972-5-oleksiyy@ami.com> In-Reply-To: <20200410195803.19972-1-oleksiyy@ami.com> References: <20200410195803.19972-1-oleksiyy@ami.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrLIsWRmVeSWpSXmKPExsWyRiBhgi7vhQlxBiu+MFm0T5jNZrHi3gZ2 i46Of0wOzB7bv19g9Fi85yVTAFNUA6NNYl5efkliSapCSmpxsq1SQFFmWWJypZJCZoqtkqGS QkFOYnJqbmpeia1SYkFBal6Kkh2XAgawASrLzFNIzUvOT8nMS7dV8gz217WwMLXUNVSyC8lI VcjMS8svyk0syczPU0jOzysBqk5NAYoqJHRzZpw7+Y6xYAt3ReuxTuYGxgucXYwcHBICJhJf DjN1MXJxCAnsYpLY3TiPHcLZwijxa+k3ti5GTg42AU2JA8emMILYIgJSElMOzGQCsZkFEiTu 3rgHViMs4CzR++o+mM0ioCpxastJdhCbV8BUou3sbrC4hICGxLQ1d5lAFnMKmEnsnGYPYgoB lUxeEwxRLShxcuYTFojpEhIHX7xgBrGFBGQl2o4/Z5/AyD8LSdksJGULGJlWMQolluTkJmbm pJcb6SXmZuol5+duYoTEVf4Oxo8fzQ8xMnEwHmKU4GBWEuH1buqNE+JNSaysSi3Kjy8qzUkt PsToBHT+RGYpblDwAeMj3tjAQEoUxjE0MTMxNzI3tDQxNzZWEuet1/eJExJIB8ZrdmpqQWoR zBAmDk6pBkbTM5+rd6ZXBizpFNiSKbO3aa/m7PxmOzmDBRudVbec0l+2aIb1hi01wq5JOeda Y8TdCjV/f43eMcPYNfDvM/1PvWJLZv9efXPNpbnWP1ad0VjyzDy8baGNRHPGJfHee9GvD7fq Cyecn1T0WNHWicPqaJBkWr2ZZJ7QXj+vJ065B26bBs29maHEUpyRaKjFXFScCABoN/5pwAIA AA== Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,oleksiyy@ami.com X-Gm-Message-State: b9ZvojB9VbePEzlKFKHIzBfnx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1586548748; bh=NpVlb60Z0r6GctnnNGxb21UqlWfovlHD1ubCF8Mgpqc=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=OFSFwamDNV/+srw6w09Ej4s8RK9uXJraqjjt6GPQFJBTEQ86zYTzbVkguLJPUhMpmoL feOgvtK7v338hVHQUm0KybalkJG8U/A7xMN3tiTqzDx5Bu8Npx2mQvXKpDse/rFF+kFqb w3HGny/gRiHErULTLfWQyv3tfEeI5Y6prDo= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add bitmask to structure which gives a binary-inspectable mechanism to dete= rmine if a capsule contains an authentication section or depex section. (UEFI 2.8 errata a, mantis 2026) Signed-off-by: Oleksiy Yakovlev Reviewed-by: Bret Barkelew Reviewed-by: Zhiguang Liu --- 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/FmpCaps= ule.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; + =20 + /// + /// A 64-bit bitmask that determines what sections are added to the payl= oad. + /// #define CAPSULE_SUPPORT_AUTHENTICATION 0x0000000000000001 + /// #define CAPSULE_SUPPORT_DEPENDENCY 0x0000000000000002 + /// + UINT64 ImageCapsuleSupport;=20 } EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER; =20 #pragma pack() =20 =20 #define EFI_FIRMWARE_MANAGEMENT_CAPSULE_HEADER_INIT_VERSION 0x000000= 01 -#define EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER_INIT_VERSION 0x000000= 02 +#define EFI_FIRMWARE_MANAGEMENT_CAPSULE_IMAGE_HEADER_INIT_VERSION 0x000000= 03 +#define CAPSULE_SUPPORT_AUTHENTICATION 0x0000000000000001 +#define CAPSULE_SUPPORT_DEPENDENCY 0x0000000000000002 =20 extern EFI_GUID gEfiFmpCapsuleGuid; =20 --=20 2.9.0.windows.1 Please consider the environment before printing this email. The information contained in this message may be confidential and proprieta= ry 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 telephon= e at 770-246-8600, and then delete or destroy all copies of the transmissio= n. -=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 (#57232): https://edk2.groups.io/g/devel/message/57232 Mute This Topic: https://groups.io/mt/72930098/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-