From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: ami.com, ip: , mailfrom: oleksiyy@ami.com) X-AuditID: ac1060b2-0e1ff700000018d4-70-5e879b35cbf9 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) 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: [PATCH 3/7] MdePkg: REST style formset Date: Fri, 3 Apr 2020 16:22:34 -0400 Message-ID: <20200403202238.34484-4-oleksiyy@ami.com> X-Mailer: git-send-email 2.9.0.windows.1 In-Reply-To: <20200403202238.34484-1-oleksiyy@ami.com> References: <20200403202238.34484-1-oleksiyy@ami.com> MIME-Version: 1.0 Return-Path: oleksiyy@ami.com 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= Content-Type: text/plain 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 style operation and can be exposed to a REST service point. In question level, a new flag EFI_IFR_FLAG_REST_STYLE is defined. An Opcode with this flag indicates this question support REST style operation and can be exposed to a REST service point. (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 } } +#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 gEfiHiiResetStyleFormsetGuid; #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 -- 2.9.0.windows.1 Please consider the environment before printing this email. The information contained in this message may be confidential and proprietary 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 designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. Please promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and then delete or destroy all copies of the transmission.