From: "Oleksiy Yakovlev" <oleksiyy@ami.com>
To: <devel@edk2.groups.io>
Cc: <bob.c.feng@intel.com>, <liming.gao@intel.com>,
<michael.d.kinney@intel.com>, <Felixp@ami.com>,
<oleksiyy@ami.com>
Subject: [PATCH v1 3/7] MdePkg: REST style formset
Date: Thu, 9 Apr 2020 16:25:46 -0400 [thread overview]
Message-ID: <20200409202550.35116-4-oleksiyy@ami.com> (raw)
In-Reply-To: <20200409202550.35116-1-oleksiyy@ami.com>
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 <oleksiyy@ami.com>
---
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 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
--
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.
next prev parent reply other threads:[~2020-04-09 20:26 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-09 20:25 [PATCH v1 0/7] Add definitions introduced in UEFI 2.8 Oleksiy Yakovlev
2020-04-09 20:25 ` [PATCH v1 1/7] MdePkg: Extend SERIAL_IO with DeviceTypeGuid Oleksiy Yakovlev
2020-04-09 20:25 ` [PATCH v1 2/7] BaseTools: REST style formset Oleksiy Yakovlev
2020-04-09 20:25 ` Oleksiy Yakovlev [this message]
2020-04-09 20:25 ` [PATCH v1 4/7] BaseTools: Bootable NVDIMM namespaces Oleksiy Yakovlev
2020-04-09 20:25 ` [PATCH v1 5/7] MdePkg: " Oleksiy Yakovlev
2020-04-09 20:25 ` [PATCH v1 6/7] MdePkg: Add UEFI Spec Revision 2.8 Oleksiy Yakovlev
2020-04-09 20:25 ` [PATCH v1 7/7] MdePkg: UEFI JSON Capsule Support Oleksiy Yakovlev
2020-04-22 8:50 ` [edk2-devel] " Zhiguang Liu
2020-04-22 20:41 ` Oleksiy Yakovlev
2020-04-23 2:30 ` Zhiguang Liu
2020-04-23 2:38 ` Rothman, Michael A
2020-04-23 5:45 ` Liming Gao
2020-04-23 13:54 ` Oleksiy Yakovlev
2020-04-22 8:51 ` [edk2-devel] [PATCH v1 0/7] Add definitions introduced in UEFI 2.8 Zhiguang Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200409202550.35116-4-oleksiyy@ami.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox