From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web11.4296.1588908288306600770 for ; Thu, 07 May 2020 20:24:48 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=ZCpwR3Pd; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: zhiguang.liu@intel.com) IronPort-SDR: +SiR2w51yfUp1qiVShzCy4tLY3c4nhG/vwvSfnWfpI9Y49sx+0+IcyRm/yH+eYb8fTy70/4AHd 1s080hByIUaw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 May 2020 20:24:47 -0700 IronPort-SDR: PcbG1zQ3v+xKmoZ9PvUSxl3oe4b3++fgcopdHoJ+7c5BPkKZk+ca6inPAJR+KWBDmSXRTMRswa hvqIQLZXvAdQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,366,1583222400"; d="scan'208";a="435535069" Received: from orsmsx106.amr.corp.intel.com ([10.22.225.133]) by orsmga005.jf.intel.com with ESMTP; 07 May 2020 20:24:47 -0700 Received: from orsmsx124.amr.corp.intel.com (10.22.240.120) by ORSMSX106.amr.corp.intel.com (10.22.225.133) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 7 May 2020 20:24:47 -0700 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by ORSMSX124.amr.corp.intel.com (10.22.240.120) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 7 May 2020 20:24:46 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.106) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 7 May 2020 20:24:46 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Yy/lBY4/hLVUnUQs3J7D+WtieZC2w/+qR2eWv0grUNJ+fWmeVUp2gsL2hmvdmKqfz6VyiJNHRiLmB008gQF91pnrkPeKoLzAMyoLv9CKzrmfteJ1yTpvkrFzye7pcmS4cJ4aaejLtYZtzD39mZ6FahxMUoBhFlGsqbzY5wE9ZkvdjlXwJV7l+DchwTM646xgUCgESuflQ3mmB85TtSMNAp48fmn4ibhH7qR0E6V/FJg2WnxY2Js4sPDZgF0HhHBZsEK/Ku6620T6uDdAsxZkrxB6Uw2ik/GqzeqH6jCqV5WbHIwIr3Xyz7+WqrUOXr23p/gTzVrdP+A3QYvw79MuFw== 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=TYRxnU7Sd8knXDA+IrMR6tC7wZo9oTm3aYZdnjUi9aE=; b=aLYkJfqfFdP1OLwjY4CftQiksvqRzHvn5nYtBiUX+wHrZszs7Oy3TyMuwfprbn4OGyiFR4IrCAj78sse+l7zClg9zr2MCfWHb4Xv2ct9jM+HgqlImqdhxVEkdDCOim9iYSL+FN3onksdhEWUqWd4N994WfgJZv8pUHkevHKfxfS2spz7Z6aCNNEEbiPA9UflxoXc+mtIMZpyCBdpxngsBJBKPnOGU6EAV5T5izwum1X3/GjPzT6+RHDu8yE54eIZmiTvftgMuZ5n58/I5lNZgXonrw/ZpVKHYLR6eUGbEdxitRaikqHu2Oac0mr8jweuWDjsxJttz0o3K2Q9BpALyw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TYRxnU7Sd8knXDA+IrMR6tC7wZo9oTm3aYZdnjUi9aE=; b=ZCpwR3PdqAePNERBAOXO7jihIuPirG+IGmtQa0QReYHi7cGFW6JB9T09hQLpaoaMVSMFL/wXO/8dx/C8jd5Qw+62vxKchLjpOdGf9vnuE0jEMGjRnE5BroXZIM4JA4D1qCPFZvPdaNox+Lb57g7zNs2Dy5bsdAzP4G/iKqOtuEk= Received: from BN7PR11MB2804.namprd11.prod.outlook.com (2603:10b6:406:ac::12) by BN7PR11MB2865.namprd11.prod.outlook.com (2603:10b6:406:ac::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.29; Fri, 8 May 2020 03:24:45 +0000 Received: from BN7PR11MB2804.namprd11.prod.outlook.com ([fe80::79e2:ed1f:4d6b:532c]) by BN7PR11MB2804.namprd11.prod.outlook.com ([fe80::79e2:ed1f:4d6b:532c%7]) with mapi id 15.20.2958.033; Fri, 8 May 2020 03:24:45 +0000 From: "Zhiguang Liu" To: "devel@edk2.groups.io" , "oleksiyy@ami.com" CC: "Feng, Bob C" , "Gao, Liming" , "Kinney, Michael D" , "Felixp@ami.com" Subject: Re: [edk2-devel] [PATCH v3 2/7] BaseTools: REST style formset Thread-Topic: [edk2-devel] [PATCH v3 2/7] BaseTools: REST style formset Thread-Index: AQHWJKP1YTkpoVxOL0WRKPnad3DdHqidhvdA Date: Fri, 8 May 2020 03:24:45 +0000 Message-ID: References: <20200507191358.74904-1-oleksiyy@ami.com> <20200507191358.74904-3-oleksiyy@ami.com> In-Reply-To: <20200507191358.74904-3-oleksiyy@ami.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.36] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c3fe6656-4224-470c-d72a-08d7f2ff5b4b x-ms-traffictypediagnostic: BN7PR11MB2865: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2201; x-forefront-prvs: 039735BC4E x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: eNXvQSGj8wSu+q4Cv0QY8vHHld7FYm8S+yb/qAtd/OhAA0W/Zv0LRRwxee7M3T8on56g34f7yPFjPqljmYZ5ecLcsAwl21tMN8JvCgLsTCc4S0qRibJda24SFV+06FCmd4hMl2MleaZ4GXxENQqyZCOXOGVMDqDteUfasDSOiBozozDINWPICKJRsiPDZKYaNz3Bv7qADT95dDPFg09jBpX8r8WrNdSqPXThSKsK3l0xXBjaJ/5ZCIx/+37rBnzMGnzkVQ2/bknJAOvoSHKO98COB1BLaX0TMg2WbRJ7BwUvaRFd+dd29vXmi+r7Y1fSlEC6ePEoDmLRSJCLwANYGXsUIAt4KTALiZhksi13329mdZQqsq7Z2WhgoCIpDnumPCsd2mlTSB5CqqY6u8SA+OTypMYa/WvMS4mFqn9JrdyeQRYIsPEJj/CGGCjVSGeWkTLHrXpvPu5M77m/fhWrJYg07iUf0KrngkZjOb6sl6j0fkNCfgceUPs5pj2+UZ57t3L/xpqGggxQD9y5spcy54DoDrtR3E77tEO0jPKesTbZ5FXDRI6O23h4gJd2gD8AycyP73f8fgwgjqoRD9ffp6Zd/mJkmOouPlm6uyOWMbQ= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN7PR11MB2804.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(39860400002)(366004)(136003)(396003)(376002)(346002)(33430700001)(2906002)(4326008)(478600001)(55016002)(33440700001)(26005)(53546011)(6506007)(83300400001)(83290400001)(83320400001)(83280400001)(83310400001)(186003)(7696005)(5660300002)(52536014)(966005)(66446008)(66556008)(8676002)(33656002)(316002)(86362001)(66476007)(54906003)(66946007)(8936002)(110136005)(9686003)(71200400001)(64756008)(76116006);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: 72JHInWodAgg+Q303ikxz2KtYD4KS/P8Pr5XuTxXNYi4/kHHYy5CQ5Y3zk5ygVb5gtnyWTPT0J8/DTNVl2G24q/TKrprhWFmPK9N7n3hRYqPLOUZmyKW+ZemJAsXdj6Ym0zhmmA5fpCsxTlIjHZY+UfAID9iXS+iOVMgkbubhxiRtiJp+wrboHZURz4zxm3vOyYOmv7TydGLZVDYEsUuzKBW9f06rbqG+2jpT8+18VZyAQjSEgYLpmqg8zXWaUugTW0wDSIpM+M0vmhLkPNHGj0h+/3AhRM0Pr4qx9KjF8I75MmZudgh9vUhLaPDmxN9fvF3eXb+PBlGIeRUYYp4MyPkFGhi1a3DHcS2saBjoYd/mZHECNXztrk7r9DYD5LN732RwmlHtbv7owEKSetd8R6UFjyFFU2aqINRMHcD9yHVkCOKZmteg2EFAdKZPoUONywzjJ0HVRykpbviEEKfvycBd5Eg+0aSjifrLYjbUQZeNfAeWjei8ShutU5Mj2Ve MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: c3fe6656-4224-470c-d72a-08d7f2ff5b4b X-MS-Exchange-CrossTenant-originalarrivaltime: 08 May 2020 03:24:45.6944 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: MJG8W37sCzRnkbxlAOOkxGcygoBIU3OlKH3SdK5Kg8ZGQ0HJnhmajLopXlrDxFjAxCjK+3tNXQn3MjHfGcUqIw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR11MB2865 Return-Path: zhiguang.liu@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Oleksiy, Same length issue with the third patch. Thanks Zhiguang Reviewed-by: Zhiguang Liu -----Original Message----- From: devel@edk2.groups.io On Behalf Of Oleksiy Yak= ovlev Sent: Friday, May 8, 2020 3:14 AM To: devel@edk2.groups.io Cc: Feng, Bob C ; Gao, Liming = ; Kinney, Michael D ; Felixp@ami.com; oleksiyy@= ami.com Subject: [edk2-devel] [PATCH v3 2/7] BaseTools: 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=20 style operation and can be exposed to a REST service point. 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 operat= ion=20 and can be exposed to a REST service point.=20 (UEFI 2.8 mantis 1853) Signed-off-by: Oleksiy Yakovlev --- BaseTools/Source/C/Include/Common/UefiInternalFormRepresentation.h | 1 + 1 file changed, 1 insertion(+) diff --git a/BaseTools/Source/C/Include/Common/UefiInternalFormRepresentat= ion.h b/BaseTools/Source/C/Include/Common/UefiInternalFormRepresentation.h index b0bd7c5..ca6b509 100644 --- a/BaseTools/Source/C/Include/Common/UefiInternalFormRepresentation.h +++ b/BaseTools/Source/C/Include/Common/UefiInternalFormRepresentation.h @@ -728,6 +728,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 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.