From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM04-SN1-obe.outbound.protection.outlook.com (NAM04-SN1-obe.outbound.protection.outlook.com [40.107.70.101]) by mx.groups.io with SMTP id smtpd.web10.2.1586296212211029487 for ; Tue, 07 Apr 2020 14:50:12 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=c0LGy4ll; spf=pass (domain: microsoft.com, ip: 40.107.70.101, mailfrom: bret.barkelew@microsoft.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ackbZZ4AhPzy9kxLXNsmJfkEGOfsKnRjwn2+LXwPhFHrPU5MbG7gn6928gXj58zSDnabZFwQ5xDgUaF+JXpJ33/nZo6/4CHpyYj8O55Y3msbeYTvN0fEC/yxq2jnlo3tImLTbeHX+98E547ePzloV7jrMKh4LUKEBXBvet2uKzU0377kuNDodNyT69UmNgUwHLK0CKwoQKOQ1/Nn0UVXIEP1cBM3D6uCe3Ehfo4WHmoOXr+Hs7b4t8wcu0jQzYnrgvO/P/orWmxrwxGFctLiTBjVk/yNjHhjlw6fhauFTQ0nHikV2lNBCAe2uvR0/JP7CufAEn0Y61bDoxLFInqmpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0lzVVuakp3lSR6/qpuW8JztXKMbq+BQYSwl1XODiLiQ=; b=YNOS7MogZ9P81nSqfG77UgsrA0QCC3FQ+vyUhX7T/Y86Z2kRiBsEfi++BqntvnrHcbEe74rMyZYGDxwqXUGYIqgQlqOd2eWF0qX/GmDhkdxLY8cnOYXRYFv+xojWA/xTEUYUCq+p5prxiY0BHl6pry4a3/IO7qmj/IGM1gzUxhf85klvscdpBQWhgKZ0bNlbWETly/0xEiOB8fMKmZs0JHK+dBWlE6LMBm4pW/7lHftHZhTIvil3BowlcTAzVBX0utFYHpCygiAE+BSGbpLFF3Yp9l3QjWdOJrwKeWYQtfLzaNXxinm37FJbHPrPV6GYKR2C43nofBu/Gmp6hARgqQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0lzVVuakp3lSR6/qpuW8JztXKMbq+BQYSwl1XODiLiQ=; b=c0LGy4llESCbJ1rJX95G4WhHRT70HHRSlz+RMaD4Cx/F/nhm3a7sHCmPQpAV0UADcsWeyODJK4ezv2zaUKCbOvXksTv5b+6WsYl1cvZKRCFC+Um5a/R1LulOCl243Ck+tnsEFF+RCnhRwqLh9YpgaiIPMkeSfjfaVfskdCsx3Ok= Received: from CY4PR21MB0743.namprd21.prod.outlook.com (2603:10b6:903:b2::9) by CY4PR21MB0776.namprd21.prod.outlook.com (2603:10b6:903:b8::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.2; Tue, 7 Apr 2020 21:50:11 +0000 Received: from CY4PR21MB0743.namprd21.prod.outlook.com ([fe80::90d:10d9:c5bc:5318]) by CY4PR21MB0743.namprd21.prod.outlook.com ([fe80::90d:10d9:c5bc:5318%12]) with mapi id 15.20.2921.000; Tue, 7 Apr 2020 21:50:10 +0000 From: "Bret Barkelew" To: "devel@edk2.groups.io" , "oleksiyy@ami.com" CC: "bob.c.feng@intel.com" , "liming.gao@intel.com" , "Kinney, Michael D" , "Felixp@ami.com" , "oleksiyy@ami.com" Subject: Re: [EXTERNAL] [edk2-devel] [PATCH 3/7] MdePkg: REST style formset Thread-Topic: [EXTERNAL] [edk2-devel] [PATCH 3/7] MdePkg: REST style formset Thread-Index: AQHWCfdyW0/Xreo110eJ82zQDlMWEqhuOP+Q Date: Tue, 7 Apr 2020 21:50:10 +0000 Message-ID: References: <20200403202238.34484-1-oleksiyy@ami.com>,<20200403202238.34484-4-oleksiyy@ami.com> In-Reply-To: <20200403202238.34484-4-oleksiyy@ami.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2020-04-07T21:49:50.8752506Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Privileged authentication-results: spf=none (sender IP is ) smtp.mailfrom=Bret.Barkelew@microsoft.com; x-originating-ip: [71.212.145.195] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 74c8d462-fe56-49e7-5ea6-08d7db3da556 x-ms-traffictypediagnostic: CY4PR21MB0776:|CY4PR21MB0776: x-ld-processed: 72f988bf-86f1-41af-91ab-2d7cd011db47,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3968; x-forefront-prvs: 036614DD9C x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY4PR21MB0743.namprd21.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(10019020)(4636009)(346002)(376002)(136003)(366004)(396003)(39850400004)(91956017)(10290500003)(26005)(478600001)(7696005)(5660300002)(186003)(966005)(4326008)(2906002)(33656002)(8936002)(71200400001)(82950400001)(82960400001)(66476007)(86362001)(53546011)(8676002)(316002)(66556008)(52536014)(64756008)(81156014)(76116006)(54906003)(81166006)(8990500004)(6506007)(66946007)(110136005)(55016002)(66446008)(9686003);DIR:OUT;SFP:1102; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: kCvyWb3rvreX3aGnhnAM/tdHXeh40fspnq2QJX9t39f1jPi8bnLzpadfihols4pELUXpkegYaQ1ocjxzevOds4YKGIBnw1Vn7UAaKv04RexFxcWGlVyOCx4BvYTRtWxMjyjl4zgHnRHbzE6/jAjHzjJeRtbh+8I9Tf4Yj4C3E49j9v4EKIsjbjV2WqbFJCLmm3w9S/7wsCqzXBz39c1WhY0bTE+m7j4ZfTW1dyRH8MeXamsvJc+Zp3MfvLd+P7qyR4aBFOQ5hfdQVIMqB41eLTi9QdQmDxTQH8/X3RGCMMNLckhyINLfR36kfHzPs9492KkPLGQW4bLddQJUYlLJVObILc2y1QIY9LIVGmT4z26dyl0J1c/MqBIUOtRFRV8QyPW58U6AfwcUsKueMN25y/V816z+I+7ELEEhQplMfCY0sDQJ1bOeRtBCUJdCg2V3Ueyn8Z1ecHGfDn0LvXS67JtA9ECrGQfWzZ60xyzACqoHDQPlut2aKuTUm95Nven+T1FSGaxxsMhMNQHNvb0XrQ== x-ms-exchange-antispam-messagedata: SprndysL5N0QQJmwOec9aCY1s/aGon8EzWWC7dkyyh1bEYGC8tEXRCe9c2xIScS7rNwS6iNEX2PUHljXj9QOGnxThQsKnY5dDgWfNFQ4YW9kxJ6G2WYAyZobzK+nILsoxk67SD/9ycJ9y066Rl7x4Q== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 74c8d462-fe56-49e7-5ea6-08d7db3da556 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Apr 2020 21:50:10.8154 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: TxBgTV5Jpzgi7KRKeTbepIOi6bD4bVjuncCfof7hrlYDIFdhgzjRrDatqVyc3aEnKWDi+pYRl5HokBwbXJ9FXg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0776 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_CY4PR21MB074309F4FA3275C14E16E8AEEFC30CY4PR21MB0743namp_" --_000_CY4PR21MB074309F4FA3275C14E16E8AEEFC30CY4PR21MB0743namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Typo here. - Bret From: Oleksiy Yakovlev via groups.io Sent: Friday, April 3, 2020 1:35 PM To: devel@edk2.groups.io Cc: bob.c.feng@intel.com; liming.gao@intel.co= m; Kinney, Michael D; Felixp@ami.com; oleksiyy@ami.com Subject: [EXTERNAL] [edk2-devel] [PATCH 3/7] MdePkg: REST style formset 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 operat= ion 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/Includ= e/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, 0x8= 8, 0xcd } } +#define EFI_HII_REST_STYLE_FORMSET_GUID \ + { 0x790217bd, 0xbecf, 0x485b, { 0x91, 0x70, 0x5f, 0xf7, 0x11, 0x31, 0x8= b, 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 propriet= ary to American Megatrends (AMI). This communication is intended to be rea= d only by the individual or entity to whom it is addressed or by their desi= gnee. 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 p= rohibited. Please promptly notify the sender by reply e-mail or by telepho= ne at 770-246-8600, and then delete or destroy all copies of the transmissi= on. --_000_CY4PR21MB074309F4FA3275C14E16E8AEEFC30CY4PR21MB0743namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Typo here.

 

- Bret

 

 

New ClassGuid EFI_HI= I_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 operat= ion
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/Includ= e/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 gEfiHiiResetStyleFor= msetGuid;
 
 #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      &n= bsp;   0x01
 #define EFI_IFR_FLAG_CALLBACK      &nb= sp;    0x04
 #define EFI_IFR_FLAG_RESET_REQUIRED     0x10
+#define EFI_IFR_FLAG_REST_STYLE      &n= bsp;  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 propriet= ary to American Megatrends (AMI).  This communication is intended to b= e 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 n= otify the sender by reply e-mail or by telephone at 770-246-8600, and then = delete or destroy all copies of the transmission.

 

--_000_CY4PR21MB074309F4FA3275C14E16E8AEEFC30CY4PR21MB0743namp_--