From nobody Mon Feb 9 22:20:26 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+56948+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+56948+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1585946141; cv=none; d=zohomail.com; s=zohoarc; b=PeHwYh4HMrX0AOtt1a8IDiDAjSHBThpQLE3CpKsXVQiyn+iHseEEv/AStMt6wvbn1v6aISc26oPmbzxK+cnywRDtDuxAvYPu54nTUPsIBByAVZ8hTTmUi7ZyJZl5OG3GgkXyaR0KzT3ZXqtFqXnD2UNh/Kv/NG88m9kn4KclICs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1585946141; h=Content-Type:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=acPRoyrqlacJuNqnB4gY7TJSJa+4IgNL1ZacgdgLFTQ=; b=fVu2YIdISg1dhDVvevsI+KIEYvCgEzhycP6D6JxVyqq2HIElCTclKhAb6k/yg+kqfpFck2ozq2HkhgSnTzSudIb/22V4Lf0lIYgnJudbFOX5m2HJdJGoCjkYHunM0izCZJE9pbLUQi4bmB8wh9+WOwPfKFpZDc7kRWx1YP4pFnA= 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+56948+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1585946141032378.0643727180112; Fri, 3 Apr 2020 13:35:41 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 64bzYY1788612xwe4CzWpRvI; Fri, 03 Apr 2020 13:35:40 -0700 X-Received: from atlmailgw1.ami.com (atlmailgw1.ami.com []) by mx.groups.io with SMTP id smtpd.web10.5564.1585945396416475694 for ; Fri, 03 Apr 2020 13:23:18 -0700 X-AuditID: ac1060b2-0e1ff700000018d4-70-5e879b35cbf9 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 C7.AF.06356.53B978E5; Fri, 3 Apr 2020 16:23:17 -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, 3 Apr 2020 16:22:41 -0400 From: "Oleksiy Yakovlev" To: CC: , , , , Subject: [edk2-devel] [PATCH 3/7] MdePkg: REST style formset Date: Fri, 3 Apr 2020 16:22:34 -0400 Message-ID: <20200403202238.34484-4-oleksiyy@ami.com> In-Reply-To: <20200403202238.34484-1-oleksiyy@ami.com> References: <20200403202238.34484-1-oleksiyy@ami.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrKIsWRmVeSWpSXmKPExsWyRiBhgq7p7PY4g/kTtSx+HZ3HZtE+YTab xYp7G9gtOjr+MTmweGz/foHRY/Gel0wBTFENjDaJeXn5JYklqQopqcXJtkoBRZllicmVSgqZ KbZKhkoKBTmJyam5qXkltkqJBQWpeSlKdlwKGMAGqCwzTyE1Lzk/JTMv3VbJM9hf18LC1FLX UMkuJCNVITMvLb8oN7EkMz9PITk/rwSoOjUFKKqQ0M2Z8fP1aeaCtQIVX57MZWpg/MTbxcjJ ISFgInHt3w3GLkYuDiGBXUwSHS8+MEE4mxklzr64xgpSxSagKXHg2BRGEFtEQEpiyoGZTCA2 s0CFxNOVT1hAbGEBQ4n+u/1g9SwCKhItXTfA6nkFTCUaG3azQWzTkJi25i5YL6eAmcSxeavA aoSAaprbW5kg6gUlTs6EmMksICFx8MULZogaWYm248/ZJzDyz0JSNgtJ2QJGplWMQoklObmJ mTnp5YZ6ibmZesn5uZsYIXG2aQdjy0XzQ4xMHIyHGCU4mJVEeB1ntMYJ8aYkVlalFuXHF5Xm pBYfYnQCemAisxQ3KASBURJvbGAgJQrjGJqYmZgbmRtampgbGyuJ89bo+8QJCaQDozY7NbUg tQhmCBMHp1QDY4F4vt6NGmNttjDv+X9avkstXKG9jUl/5/IjnKkqG//H7blSMelTkNW9UyeV 2p2vxrp5mTHcc5zeJmnge03r1wpWzv1vp8yw4Hn8bOUzvq2WkTdluP/M1HIKdd7ppmkcL6Rg OrWgM4IxT9C231fBMbeda20TT+WdVt8pmybOsjU75bwsf1GMEktxRqKhFnNRcSIAl9wuOsgC 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: 4tCt5kcx41X5upSxzTJYipTxx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1585946140; bh=ZBdxN1R/gWFXKB6TQPHqHXgZV7lAYCY+yqR/R5bQ1z8=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=Y1TRCqLHFNxZ+cwuQlgQM+jFK8nB9MXKRLekcCWwT5wazseHOzshhhGhJh9ysaWp8Ad 4BwuK1RKUlR/aTuEUh3tiUIJshdTcP72MGKqXoFUzZD8ZjmtD7PUGG0MboIzNtUheyjIU TgYKRQARQrR4PIOln1JqYrv/QDHsGBWHr10= 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 } } + =20 extern EFI_GUID gEfiHiiPlatformSetupFormsetGuid; extern EFI_GUID gEfiHiiDriverHealthFormsetGuid; extern EFI_GUID gEfiHiiUserCredentialFormsetGuid; +extern EFI_GUID gEfiHiiResetStyleFormsetGuid; =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 (#56948): https://edk2.groups.io/g/devel/message/56948 Mute This Topic: https://groups.io/mt/72758077/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-