From nobody Mon Apr 29 19:08:04 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+58816+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+58816+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1588880172; cv=none; d=zohomail.com; s=zohoarc; b=hWM69nh0x8D3g/H97lfSc1zfjqta8lLNz14fVFOUDZKgvSnvYUEwLMCB2Nx6DIXDICJmWSR/VO2UFoIkSTbNjIBHJF+fCOYgpvJUJezVaEzlIgtLe+4OmIjgZ0fwLmPdbSX3aYO5irb/P8sY3wxfPX3CIn+RGYBCfYmO2s9iCSo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588880172; h=Content-Type:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=mJuX1nr2RjcrI3g8bHHbQoUtX41DyA9DcV9PTNz037E=; b=CSbI8t4s9A5ZXHy6nuUHJbHynw/Jr/ePh/W19Veg8XqFoKhaHYYXY5mFxuXCYcWAg9pgcQCsHQd3eGAph2YSI3Rfp+/x+W2SvLFiWM8btW6iMIzH9QWNLdoTyhB1ZwwcVR80vWSpeBfuydmwzHoFOn5GTgwoBesZIqqDdRKq13s= 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+58816+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1588880172102508.23727113677876; Thu, 7 May 2020 12:36:12 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id zQ1tYY1788612x8OTvYKOYZF; Thu, 07 May 2020 12:36:11 -0700 X-Received: from atlmailgw1.ami.com (atlmailgw1.ami.com [63.147.10.40]) by mx.groups.io with SMTP id smtpd.web10.2413.1588880170827410181 for ; Thu, 07 May 2020 12:36:11 -0700 X-AuditID: ac1060b2-0f7ff700000018d4-bd-5eb463296d89 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 18.EB.06356.92364BE5; Thu, 7 May 2020 15:36: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; Thu, 7 May 2020 15:34:44 -0400 From: "Oleksiy Yakovlev" To: CC: , , , Subject: [edk2-devel] [PATCH v2 1/4] MdePkg: Add new CPER Notification types Date: Thu, 7 May 2020 15:34:40 -0400 Message-ID: <20200507193443.76728-2-oleksiyy@ami.com> In-Reply-To: <20200507193443.76728-1-oleksiyy@ami.com> References: <20200507193443.76728-1-oleksiyy@ami.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrLIsWRmVeSWpSXmKPExsWyRiBhgq5m8pY4g4dTrCzaJ8xms1hxbwO7 RUfHPyYHZo/t3y8weize85IpgCmqgdEmMS8vvySxJFUhJbU42VYpoCizLDG5UkkhM8VWyVBJ oSAnMTk1NzWvxFYpsaAgNS9FyY5LAQPYAJVl5imk5iXnp2TmpdsqeQb761pYmFrqGirZhWSk KmTmpeUX5SaWZObnKSTn55UAVaemAEUVEro5M773nmQvuC9c8fyHcAPjcoEuRk4OCQETidNL upm6GLk4hAR2MUm8mN/HCOFsZpS4vbafCaSKTUBT4sCxKYwgtoiAlMSUAzPB4swCCRJ3b9xj A7GFBewl7pz+z9zFyMHBIqAiMfGPEUiYV8BU4nLHBjaIZRoS09bcBWvlFDCTOPDtITtIuRBQ zcW9HhDlghInZz5hgZguIXHwxQtmEFtIQFai7fhz9gmM/LOQlM1CUraAkWkVo1BiSU5uYmZO ermhXmJupl5yfu4mRkhcbdrB2HLR/BAjEwfjIUYJDmYlEV6eHxvjhHhTEiurUovy44tKc1KL DzE6AZ0/kVmKGxR8wPiINzYwkBKFcQxNzEzMjcwNLU3MjY2VxHknr10TJySQDozX7NTUgtQi mCFMHJxSDYwZGgkHnhY8feC5TXXfmdStLsFcV/7Hbr7W92j2yd5LSz6oBwl7HjZKL14eO82k IFXg0sGK9GyBgqLc2ltuic1rz1UvPPLIsoJt7d7wqs4pkX2VYj+ublucGB5U48zf9yNz79x9 Jau8l9k3yV5pvVGSNP9zvv/e/80zU+8XqXxZWpOySFdZ/rkSS3FGoqEWc1FxIgCLKfBMwAIA 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: bTu7lOjpvvxQcaEtOVCSjwqzx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1588880171; bh=hOZ6yE59so2chEvFEIEpiLGgtxUv0NtVGfOVXBF3sP0=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=URbaEZEstUu3NBI3w/pWR96Tbd5ZbxOpt0ghJhp2WYfPTDLH0f/UGIW95j3z3EQoElO Ttr/t05CVF1XU2eBYk2W2hCCmLz6A0mz/2bsFrwqy8/UZPSkfSCm1xCUorSjsPtwT3syk MUW47x3+rzFMBiUseb4jimCerBuyv4r2ORU= 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 Reviewed-by: Zhiguang Liu --- 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_TYPE_DMAR_SEA \ + { \ + 0x9A78788A, 0xBBE8, 0x11E4, { 0x80, 0x9E, 0x67, 0x61, 0x1E, 0x5D, 0x46= , 0xB0 } \ + } +#define EFI_EVENT_NOTIFICATION_TYPE_DMAR_SEI \ + { \ + 0x5C284C81, 0xB0AE, 0x4E87, { 0xA3, 0x22, 0xB0, 0x4C, 0x85, 0x62, 0x43= , 0x23 } \ + } +#define EFI_EVENT_NOTIFICATION_TYPE_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 }} + + ## Include/Guid/Cper.h + gEfiEventNotificationTypeSeiGuid =3D { 0x5C284C81, 0xB0AE, 0x4E87, { 0= xA3, 0x22, 0xB0, 0x4C, 0x85, 0x62, 0x43, 0x23 }} + + ## 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 (#58816): https://edk2.groups.io/g/devel/message/58816 Mute This Topic: https://groups.io/mt/74058371/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 Mon Apr 29 19:08:04 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+58817+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+58817+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1588880172; cv=none; d=zohomail.com; s=zohoarc; b=O/RW4hGaW45iRL/HRVtjvTcOoOto2ci01cXfvqcoE9D+AYIofIN89dnGWgAzWRisX8K7PFEesn0x0RfyLVxEmIOLzk94gLzlkZGBy6IuS/JUgtmXgsZiOLbTXwdU1Qa7NdvBrCzEZRpRxB4aebLu0SlgDk4O20gokTR1j6KBFng= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588880172; h=Content-Type:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=exCtmXKOWrUCzTP3pe0dLvJVHxrFp63z8zH3KNBqbTw=; b=FJi+t+7oHX4wupwJWSDQuodJjhCRh2kdzt08DUd9YDW5I1JG3wB2z6s9LNLoX7lY3rb1IQ63TopC7ttIaUuC2a9jIwq/IjVPlOPPjQ0X5R+CzAtSxAsDVnPz/8Fnw+isnCFOoKbw8vVfqRV+70Ej+EFAvryOoC/Sw94JsmxOO5M= 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+58817+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1588880172543285.1297996825257; Thu, 7 May 2020 12:36:12 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id T1JaYY1788612xikairRVngT; Thu, 07 May 2020 12:36:12 -0700 X-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:11 -0700 X-AuditID: ac10606f-049ff70000001b62-47-5eb46329fb81 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 A2.2B.07010.A2364BE5; Thu, 7 May 2020 15:36:10 -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; Thu, 7 May 2020 15:34:46 -0400 From: "Oleksiy Yakovlev" To: CC: , , , Subject: [edk2-devel] [PATCH v2 2/4] MdePkg: Fix OUT parameters marked as IN OUT Date: Thu, 7 May 2020 15:34:41 -0400 Message-ID: <20200507193443.76728-3-oleksiyy@ami.com> In-Reply-To: <20200507193443.76728-1-oleksiyy@ami.com> References: <20200507193443.76728-1-oleksiyy@ami.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrLIsWRmVeSWpSXmKPExsWyRiBhgq5W8pY4gztHBC3aJ8xms1hxbwO7 RUfHPyYHZo/t3y8weize85IpgCmqgdEmMS8vvySxJFUhJbU42VYpoCizLDG5UkkhM8VWyVBJ oSAnMTk1NzWvxFYpsaAgNS9FyY5LAQPYAJVl5imk5iXnp2TmpdsqeQb761pYmFrqGirZhWSk KmTmpeUX5SaWZObnKSTn55UAVaemAEUVEro5M44eucdWMD2i4sTD9cwNjM9tuhg5OCQETCQ2 TjLpYuTiEBLYxSTxcfkERghnM6PE5bn/WLsYOTnYBDQlDhybwghiiwhISUw5MJMJxGYWSJC4 e+MeG8ggYQFniVsnLUDCLAIqEtM3PQMr4RUwlbi/t4EZxJYQ0JCYtuYuWJxTwEziwLeH7CCt QkA1F/d6QJQLSpyc+YQFYrqExMEXL8BahQRkJdqOP2efwMg/C0nZLCRlCxiZVjEKJZbk5CZm 5qSXG+kl5mbqJefnbmKExFX+DsaPH80PMTJxMB5ilOBgVhLh5fmxMU6INyWxsiq1KD++qDQn tfgQoxPQ/ROZpbhBwQeMj3hjAwMpURjH0MTMxNzI3NDSxNzYWEmcd9LaNXFCAunAeM1OTS1I LYIZwsTBKdXAeHWi8Mugu5OnNUSrNjsd/nRavaezYG34Tok3BysttnnJ2P8LSw5f0/qg/6Hs 7HNT1RVS9sxbqZ7GM01mClMq7+XCdJ/PnmFpW+YsaI+o237/sckDV9ddPasXrZBf4+WXn7Nq UVDw7WNbz5hUGgtesLzk/j/HessXx2Xy+bl1xxYW9fUmNy6LVmIpzkg01GIuKk4EAMN9wq3A AgAA 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: eaf2vUEAAmyJvQ6LsitHeqzAx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1588880172; bh=ieppJO+Spsikoqx+0Bv3PnlTKGq+B3DZohmwDu39MAE=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=I0Bap5Rz51FcxImmKqCAAkI4rF/751GKm1EHDh0WR4CkD4rDCKCM6GRgA0L3msxnHFw 6lpxHrOwCv2dkYFOetS4q0NN324PnhvMBCx8HFKrhng64EgKtTsY3+g7VBTxQeG66ZneQ A7PoMVdcZYyVtosF0yXAYFp9XVzbNqPXOfc= 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 Reviewed-by: Zhiguang Liu --- 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 (#58817): https://edk2.groups.io/g/devel/message/58817 Mute This Topic: https://groups.io/mt/74058372/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 Mon Apr 29 19:08:04 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+58818+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+58818+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1588880173; cv=none; d=zohomail.com; s=zohoarc; b=l/BADMWt82/R+RibvQYxjBkTlPnkoe5ev3LJ/B3RzaqoTfZUdoE/+NVJrPdb60+L9A4ALoa7Fd24nkHB+Ysz5cCOwUx90A8O2ubqkLE10F1pVdMbiG7lG/EN1S/H37LHP46MWnWkAfwbUr73UYg2WPjOWOLFqIFSQHe18n8fhFY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588880173; h=Content-Type:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=DlO+YjrMimGGM7AviTkdXQNFG+4L45c6QEayC5BkBMo=; b=UNYiVKqYx66aTfBENoTwh5dfhS2LSQW2g9FO5eWJIo0L509B41BSBa3wugPcZFwxwTjYxoBOx3yVg+rc9hdpH+nY699Fwq+FKVopueiwOX0BLvqjI9Nn7/8IoLRnFwCid7B8nDTBLnHfitlCQi046pXzggvZNrm+r9N/O4g38XY= 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+58818+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1588880173096933.55204318215; Thu, 7 May 2020 12:36:13 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id hxpyYY1788612xYOJNU1bgYH; Thu, 07 May 2020 12:36:12 -0700 X-Received: from atlmailgw1.ami.com (atlmailgw1.ami.com []) by mx.groups.io with SMTP id smtpd.web10.2413.1588880170827410181 for ; Thu, 07 May 2020 12:36:12 -0700 X-AuditID: ac1060b2-0f7ff700000018d4-bf-5eb4632bfe7f 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 78.EB.06356.B2364BE5; Thu, 7 May 2020 15:36:12 -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; Thu, 7 May 2020 15:34:47 -0400 From: "Oleksiy Yakovlev" To: CC: , , , Subject: [edk2-devel] [PATCH v2 3/4] MdePkg: Add EFI_PROPERTIES_TABLE Date: Thu, 7 May 2020 15:34:42 -0400 Message-ID: <20200507193443.76728-4-oleksiyy@ami.com> In-Reply-To: <20200507193443.76728-1-oleksiyy@ami.com> References: <20200507193443.76728-1-oleksiyy@ami.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrPIsWRmVeSWpSXmKPExsWyRiBhgq5O8pY4g61HWSzaJ8xms1hxbwO7 RUfHPyYHZo/t3y8weize85IpgCmqgdEmMS8vvySxJFUhJbU42VYpoCizLDG5UkkhM8VWyVBJ oSAnMTk1NzWvxFYpsaAgNS9FyY5LAQPYAJVl5imk5iXnp2TmpdsqeQb761pYmFrqGirZhWSk KmTmpeUX5SaWZObnKSTn55UAVaemAEUVEro5M9q/z2Av+C1b8b+hn6WB8bR4FyMnh4SAiUTP 3z2sXYxcHEICu5gk9r3ZwwjhbGaUWP9iAhNIFZuApsSBY1MYQWwRASmJKQdmgsWZBRIk7t64 xwZiCwtYSBzv3gpmswioSFw/eIIdxOYVMJU4+v0KO8Q2DYlpa+6C9XIKmEkc+PYQKM4BtMxU 4uJeD4hyQYmTM5+wQIyXkDj44gUziC0kICvRdvw5+wRG/llIymYhKVvAyLSKUSixJCc3MTMn vdxQLzE3Uy85P3cTIyS2Nu1gbLlofoiRiYPxEKMEB7OSCC/Pj41xQrwpiZVVqUX58UWlOanF hxidgO6fyCzFDQpAYIzEGxsYSInCOIYmZibmRuaGlibmxsZK4ryT166JExJIB8ZsdmpqQWoR zBAmDk6pBkbXiYlhaxcmzmeZf9tZ43++6okv/Iosp8X6d9llmEXs573R9MqdL5zVUY2D89Hs xz0XbVgWiK6+dnZDbSzfat3TcSESLs6rJD3OJHeZncuLZUjq47TdwMNuzD6bqZ+BfeaMqwoT Jv69FbdE5/b/KScYlr3rudUr3MQvpXiypCHV2u1pVZdwlxJLcUaioRZzUXEiADRIclLCAgAA 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: 4XCpIX57W09kk3i0GdAvp91jx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1588880172; bh=tzJYxmbL7ieA4c526FVRO1gnM63LUmuvVqMwlojUATE=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=f5qSg/xxqj3EnHiCrH3Tu3yvvqvy6sx9v94Z9SynCVwab5kv0fGMYXE6r5H3GrTAN3/ dw1SWHAh3844fUe7Np6dGcr4I2bjnzsrSxSQP3EtJ/JYhQP8aTx+0c0KVFWgmMSpiWg1/ SncbbJkYgColcaqfWgDx1yrp3gYiQH2A844= 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 pu= blished by a platform if it no longer supports all EFI runtime services once ExitBootSer= vices() has been called by the OS. (UEFI 2.8 errata a, mantis 2049) Signed-off-by: Oleksiy Yakovlev --- MdePkg/Include/Guid/RtPropertiesTable.h | 68 +++++++++++++++++++++++++++++= ++ MdePkg/MdePkg.dec | 6 +++ 2 files changed, 74 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 publishe= d by a +platform if it no longer supports all EFI runtime services once ExitBootS= ervices() +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 +// services once ExitBootServices() has been called by the OS. Note that t= his is merely a hint +// to the OS, which it is free to ignore, and so the platform is still req= uired to provide callable +// 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 }} + + + +#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; + + /// + /// 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. + /// + UINT32 RuntimeServicesSupported; +} EFI_RT_PROPERTIES_TABLE; + +#pragma pack() + +#define EFI_RT_PROPERTIES_TABLE_VERSION 0x1 + +#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 (#58818): https://edk2.groups.io/g/devel/message/58818 Mute This Topic: https://groups.io/mt/74058373/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 Mon Apr 29 19:08:04 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+58819+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+58819+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1588880174; cv=none; d=zohomail.com; s=zohoarc; b=b6P8l0M4IkCPccd9PF9n5sg4WpAgEsqaopX91cahuzxRFBcy31/ddRsMYY6pv/jwZOsz2m6VUikyvkLiX7GFmZ7+9dtz6YfkzIRX+mwn5Fd/Q95I0HMTaXlBogqYZ6w9y/Qf0umcrX+CHFQPltL7l1brsJlmg1wtVXxIrIOQy7E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588880174; h=Content-Type:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=Smnn+61nL+m3uEyGgz487vI899sx9XYEptp0V+yfP9o=; b=hrpdUd2B+gcjEEXbc4I/n9wQzXyIlR/QqOKjehS5kilqnSSzpEzPnrEcy5sI2p1jpjgToDjrIbCVCIk4m/zv6Cx2nIop3h324FrsosUXuUg6iydLg7C7vJ6E4BWdBL0eaypJFRxSoqXuY7GckGYqAMIvAqNIyihFW28k+1SSY6k= 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+58819+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1588880174189888.1940568088685; Thu, 7 May 2020 12:36:14 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id BbiIYY1788612xbNZ49vAE6n; Thu, 07 May 2020 12:36:13 -0700 X-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 X-AuditID: ac10606f-05fff70000001b62-4a-5eb4632ca42c 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 23.2B.07010.C2364BE5; Thu, 7 May 2020 15:36:12 -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; Thu, 7 May 2020 15:34:48 -0400 From: "Oleksiy Yakovlev" To: CC: , , , Subject: [edk2-devel] [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> In-Reply-To: <20200507193443.76728-1-oleksiyy@ami.com> References: <20200507193443.76728-1-oleksiyy@ami.com> MIME-Version: 1.0 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= 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: wsy0sGeivS7zEUSvkXkDSGfix1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1588880173; bh=VSMST+SCV30DDPzZhzNpBu1OYVNp7CcyOS4SpZRXuHs=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=nQMpVAqcIMu1Wxi8zOSE+pPpVMI9u3F51cG01mFYrRzWsFE5pqv5z5p8Qh+w1EJY8sL yubK2IIHn2icS/8m8YCGKn2shnGkS5SKcnNY4z81yHENweC+K4L6Eg37m/+pb1G5iAcho eHQTaPsRKI4ggWxDkOTGF865ohHBE7LNTYc= 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: 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; + + /// + /// 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 (#58819): https://edk2.groups.io/g/devel/message/58819 Mute This Topic: https://groups.io/mt/74058374/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-