From nobody Tue Feb 10 02:44:00 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+59215+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+59215+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1589233883; cv=none; d=zohomail.com; s=zohoarc; b=R1hoepzGPj7xyJXKqtbPF4A/ziBFIDX1UUz6KgowXlXGRIp4LJpP2beGy9q9ccEOp179/7f3MEQOH2xxjHF2qc+VyMO8WIf5ca13zhv0j+KpwdEQBaigXFmizwiXRSGCTwBaDRnBZa42eNTphoYT33xytTwlnc9h3QqGn9KOdlY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1589233883; h=Content-Type:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=KG0pSfPKfNqvBnjAGv4dWKzU50PQpzyycgh/lF5l/qw=; b=fD8OJtCXp1YIOMezihOPOJd+ArW0obLUlJMJg5cFeFC3PzFAykYAZmiZyVvGipFwMpoWmyto/BMgRc8cfDCrg4gPMkIGE2TxA+BT/STKQ57ozWmUv3Drnl0C/dlvp1NdRu8fMobZxNSOTOTA+iEoQswxwEOa6F4fF5gNjvA8afE= 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+59215+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 158923388386096.21657121394765; Mon, 11 May 2020 14:51:23 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 7VlJYY1788612x5q6MHyUb2C; Mon, 11 May 2020 14:51:23 -0700 X-Received: from atlmailgw2.ami.com (atlmailgw2.ami.com []) by mx.groups.io with SMTP id smtpd.web11.2588.1589233879512116435 for ; Mon, 11 May 2020 14:51:23 -0700 X-AuditID: ac10606f-05fff70000001b62-a6-5eb9c8dab42c 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 61.90.07010.AD8C9BE5; Mon, 11 May 2020 17:51:22 -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; Mon, 11 May 2020 17:50:45 -0400 From: "Oleksiy Yakovlev" To: CC: , , , , , Subject: [edk2-devel] [PATCH V3 4/5] MdePkg: Add FMP Capsule Image Header extension Date: Mon, 11 May 2020 17:50:39 -0400 Message-ID: <20200511215040.31780-5-oleksiyy@ami.com> In-Reply-To: <20200511215040.31780-1-oleksiyy@ami.com> References: <20200511215040.31780-1-oleksiyy@ami.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrNIsWRmVeSWpSXmKPExsWyRiBhgu6tEzvjDDbfVbFonzCbzeLqrV9M FvO+zWC1WHFvA7tFR8c/JgdWj+3fLzB6LN7zkimAKaqB0SYxLy+/JLEkVSEltTjZVimgKLMs MblSSSEzxVbJUEmhICcxOTU3Na/EVimxoCA1L0XJjksBA9gAlWXmKaTmJeenZOal2yp5Bvvr WliYWuoaKtmFZKQqZOal5RflJpZk5ucpJOfnlQBVp6YARRUSujkzLm/ZyljwmLtifstTtgbG 35xdjJwcEgImEhO/97N1MXJxCAnsYpLomv6eFcLZwijxd+thJpAqNgFNiQPHpjCC2CICUhJT DsxkAiliFpjIKLF1w2I2kISwgJvElAf3WUBsFgFViRMTXoLFeQVMJaYcW8MMsU5DYtqau2BD OQXMJI5//8kOYgsB1ezdMp8Rol5Q4uTMJ2BzmAUkJA6+eMEMUSMr0Xb8OfsERv5ZSMpmISlb wMi0ilEosSQnNzEzJ73cSC8xN1MvOT93EyMk5vJ3MH78aH6IkYmD8RCjBAezkghvS+bOOCHe lMTKqtSi/Pii0pzU4kOMTkAPTGSW4gYFITBO4o0NDKREYRxDEzMTcyNzQ0sTc2NjJXHeSWvX xAkJpAPjNjs1tSC1CGYIEwenVANjWsSzvc08XOf22Kr98TsUHDKvP7fEsOAny9pPqtumFm66 2/Hs67X1H6O9ZU7pTPpp9a+dbc7h//7bUmP25OqZfGTybFmWMv21u5O+/tIHi++KBUnPYfsn yJDPP1VYOG/u3/aPYlO5eXI2tLjclFcu7hbr//DsiCbDG3ON1+tT7qzef7Jnsoi0EktxRqKh FnNRcSIAD9/9m84CAAA= 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: zz1Tk6CRvDMwhcRVHbwooryqx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1589233883; bh=xHof5eqcJ3/PR8+m05d6RaFfVDyxsled9k5q15qqBc0=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=TP5TJE1eDzSNNntLUw6zxpiHLjC1CfGFJA3jbAUSLmF8eljrtaaJ5nQu7pXRGu3Mhdk f9LabqjGxnCKJ1Ub8Jgfj/cWOsYWFCcRz9DggQZASYEJBPB6jtUxFBcVkjAmZ6phbP4xi LvoMU+Yz7uSmOsDVWfbxvydnAKv/SVksEoY= 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 determine if a capsule contains an authentication section or depex section. (UEFI 2.8 errata a, mantis 2026) Signed-off-by: Oleksiy Yakovlev Reviewed-by: Liming Gao --- 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..bd5cb77 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 payl= oad. + /// #define CAPSULE_SUPPORT_AUTHENTICATION 0x0000000000000001 + /// #define CAPSULE_SUPPORT_DEPENDENCY 0x0000000000000002 + /// + UINT64 ImageCapsuleSupport; } 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 (#59215): https://edk2.groups.io/g/devel/message/59215 Mute This Topic: https://groups.io/mt/74146780/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-