From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atlmailgw2.ami.com (atlmailgw2.ami.com []) by mx.groups.io with SMTP id smtpd.web12.3069.1589399614869206417 for ; Wed, 13 May 2020 12:53:36 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: ami.com, ip: , mailfrom: oleksiyy@ami.com) X-AuditID: ac10606f-049ff70000001b62-63-5ebc503f92e2 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 65.14.07010.F305CBE5; Wed, 13 May 2020 15:53:35 -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; Wed, 13 May 2020 15:52:53 -0400 From: "Oleksiy Yakovlev" To: CC: , , , , Subject: [PATCH v7 3/7] MdePkg: REST style formset Date: Wed, 13 May 2020 15:52:44 -0400 Message-ID: <20200513195248.50296-4-oleksiyy@ami.com> X-Mailer: git-send-email 2.9.0.windows.1 In-Reply-To: <20200513195248.50296-1-oleksiyy@ami.com> References: <20200513195248.50296-1-oleksiyy@ami.com> MIME-Version: 1.0 Return-Path: oleksiyy@ami.com X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrMIsWRmVeSWpSXmKPExsWyRiBhgq59wJ44g10rdC1+HZ3HZtE+YTab xYp7G9gtOjr+MTmweGz/foHRY/Gel0wBTFENjDaJeXn5JYklqQopqcXJtkoBRZllicmVSgqZ KbZKhkoKBTmJyam5qXkltkqJBQWpeSlKdlwKGMAGqCwzTyE1Lzk/JTMv3VbJM9hf18LC1FLX UMkuJCNVITMvLb8oN7EkMz9PITk/rwSoOjUFKKqQ0M2ZMftJI3PBWuGKKWfKGhjbBboYOTkk BEwkJp5/ytzFyMUhJLCLSeLYr/tQzhZGie0dvWwgVWwCmhIHjk1hBLFFBKQkphyYyQRiMwtU SDxd+YQFxBYWMJbY8PI8WD2LgKrEnmMrgWo4OHgFTCXaVyZCLNOQmLbmLlgrp4CZxNd7r5hB bCGgkucX5oKN4RUQlDg5E2Iks4CExMEXL6BqZCXajj9nn8DIPwtJ2SwkZQsYmVYxCiWW5OQm ZuaklxvpJeZm6iXn525ihMRY/g7Gjx/NDzEycTAeYpTgYFYS4fVbvztOiDclsbIqtSg/vqg0 J7X4EKMT0P0TmaW4QeEHjJB4YwMDKVEYx9DEzMTcyNzQ0sTc2FhJnHfS2jVxQgLpwIjNTk0t SC2CGcLEwSnVwDgpw+1S+WbePHOjL8bZi3Z5GCz2P6ApNFuS58nRyLsWTp4LZzR+SZVj7lgy S0O4li/DaI1b0I5tyjJe76XY/Sf6bL7bYXGp+nCRcvjNo/NVre7PbG9ZVf5j/q8d981LrQ9G Xz7t5fPecturG5k6+7fOK398VKcrUu1gdPuyRyY7Ks2ZkheUX1FiKc5INNRiLipOBADkMzGk xgIAAA== Content-Type: text/plain New ClassGuid EFI_HII_REST_STYLE_FORMSET_GUID is defined. In question level, a new flag EFI_IFR_FLAG_REST_STYLE is defined. (UEFI 2.8 mantis 1853) Signed-off-by: Oleksiy Yakovlev Reviewed-by: Liming Gao --- MdePkg/Include/Guid/HiiPlatformSetupFormset.h | 4 ++++ MdePkg/Include/Uefi/UefiInternalFormRepresentation.h | 1 + MdePkg/MdePkg.dec | 5 +++++ 3 files changed, 10 insertions(+) diff --git a/MdePkg/Include/Guid/HiiPlatformSetupFormset.h b/MdePkg/Include/Guid/HiiPlatformSetupFormset.h index 540483d..db7b80b 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 gEfiHiiRestStyleFormsetGuid; #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 diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index 86545ac..5ae190d 100644 --- a/MdePkg/MdePkg.dec +++ b/MdePkg/MdePkg.dec @@ -645,6 +645,11 @@ ## Include/Guid/Btt.h gEfiBttAbstractionGuid = { 0x18633bfc, 0x1735, 0x4217, { 0x8a, 0xc9, 0x17, 0x23, 0x92, 0x82, 0xd3, 0xf8 }} + # GUIDs defined in UEFI2.8 + # + ## Include/Guid/HiiPlatformSetupFormset.h + gEfiHiiResetStyleFormsetGuid = { 0x790217bd, 0xbecf, 0x485b, { 0x91, 0x70, 0x5f, 0xf7, 0x11, 0x31, 0x8b, 0x27 }} + # # GUID defined in PI1.0 # -- 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.