From nobody Tue May 21 08:07:14 2024 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+57229+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+57229+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1586548747; cv=none; d=zohomail.com; s=zohoarc; b=lKXkrXzAkTFqRQ+BaAbfTYVGZMNQDjdd2SuvyTpHiqAf/HiDQVr6BCcsifONYEeZq/LseeFaMjKQGuu4MtlZeqiqGoc1a2p0W+dMCiQ8Pnbj+LTgHQIad3UfbRRa+LvU2jLtnWSXvy0diOuF52CChn9+ehFQzO6twdltuZvWI6c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1586548747; h=Content-Type:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=zUXxGzJIIbUoIRKHijSc3r1Ct+SULR48+k034xhYjZ4=; b=bNd00QCKFosIDi85CYm9Gj4wC1HLqODtXW3mOpDFLwsE25UKu+l9KwIaKIcBUcf8T0eEciL7ycqzyPb0bU+jYbLtkoOsyPgjm/b3oyfX0Yh5jWDcASH9Soa+dMAOT2CXSXrTd/05LAiyBfpTsDzjp0mv7OGNUKYBTmxRCFBZJHw= 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+57229+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1586548747477829.9210090324882; Fri, 10 Apr 2020 12:59:07 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id mgSaYY1788612xAcEK8pPf6F; Fri, 10 Apr 2020 12:59:07 -0700 X-Received: from atlmailgw1.ami.com (atlmailgw1.ami.com [63.147.10.40]) by mx.groups.io with SMTP id smtpd.web11.4762.1586548746457454550 for ; Fri, 10 Apr 2020 12:59:06 -0700 X-AuditID: ac1060b2-0f7ff700000018d4-c1-5e90d0099a28 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 atlmailgw1.ami.com (Symantec Messaging Gateway) with SMTP id 3A.1C.06356.900D09E5; Fri, 10 Apr 2020 15:59:05 -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:07 -0400 From: "Oleksiy Yakovlev" To: CC: , , , Subject: [edk2-devel] [PATCH 1/4] MdePkg: Add new CPER Notification types Date: Fri, 10 Apr 2020 15:58:00 -0400 Message-ID: <20200410195803.19972-2-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+NgFlrHIsWRmVeSWpSXmKPExsWyRiBhgi7nhQlxBpNuqlq0T5jNZrHi3gZ2 i46Of0wOzB7bv19g9Fi85yVTAFNUA6NNYl5efkliSapCSmpxsq1SQFFmWWJypZJCZoqtkqGS QkFOYnJqbmpeia1SYkFBal6Kkh2XAgawASrLzFNIzUvOT8nMS7dV8gz217WwMLXUNVSyC8lI VcjMS8svyk0syczPU0jOzysBqk5NAYoqJHRzZqzv2cNc8Fi44sLPA2wNjMsFuhg5OSQETCS+ PZjL2MXIxSEksItJ4sqO72wQzhZGiY/z2xlBqtgENCUOHJsCZosISElMOTCTCcRmFkiQuHvj HhuILSxgI3F8wXuwOIuAqsTRzifMIDavgKnEpZkQtoSAhsS0NXeBajg4OAXMJHZOswcxhYBK Jq8JhqgWlDg58wkLxHQJiYMvXoB1CgnISrQdf84+gZF/FpKyWUjKFjAyrWIUSizJyU3MzEkv N9RLzM3US87P3cQIiaxNOxhbLpofYmTiYDzEKMHBrCTC693UGyfEm5JYWZValB9fVJqTWnyI 0Qno/InMUtyg8ANGSLyxgYGUKIxjaGJmYm5kbmhpYm5srCTOW6PvEyckkA6M2OzU1ILUIpgh TBycUg2M/R1xa2a+WWuVnbbkRPuKuo/eWRbTzVdGfj9RqMun5rqnd9mr/hkhreebA6RaWN6V SF6a9jRaJl/0++XL/Y/3aG5lNbQUnvvk1MM5f75vPu6/84zPkSeXLqy6PeGgdarXtkMaswSz X6yNnP1qEUuPyVGXZ2ff7Zh84Vcs/9qrv/a+eeqx7IhOxyQlluKMREMt5qLiRAAFcHfiwQIA 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: EPe3axkp3MI8BKMJ4hN3qc7fx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1586548747; bh=G6GzHdEqZs+Kj2TaTo91S3lVo6RNiSkED+6GTNO+jl4=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=g/ekehW2SwEKeKJwinQdEn242GrT/UjGTOZ8etJlGa3tH+HWDl3Z3RfVqQlwiVxNZpL B98qGOsInsbq+irITjibWHpnDwFBokcQrYInAP6PoQfduGN+n/XxI0vdlHqPSppQwZImv i3jWPWfxeLOeKrBA7yu3gbzGt+VFO80YTr4= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add SEA, SEI, and PEI CPER Notification types defined in UEFI 2.8 errata a. (UEFI 2.8 errata a, mantis 2026) Signed-off-by: Oleksiy Yakovlev --- MdePkg/Include/Guid/Cper.h | 15 +++++++++++++++ MdePkg/MdePkg.dec | 9 +++++++++ 2 files changed, 24 insertions(+) diff --git a/MdePkg/Include/Guid/Cper.h b/MdePkg/Include/Guid/Cper.h index 0cacd30..b401c14 100644 --- a/MdePkg/Include/Guid/Cper.h +++ b/MdePkg/Include/Guid/Cper.h @@ -95,6 +95,18 @@ typedef struct { { \ 0x667DD791, 0xC6B3, 0x4c27, { 0x8A, 0x6B, 0x0F, 0x8E, 0x72, 0x2D, 0xEB= , 0x41 } \ } +#define EFI_EVENT_NOTIFICATION_TYEP_DMAR_SEA \ + { \ + 0x9A78788A, 0xBBE8, 0x11E4, { 0x80, 0x9E, 0x67, 0x61, 0x1E, 0x5D, 0x46= , 0xB0 } \ + } +#define EFI_EVENT_NOTIFICATION_TYEP_DMAR_SEI \ + { \ + 0x5C284C81, 0xB0AE, 0x4E87, { 0xA3, 0x22, 0xB0, 0x4C, 0x85, 0x62, 0x43= , 0x23 } \ + } +#define EFI_EVENT_NOTIFICATION_TYEP_DMAR_PEI \ + { \ + 0x09A9D5AC, 0x5204, 0x4214, { 0x96, 0xE5, 0x94, 0x99, 0x2E, 0x75, 0x2B= , 0xCD } \ + } ///@} =20 /// @@ -1207,6 +1219,9 @@ extern EFI_GUID gEfiEventNotificationTypeInitGuid; extern EFI_GUID gEfiEventNotificationTypeNmiGuid; extern EFI_GUID gEfiEventNotificationTypeBootGuid; extern EFI_GUID gEfiEventNotificationTypeDmarGuid; +extern EFI_GUID gEfiEventNotificationTypeSeaGuid; +extern EFI_GUID gEfiEventNotificationTypeSeiGuid; +extern EFI_GUID gEfiEventNotificationTypePeiGuid; =20 extern EFI_GUID gEfiProcessorGenericErrorSectionGuid; extern EFI_GUID gEfiProcessorSpecificErrorSectionGuid; diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index ac1f533..99e75f7 100644 --- a/MdePkg/MdePkg.dec +++ b/MdePkg/MdePkg.dec @@ -434,6 +434,15 @@ gEfiEventNotificationTypeDmarGuid =3D { 0x667DD791, 0xC6B3, 0x4c27, { 0= x8A, 0x6B, 0x0F, 0x8E, 0x72, 0x2D, 0xEB, 0x41 }} =20 ## Include/Guid/Cper.h + gEfiEventNotificationTypeSeaGuid =3D { 0x9A78788A, 0xBBE8, 0x11E4, { 0= x80, 0x9E, 0x67, 0x61, 0x1E, 0x5D, 0x46, 0xB0 }} + =20 + ## Include/Guid/Cper.h + gEfiEventNotificationTypeSeiGuid =3D { 0x5C284C81, 0xB0AE, 0x4E87, { 0= xA3, 0x22, 0xB0, 0x4C, 0x85, 0x62, 0x43, 0x23 }} + =20 + ## Include/Guid/Cper.h + gEfiEventNotificationTypePeiGuid =3D { 0x09A9D5AC, 0x5204, 0x4214, { 0= x96, 0xE5, 0x94, 0x99, 0x2E, 0x75, 0x2B, 0xCD }} + + ## Include/Guid/Cper.h gEfiProcessorGenericErrorSectionGuid =3D { 0x9876ccad, 0x47b4, 0x4bdb, = { 0xb6, 0x5e, 0x16, 0xf1, 0x93, 0xc4, 0xf3, 0xdb }} =20 ## Include/Guid/Cper.h --=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 (#57229): https://edk2.groups.io/g/devel/message/57229 Mute This Topic: https://groups.io/mt/72930095/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- From nobody Tue May 21 08:07:14 2024 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+57230+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+57230+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1586548747; cv=none; d=zohomail.com; s=zohoarc; b=G3d4q8xGTYsMXK5cZjKeZlNiIGfgNR0f5NRmqko5/cCjwTkYPei4N1EmyjHGkHjiFa/CNq3SE7i/y1ez/0BTrrRMvpB5WZho9V3UsUFLALsHk8Y3U4tU/oisfxfEwuT2Z6Z4fZ4NHakugecng4gsCdzEkT5zqZz9r6zNx/cQdGw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1586548747; h=Content-Type:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=BULK7JillLNkjjGO+xjFTe3d5jV9f79pbg/Ev6vD3hc=; b=S0A1RhBkV0uqQjt8OuaT7MjsKtLZNgI81OFJVEuKBT98x49MZi0Rx5joCSYL4VQDIue9JnCfBhHAFAAXzCJRk8/PgA6VbUTC4BZ/um81wMkjZyoRaa5J6WXWaq1sjSL3dtKyKxWeNaF3sVO0bLxxOwGRN3VwIA6OeR4xqUy3ccg= 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+57230+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1586548747603388.5097440460063; Fri, 10 Apr 2020 12:59:07 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id aAY4YY1788612xLU6OJJd27D; Fri, 10 Apr 2020 12:59:07 -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:06 -0700 X-AuditID: ac10606f-049ff70000001b62-8f-5e90d00a8907 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 0D.3C.07010.A00D09E5; Fri, 10 Apr 2020 15:59:07 -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:08 -0400 From: "Oleksiy Yakovlev" To: CC: , , , Subject: [edk2-devel] [PATCH 2/4] MdePkg: Fix OUT parameters marked as IN OUT Date: Fri, 10 Apr 2020 15:58:01 -0400 Message-ID: <20200410195803.19972-3-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+NgFlrLIsWRmVeSWpSXmKPExsWyRiBhgi73hQlxBvsW81i0T5jNZrHi3gZ2 i46Of0wOzB7bv19g9Fi85yVTAFNUA6NNYl5efkliSapCSmpxsq1SQFFmWWJypZJCZoqtkqGS QkFOYnJqbmpeia1SYkFBal6Kkh2XAgawASrLzFNIzUvOT8nMS7dV8gz217WwMLXUNVSyC8lI VcjMS8svyk0syczPU0jOzysBqk5NAYoqJHRzZhw9co+tYHpExYmH65kbGJ/bdDFyckgImEgs f7uGvYuRi0NIYBeTxOUrO5khnC2MEht/tTKCVLEJaEocODYFzBYRkJKYcmAmE4jNLJAgcffG PTYQW1jAQeLdgjdgcRYBVYlFc2cDDeLg4BUwlbjyKBFimYbEtDV3mUDCnAJmEjun2YOYQkAV k9cEg1TwCghKnJz5hAViuITEwRcvmEFsIQFZibbjz9knMPLPQlI2C0nZAkamVYxCiSU5uYmZ OenlRnqJuZl6yfm5mxghcZW/g/HjR/NDjEwcjIcYJTiYlUR4vZt644R4UxIrq1KL8uOLSnNS iw8xOgFdP5FZihsUfMD4iDc2MJAShXEMTcxMzI3MDS1NzI2NlcR56/V94oQE0oHxmp2aWpBa BDOEiYNTqoGxTkR96qTOB1F17Bqbop9lzAn6sC/F4Z33btlCJV6vutsJjdMXO0+0Oxpyp1dy ZZOepGCaksaWU22L7mpUXd/wrf+++XX9WfIRuct9uOfXvdhyQd9z5vMGT8Wtp45PiddIuPRS 9rtTc8bxnG+O61xOfF/WEzzF48mtdNaJM1eanmnYdSG27PkeJZbijERDLeai4kQAAKOtdsAC AAA= 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: uh5gBerfdHnCu8oJjUR32Yucx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1586548747; bh=so2TaB2xkGWir27H0UzYo1qsvt3CA4t311d7Qy2DSiI=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=prAWDkr+mo0vZTRgYRAC6BtGZnEm21X0RU532YOK3U97Uf2v7L2qP3I3TLQgzSkVs96 4ufR31nlW2IczERx+KMriYF7QnM0ktRPd9iT8xZVSpPoFp/ZM/6T9msyq+W4hiKA5rrNx H3/3dMYMySYRkEHVYwNhl2FLIuLspdbpdco= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Some output parameters throughout the specification were mistakenly marked = as IN OUT. "IN OUT" replaced with "OUT" in the following interfaces EFI_BOOT_SERVICES.GetMemoryMap():MemoryMap EFI_BOOT_SERVICES.LocateHandleBuffer():NoHandles EFI_SIMPLE_POINTER_PROTOCOL.GetState():State EFI_ABSOLUTE_POINTER_PROTOCOL.GetState():State EFI_EDID_OVERRIDE_PROTOCOL.GetEdid():EdidSize and Edid EFI_ATA_PASS_THRU_PROTOCOL.BuildDevicePath():DevicePath EFI_NVM_EXPRESS_PASS_THRU_PROTOCOL.BuildDevicePath():DevicePath EFI_SD_MMC_PASS_THRU_PROTOCOL.BuildDevicePath():DevicePath EFI_EXT_SCSI_PASS_THRU_PROTOCOL.BuildDevicePath():DevicePath EFI_FIRMWARE_MANAGEMENT_PROTOCOL.GetImage():Image (UEFI 2.8 errata a, mantis 2035) Signed-off-by: Oleksiy Yakovlev --- MdePkg/Include/Protocol/AbsolutePointer.h | 2 +- MdePkg/Include/Protocol/AtaPassThru.h | 4 ++-- MdePkg/Include/Protocol/EdidOverride.h | 4 ++-- MdePkg/Include/Protocol/FirmwareManagement.h | 4 ++-- MdePkg/Include/Protocol/NvmExpressPassthru.h | 4 ++-- MdePkg/Include/Protocol/ScsiPassThruExt.h | 2 +- MdePkg/Include/Protocol/SdMmcPassThru.h | 4 ++-- MdePkg/Include/Protocol/SimplePointer.h | 2 +- MdePkg/Include/Uefi/UefiSpec.h | 8 ++++---- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/MdePkg/Include/Protocol/AbsolutePointer.h b/MdePkg/Include/Pro= tocol/AbsolutePointer.h index 77d34ae..d59ac97 100644 --- a/MdePkg/Include/Protocol/AbsolutePointer.h +++ b/MdePkg/Include/Protocol/AbsolutePointer.h @@ -169,7 +169,7 @@ typedef EFI_STATUS (EFIAPI *EFI_ABSOLUTE_POINTER_GET_STATE)( IN EFI_ABSOLUTE_POINTER_PROTOCOL *This, - IN OUT EFI_ABSOLUTE_POINTER_STATE *State + OUT EFI_ABSOLUTE_POINTER_STATE *State ); =20 =20 diff --git a/MdePkg/Include/Protocol/AtaPassThru.h b/MdePkg/Include/Protoco= l/AtaPassThru.h index ce6f57f..888dff2 100644 --- a/MdePkg/Include/Protocol/AtaPassThru.h +++ b/MdePkg/Include/Protocol/AtaPassThru.h @@ -315,7 +315,7 @@ EFI_STATUS @param[in] PortMultiplierPort The port multiplier port number of th= e ATA device for which a device path node is to be allocated a= nd built. If there is no port multiplier, then specify 0xFFFF. - @param[in,out] DevicePath A pointer to a single device path nod= e that describes the ATA + @param[out] DevicePath A pointer to a single device path nod= e that describes the ATA device specified by Port and PortMult= iplierPort. This function is responsible for allocating the buf= fer DevicePath with the boot service AllocatePool(). It is th= e caller's responsibility @@ -334,7 +334,7 @@ EFI_STATUS IN EFI_ATA_PASS_THRU_PROTOCOL *This, IN UINT16 Port, IN UINT16 PortMultiplierPort, - IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath + OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath ); =20 /** diff --git a/MdePkg/Include/Protocol/EdidOverride.h b/MdePkg/Include/Protoc= ol/EdidOverride.h index 9036f8b..709ee48 100644 --- a/MdePkg/Include/Protocol/EdidOverride.h +++ b/MdePkg/Include/Protocol/EdidOverride.h @@ -44,8 +44,8 @@ EFI_STATUS IN EFI_EDID_OVERRIDE_PROTOCOL *This, IN EFI_HANDLE *ChildHandle, OUT UINT32 *Attributes, - IN OUT UINTN *EdidSize, - IN OUT UINT8 **Edid + OUT UINTN *EdidSize, + OUT UINT8 **Edid ); =20 /// diff --git a/MdePkg/Include/Protocol/FirmwareManagement.h b/MdePkg/Include/= Protocol/FirmwareManagement.h index 297bb5f..b501261 100644 --- a/MdePkg/Include/Protocol/FirmwareManagement.h +++ b/MdePkg/Include/Protocol/FirmwareManagement.h @@ -345,7 +345,7 @@ EFI_STATUS @param[in] This A pointer to the EFI_FIRMWARE_MANAGEMENT_= PROTOCOL instance. @param[in] ImageIndex A unique number identifying the firmware = image(s) within the device. The number is between 1 and DescriptorCou= nt. - @param[in, out] Image Points to the buffer where the current im= age is copied to. + @param[out] Image Points to the buffer where the current im= age is copied to. @param[in, out] ImageSize On entry, points to the size of the buffe= r pointed to by Image, in bytes. On return, points to the length of the im= age, in bytes. =20 @@ -364,7 +364,7 @@ EFI_STATUS (EFIAPI *EFI_FIRMWARE_MANAGEMENT_PROTOCOL_GET_IMAGE)( IN EFI_FIRMWARE_MANAGEMENT_PROTOCOL *This, IN UINT8 ImageIndex, - IN OUT VOID *Image, + OUT VOID *Image, IN OUT UINTN *ImageSize ); =20 diff --git a/MdePkg/Include/Protocol/NvmExpressPassthru.h b/MdePkg/Include/= Protocol/NvmExpressPassthru.h index 7420924..870b9b5 100644 --- a/MdePkg/Include/Protocol/NvmExpressPassthru.h +++ b/MdePkg/Include/Protocol/NvmExpressPassthru.h @@ -214,7 +214,7 @@ EFI_STATUS @param[in] NamespaceId The NVM Express namespace ID for whi= ch a device path node is to be allocated and built. Caller must set = the NamespaceId to zero if the device path node will contain a valid= UUID. - @param[in,out] DevicePath A pointer to a single device path nod= e that describes the NVM Express + @param[out] DevicePath A pointer to a single device path nod= e that describes the NVM Express namespace specified by NamespaceId. T= his function is responsible for allocating the buffer DevicePath with= the boot service AllocatePool(). It is the caller's responsibility to = free DevicePath when the caller @@ -231,7 +231,7 @@ EFI_STATUS (EFIAPI *EFI_NVM_EXPRESS_PASS_THRU_BUILD_DEVICE_PATH)( IN EFI_NVM_EXPRESS_PASS_THRU_PROTOCOL *This, IN UINT32 NamespaceId, - IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath + OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath ); =20 /** diff --git a/MdePkg/Include/Protocol/ScsiPassThruExt.h b/MdePkg/Include/Pro= tocol/ScsiPassThruExt.h index c83da26..994fbba 100644 --- a/MdePkg/Include/Protocol/ScsiPassThruExt.h +++ b/MdePkg/Include/Protocol/ScsiPassThruExt.h @@ -259,7 +259,7 @@ EFI_STATUS IN EFI_EXT_SCSI_PASS_THRU_PROTOCOL *This, IN UINT8 *Target, IN UINT64 Lun, - IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath + OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath ); =20 /** diff --git a/MdePkg/Include/Protocol/SdMmcPassThru.h b/MdePkg/Include/Proto= col/SdMmcPassThru.h index 3db6a3e..ac5470b 100644 --- a/MdePkg/Include/Protocol/SdMmcPassThru.h +++ b/MdePkg/Include/Protocol/SdMmcPassThru.h @@ -164,7 +164,7 @@ EFI_STATUS @param[in] This A pointer to the EFI_SD_MMMC_PASS_THRU_PRO= TOCOL instance. @param[in] Slot Specifies the slot number of the SD card f= or which a device path node is to be allocated and built. - @param[in,out] DevicePath A pointer to a single device path node tha= t describes the SD + @param[out] DevicePath A pointer to a single device path node tha= t describes the SD card specified by Slot. This function is r= esponsible for allocating the buffer DevicePath with the = boot service AllocatePool(). It is the caller's respons= ibility to free @@ -182,7 +182,7 @@ EFI_STATUS (EFIAPI *EFI_SD_MMC_PASS_THRU_BUILD_DEVICE_PATH) ( IN EFI_SD_MMC_PASS_THRU_PROTOCOL *This, IN UINT8 Slot, - IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath + OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath ); =20 /** diff --git a/MdePkg/Include/Protocol/SimplePointer.h b/MdePkg/Include/Proto= col/SimplePointer.h index 2f5a940..c631414 100644 --- a/MdePkg/Include/Protocol/SimplePointer.h +++ b/MdePkg/Include/Protocol/SimplePointer.h @@ -109,7 +109,7 @@ typedef EFI_STATUS (EFIAPI *EFI_SIMPLE_POINTER_GET_STATE)( IN EFI_SIMPLE_POINTER_PROTOCOL *This, - IN OUT EFI_SIMPLE_POINTER_STATE *State + OUT EFI_SIMPLE_POINTER_STATE *State ); =20 /// diff --git a/MdePkg/Include/Uefi/UefiSpec.h b/MdePkg/Include/Uefi/UefiSpec.h index 444aa35..29a033c 100644 --- a/MdePkg/Include/Uefi/UefiSpec.h +++ b/MdePkg/Include/Uefi/UefiSpec.h @@ -209,7 +209,7 @@ EFI_STATUS On output, it is the size of the = buffer returned by the firmware if the buffer was large enough, or t= he size of the buffer needed to contain the map if the buffer was too sma= ll. - @param[in, out] MemoryMap A pointer to the buffer in which = firmware places the current memory + @param[out] MemoryMap A pointer to the buffer in which = firmware places the current memory map. @param[out] MapKey A pointer to the location in whic= h firmware returns the key for the current memory map. @@ -230,7 +230,7 @@ typedef EFI_STATUS (EFIAPI *EFI_GET_MEMORY_MAP)( IN OUT UINTN *MemoryMapSize, - IN OUT EFI_MEMORY_DESCRIPTOR *MemoryMap, + OUT EFI_MEMORY_DESCRIPTOR *MemoryMap, OUT UINTN *MapKey, OUT UINTN *DescriptorSize, OUT UINT32 *DescriptorVersion @@ -1554,7 +1554,7 @@ EFI_STATUS @param[in] Protocol Provides the protocol to search by. This parameter is only valid for a SearchT= ype of ByProtocol. @param[in] SearchKey Supplies the search key depending on the S= earchType. - @param[in, out] NoHandles The number of handles returned in Buffer. + @param[out] NoHandles The number of handles returned in Buffer. @param[out] Buffer A pointer to the buffer to return the requ= ested array of handles that support Protocol. =20 @@ -1572,7 +1572,7 @@ EFI_STATUS IN EFI_LOCATE_SEARCH_TYPE SearchType, IN EFI_GUID *Protocol, OPTIONAL IN VOID *SearchKey, OPTIONAL - IN OUT UINTN *NoHandles, + OUT UINTN *NoHandles, OUT EFI_HANDLE **Buffer ); =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 (#57230): https://edk2.groups.io/g/devel/message/57230 Mute This Topic: https://groups.io/mt/72930096/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- From nobody Tue May 21 08:07:14 2024 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+57231+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+57231+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1586548748; cv=none; d=zohomail.com; s=zohoarc; b=lnB9A9Chdf9a8yPoY+k/fkf+BuX3bO2HXZffGX/FNUxPGqngATOg4JuYNVBIYP6rt2w9RSYqN1zjRyu5Zl1m2nyd1NaTL8efzEyAf1JI6rfTU7/HMRnP02MUhmbg5/f8q4ScJpl+w8QbLXLoQ/+CjCaGb7MACeXZ8UEDf4BtyLE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1586548748; h=Content-Type:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=JVZ58yuauKJsrP5fdZ7cRhDIyBZcgr8lT9BqBTeIu/A=; b=ln1o+E+CTwi4Q5PTirqB8oJI7VKrA44QByp+E1jCbiv/tTs24odHogdKgapwyqoPeudIlbUc21hnM730ZKNV/oi/MzCC1vSsXfSx0lwG8caho5OVU64Ku46OjWdUUbob45mW8svRD8I8uRADknySwGEwp8U5Ss5PNM/rTQ2GaXY= 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+57231+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1586548748419228.45866460329205; Fri, 10 Apr 2020 12:59:08 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 2b7wYY1788612xVlQNJ7a247; Fri, 10 Apr 2020 12:59:08 -0700 X-Received: from atlmailgw1.ami.com (atlmailgw1.ami.com []) by mx.groups.io with SMTP id smtpd.web11.4762.1586548746457454550 for ; Fri, 10 Apr 2020 12:59:07 -0700 X-AuditID: ac1060b2-0e1ff700000018d4-c2-5e90d00a93a8 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 atlmailgw1.ami.com (Symantec Messaging Gateway) with SMTP id 7A.1C.06356.B00D09E5; Fri, 10 Apr 2020 15:59:07 -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:09 -0400 From: "Oleksiy Yakovlev" To: CC: , , , Subject: [edk2-devel] [PATCH 3/4] MdePkg: Add EFI_PROPERTIES_TABLE Date: Fri, 10 Apr 2020 15:58:02 -0400 Message-ID: <20200410195803.19972-4-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+NgFlrDIsWRmVeSWpSXmKPExsWyRiBhgi73hQlxButW8Vq0T5jNZrHi3gZ2 i46Of0wOzB7bv19g9Fi85yVTAFNUA6NNYl5efkliSapCSmpxsq1SQFFmWWJypZJCZoqtkqGS QkFOYnJqbmpeia1SYkFBal6Kkh2XAgawASrLzFNIzUvOT8nMS7dV8gz217WwMLXUNVSyC8lI VcjMS8svyk0syczPU0jOzysBqk5NAYoqJHRzZlw7vYit4IhcxaMvXUwNjB/Euxg5OSQETCS+ Lf/G1MXIxSEksItJ4uKC9VDOFkaJCQ9OM4FUsQloShw4NoURxBYRkJKYcmAmWJxZIEHi7o17 bF2MHBzCAqYSd2aYgZgsAqoSx3aXgFTwAkV/HH/LDrFLQ2LamrtMICWcAmYSO6fZg5hCQCWT 1wRDVAtKnJz5hAVitoTEwRcvmEFsIQFZibbjz9knMPLPQlI2C0nZAkamVYxCiSU5uYmZOenl hnqJuZl6yfm5mxghUbVpB2PLRfNDjEwcjIcYJTiYlUR4vZt644R4UxIrq1KL8uOLSnNSiw8x OgFdP5FZihsUesDoiDc2MJAShXEMTcxMzI3MDS1NzI2NlcR5a/R94oQE0oHRmp2aWpBaBDOE iYNTqoGxbk5/nuCX9h9XLB23Hvf1bluh5bns7CXuA3tKcuKl1k5pXKnwVnf/Zzvt25wb/11b 73sg5lNTspfQZJMnLgwLpoUp73E7WCH4L3Jids2xD1sW+Zr9Cg2pVLixW7nfqjba8J1TYIZ3 O8vKtPjqP/vnPM7gj/6adilkuVDBzqqKbIuQ3Rdv1e9QYinOSDTUYi4qTgQAXPpLob8CAAA= 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: 4j68iQNc0NPuT6EwYIX9he3Ix1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1586548748; bh=FE3aslGaxtihflx9DQW9kSFhmEp7TbiMyY0lr2Q/AtY=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=poT6iCA/bFdUb1RQqV1r31w4pmpnt+OZ7Z/24gIQ1mR2+W4aLaQcsR+DA47AfS7xcXo td02mMqcwqWpZVzhLiyo7HDHWYAvensTxnjNDSuiv7cJsL1DHJrR7MBKTd1S1x9uZrmyZ yYLv/1R1eonK9k70XdZ1QyURoV3gsjN5Zr4= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Define Guid & data structure for EFI_RT _PROPERTIES_TABLE, designed to be p= ublished by a platform if it no longer supports all EFI runtime services once ExitBootSe= rvices() has been called by the OS. (UEFI 2.8 errata a, mantis 2049) Signed-off-by: Oleksiy Yakovlev --- MdePkg/Include/Guid/RtPropertiesTable.h | 71 +++++++++++++++++++++++++++++= ++++ MdePkg/MdePkg.dec | 6 +++ 2 files changed, 77 insertions(+) create mode 100644 MdePkg/Include/Guid/RtPropertiesTable.h diff --git a/MdePkg/Include/Guid/RtPropertiesTable.h b/MdePkg/Include/Guid/= RtPropertiesTable.h new file mode 100644 index 0000000..a5b6c14 --- /dev/null +++ b/MdePkg/Include/Guid/RtPropertiesTable.h @@ -0,0 +1,71 @@ +/** @file +Guid & data structure for EFI_RT _PROPERTIES_TABLE, designed to be publish= ed by a=20 +platform if it no longer supports all EFI runtime services once ExitBootS= ervices()=20 +has been called by the OS. + + +Copyright (c) 2020, American Megatrends International LLC. All rights rese= rved.
+SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#ifndef _RT _PROPERTIES_TABLE_GUID_H__ +#define _RT _PROPERTIES_TABLE_GUID_H__ + +// +// Table, defined here, should be published by a platform if it no longer = supports all EFI runtime=20 +// services once ExitBootServices() has been called by the OS. Note that t= his is merely a hint=20 +// to the OS, which it is free to ignore, and so the platform is still req= uired to provide callable=20 +// implementations of unsupported runtime services that simply return EFI_= UNSUPPORTED. +// +#define EFI_RT_PROPERTIES_TABLE_GUID \ + { 0xeb66918a, 0x7eef, 0x402a, \ + { 0x84, 0x2e, 0x93, 0x1d, 0x21, 0xc3, 0x8a, 0xe9 }} +=09 +=09 + + +#pragma pack(1) + +typedef struct { + /// + /// Version of the structure, must be 0x1. + /// + UINT16 Version; + + /// + /// Size in bytes of the entire EFI_RT_PROPERTIES_TABLE, must be 8. + /// + UINT16 Length; + + /// + /// The length of the JSON payload immediately following this header, in= bytes. + /// + UINT32 RuntimeServicesSupported; + =20 + /// + /// Bitmask of which calls are or are not supported, where a bit set to = 1 indicates + /// that the call is supported, and 0 indicates that it is not. + /// +} EFI_RT_PROPERTIES_TABLE; + +#pragma pack() + +#define EFI_RT_SUPPORTED_GET_TIME 0x0001 +#define EFI_RT_SUPPORTED_SET_TIME 0x0002 +#define EFI_RT_SUPPORTED_GET_WAKEUP_TIME 0x0004 +#define EFI_RT_SUPPORTED_SET_WAKEUP_TIME 0x0008 +#define EFI_RT_SUPPORTED_GET_VARIABLE 0x0010 +#define EFI_RT_SUPPORTED_GET_NEXT_VARIABLE_NAME 0x0020 +#define EFI_RT_SUPPORTED_SET_VARIABLE 0x0040 +#define EFI_RT_SUPPORTED_SET_VIRTUAL_ADDRESS_MAP 0x0080 +#define EFI_RT_SUPPORTED_CONVERT_POINTER 0x0100 +#define EFI_RT_SUPPORTED_GET_NEXT_HIGH_MONOTONIC_COUNT 0x0200 +#define EFI_RT_SUPPORTED_RESET_SYSTEM 0x0400 +#define EFI_RT_SUPPORTED_UPDATE_CAPSULE 0x0800 +#define EFI_RT_SUPPORTED_QUERY_CAPSULE_CAPABILITIES 0x1000 +#define EFI_RT_SUPPORTED_QUERY_VARIABLE_INFO 0x2000 + +extern EFI_GUID gEfiRtPropertiesTableGuid; + +#endif diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index 99e75f7..d5340c5 100644 --- a/MdePkg/MdePkg.dec +++ b/MdePkg/MdePkg.dec @@ -655,6 +655,12 @@ gEfiBttAbstractionGuid =3D { 0x18633bfc, 0x1735, 0x4217, { 0x8a,= 0xc9, 0x17, 0x23, 0x92, 0x82, 0xd3, 0xf8 }} =20 # + # GUIDs defined in UEFI2.8a + # + ## Include/Guid/RtPropertiesTable.h + gEfiRtPropertiesTableGuid =3D { 0xeb66918a, 0x7eef, 0x402a, { 0x84,= 0x2e, 0x93, 0x1d, 0x21, 0xc3, 0x8a, 0xe9 }} + + # # GUID defined in PI1.0 # ## Include/Guid/AprioriFileName.h --=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 (#57231): https://edk2.groups.io/g/devel/message/57231 Mute This Topic: https://groups.io/mt/72930097/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- From nobody Tue May 21 08:07:14 2024 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-