From nobody Tue Feb 10 05:45:25 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+58585+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+58585+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1588627820; cv=none; d=zohomail.com; s=zohoarc; b=E9rzyl9fcc66cfxSNzk9tr3xB8CAYrrGT5PA1AsfJmWEnR41H+UorpU2eQbFyO9HMc33GNcrzVs21pyKUuqljUVJrk34sVzLvp2K3oUeC2l33m8shrE6XB36kQbsnfaWjirWt65SSOb49Cv4a/oK0YTe68w/GUk6eYlankdVnc8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588627820; h=Content-Type:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=DBp35FYKbwuXFpHmVTk7h8Z5CdZhaZhoQACoRO1MRuI=; b=c/kn86fgqg55kEkuPGlBzZGe9QoR+KxWytuzBpqr84q075xawBvkFuKx/P9rhQ1FBtzEbS9UzTqJEoY9JcSItthzanWZazeFNNdkLEVazNr+6LQDg9RFDzWFcuXCB1sr573iMiqgoCLVWiy9kYKrR8FECNmyENKR9mOXYrDz0vY= 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+58585+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1588627820802236.95911927398436; Mon, 4 May 2020 14:30:20 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id iaiWYY1788612xglt4ywtTnm; Mon, 04 May 2020 14:30:20 -0700 X-Received: from atlmailgw1.ami.com (atlmailgw1.ami.com []) by mx.groups.io with SMTP id smtpd.web11.16204.1588627817116396187 for ; Mon, 04 May 2020 14:30:19 -0700 X-AuditID: ac1060b2-0f7ff700000018d4-e0-5eb0896a4f6a 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 57.83.06356.A6980BE5; Mon, 4 May 2020 17:30:19 -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, 4 May 2020 17:29:03 -0400 From: "Oleksiy Yakovlev" To: CC: , , , Subject: [edk2-devel] [PATCH v2 3/7] MdePkg: REST style formset Date: Mon, 4 May 2020 17:28:53 -0400 Message-ID: <20200504212857.48568-4-oleksiyy@ami.com> In-Reply-To: <20200504212857.48568-1-oleksiyy@ami.com> References: <20200504212857.48568-1-oleksiyy@ami.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrCIsWRmVeSWpSXmKPExsWyRiBhgm5254Y4gz/9XBa/js5js2ifMJvN YsW9DewWHR3/mBxYPLZ/v8DosXjPS6YApqgGRpvEvLz8ksSSVIWU1OJkW6WAosyyxORKJYXM FFslQyWFgpzE5NTc1LwSW6XEgoLUvBQlOy4FDGADVJaZp5Cal5yfkpmXbqvkGeyva2Fhaqlr qGQXkpGqkJmXll+Um1iSmZ+nkJyfVwJUnZoCFFVI6ObMmPHyCWPBKoGKFycuMTYwfuTtYuTk kBAwkdj+eyJ7FyMXh5DALiaJa5cXMYIkhAQ2M0o0/1EEsdkENCUOHJsCFhcRkJKYcmAmE4jN LJAm8evBcjBbGGjQl1mvmEFsFgEVia4d79lBbF4BU4m7F+4wQyzTkJi25i5YPaeAmcSVl19Y IXaZSvQvXckEUS8ocXLmExaI+RISB1+8YIaokZVoO/6cfQIj/ywkZbOQlC1gZFrFKJRYkpOb mJmTXm6ol5ibqZecn7uJERJlm3Ywtlw0P8TIxMF4iFGCg1lJhFfRbEOcEG9KYmVValF+fFFp TmrxIUYnoAcmMktxgwIQGCPxxgYGUqIwjqGJmYm5kbmhpYm5sbGSOO/ktWvihATSgTGbnZpa kFoEM4SJg1OqgfGpTl1Jzt9Sbe7wvyrPvkW6q01YyfX09x735pcyTe9/xvw6f1Xp5g6eb8+6 jQ+sf7n06a3z2yc8mpP8u9O017m6sKrDt1FNzrA1sbmkv+B0x+pVJ8I/zdkiwzqzo5fPYslD fwXDPvYude2FRis/N21JvHdds+aS2pnz4ZPtAldeWfeHkXv3pCNKLMUZiYZazEXFiQByIWvH xwIAAA== 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: aBQgBSAfVZZ3OZ857Pcv6Bilx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1588627820; bh=JHAgofVk9YHNvtLQi4zsejOfwJbNS35hk+QAXKEj+uk=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=AbH5WUs1rgcz0cuuq7tBXH01JrQo00fQvnAfT6LXo8U/26jg6Sln8XU2BLE51H9A+gX h8U1+LEDxxKYw8YADdb0XN0PZJWycp3uDmYCz69mVpVYnChrdloUyJ8GroGo3dg8wyffY rK5eMtoxuhmchSf1MUBn0C/uzuPw+dWkoX4= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" New ClassGuid EFI_HII_REST_STYLE_FORMSET_GUID is defined. A formset with this class GUID indicates all the questions in the formset support REST=20 style operation and can be exposed to a REST service point. =20 In question level, a new flag EFI_IFR_FLAG_REST_STYLE is defined.=20 An Opcode with this flag indicates this question support REST style operati= on=20 and can be exposed to a REST service point.=20 (UEFI 2.8 mantis 1853) Signed-off-by: Oleksiy Yakovlev --- MdePkg/Include/Guid/HiiPlatformSetupFormset.h | 4 ++++ MdePkg/Include/Uefi/UefiInternalFormRepresentation.h | 1 + 2 files changed, 5 insertions(+) diff --git a/MdePkg/Include/Guid/HiiPlatformSetupFormset.h b/MdePkg/Include= /Guid/HiiPlatformSetupFormset.h index 540483d..a6ba55b 100644 --- a/MdePkg/Include/Guid/HiiPlatformSetupFormset.h +++ b/MdePkg/Include/Guid/HiiPlatformSetupFormset.h @@ -22,8 +22,12 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #define EFI_HII_USER_CREDENTIAL_FORMSET_GUID \ { 0x337f4407, 0x5aee, 0x4b83, { 0xb2, 0xa7, 0x4e, 0xad, 0xca, 0x30, 0x88= , 0xcd } } =20 +#define EFI_HII_REST_STYLE_FORMSET_GUID \ + { 0x790217bd, 0xbecf, 0x485b, { 0x91, 0x70, 0x5f, 0xf7, 0x11, 0x31, 0x8b= , 0x27 } } + extern EFI_GUID gEfiHiiPlatformSetupFormsetGuid; extern EFI_GUID gEfiHiiDriverHealthFormsetGuid; extern EFI_GUID gEfiHiiUserCredentialFormsetGuid; +extern EFI_GUID gEfiHiiRestStyleFormsetGuid; =20 #endif diff --git a/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h b/MdePkg/= Include/Uefi/UefiInternalFormRepresentation.h index 4a1346a..40fcdb7 100644 --- a/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h +++ b/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h @@ -825,6 +825,7 @@ typedef struct _EFI_IFR_QUESTION_HEADER { #define EFI_IFR_FLAG_READ_ONLY 0x01 #define EFI_IFR_FLAG_CALLBACK 0x04 #define EFI_IFR_FLAG_RESET_REQUIRED 0x10 +#define EFI_IFR_FLAG_REST_STYLE 0x20 #define EFI_IFR_FLAG_RECONNECT_REQUIRED 0x40 #define EFI_IFR_FLAG_OPTIONS_ONLY 0x80 =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 (#58585): https://edk2.groups.io/g/devel/message/58585 Mute This Topic: https://groups.io/mt/73985394/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-