From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web09.9793.1604474502601178724 for ; Tue, 03 Nov 2020 23:21:42 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=Z/nZtKmF; spf=pass (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=057768be5f=abner.chang@hpe.com) Received: from pps.filterd (m0150241.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0A47I0th008568; Wed, 4 Nov 2020 07:21:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id; s=pps0720; bh=Ik1W7n82nYOLJBWEt5GnSIdlZMQcuYidUSmSq//SgF0=; b=Z/nZtKmFZGCS8+l5OdNtfLIVfkjnTKrvFU8LAMzWfIUCvuCUPl9UQUuY6YxJtMI4+rrU HWwKXmu8CRwoDw1bTTd/1JtZAOML/Q1Pv7fpctak2XQChpkmTSeX2uHuWSTmqxv4Fjtr O3JsE3MFs6yhnJlSH+uajbBPXL98k+8yH2e5hIFK9ii3fAZkoC3dlE633ADWwAisI/MQ TcOgSadGpxwsgdUooceRlyeHXnmH0xX+GxTcD1MvjWpFgruB3cN7v5+V3F2Ae9bJPhzF MQrN3FcGEFXhsoKD6HlsyxkfVp+XDECvtkZFTWrgNj6ZwfzmkazTCWzL7zNndR1KW9yq GA== Received: from g4t3427.houston.hpe.com (g4t3427.houston.hpe.com [15.241.140.73]) by mx0a-002e3701.pphosted.com with ESMTP id 34hhawacys-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Nov 2020 07:21:34 +0000 Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g4t3427.houston.hpe.com (Postfix) with ESMTP id 15B5357; Wed, 4 Nov 2020 07:21:31 +0000 (UTC) Received: from abner-virtual-machine.asiapacific.hpqcorp.net (abner-virtual-machine.asiapacific.hpqcorp.net [15.119.210.153]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id D2D1B4A; Wed, 4 Nov 2020 07:21:28 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Jiaxin Wu , Siyuan Fu , Fan Wang , Jiewen Yao , Dandan Bi , Eric Dong , Nickle Wang , Bob Feng , Liming Gao , Yuwei Chen , Michael D Kinney , Zhiguang Liu Subject: [VFR support REST_STYLE PATCH v3 0/4] VFR support REST_STYLE Date: Wed, 4 Nov 2020 14:35:53 +0800 Message-Id: <20201104063557.22857-1-abner.chang@hpe.com> X-Mailer: git-send-email 2.17.1 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312,18.0.737 definitions=2020-11-04_06:2020-11-04,2020-11-04 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxlogscore=999 adultscore=0 suspectscore=2 malwarescore=0 bulkscore=0 spamscore=0 impostorscore=0 lowpriorityscore=0 priorityscore=1501 mlxscore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011040052 In v3, the patch includes the changes on HiiLib to support REST_STYLE flag. In v2, a typo found. Rename gEfiHiiResetStyleFormsetGuid to gEfiHiiRestStyleFormsetGuid. VFR compiler and other related changes to support REST_STYLE in VFR language for HII options to be configured in out-of-band management such as the Redfish service. Add two HII options in the Sample driver for REST_STYLE use cases. Signed-off-by: Abner Chang Cc: Jiaxin Wu Cc: Siyuan Fu Cc: Fan Wang Cc: Jiewen Yao Cc: Dandan Bi Cc: Eric Dong Cc: Nickle Wang Cc: Bob Feng Cc: Liming Gao Cc: Yuwei Chen Cc: Michael D Kinney Cc: Zhiguang Liu Abner Chang (4): MdePkg: Add GUID for REST Style Formset BaseTools/VfrCompile: VFR compiler supports REST_STYLE in HII option MdeModulePkg/Library: Revise HiiLib to support REST_STYLE MdeModulePkg/DriverSampleDxe: Add HII sample options BaseTools/Source/C/VfrCompile/VfrSyntax.g | 25 +++++++++++++-- MdeModulePkg/Library/UefiHiiLib/HiiLib.c | 14 ++++---- .../Universal/DriverSampleDxe/NVDataStruc.h | 4 ++- .../Universal/DriverSampleDxe/Vfr.vfr | 32 +++++++++++++++++-- .../Universal/DriverSampleDxe/VfrStrings.uni | 11 +++++-- MdePkg/MdePkg.dec | 2 +- 6 files changed, 70 insertions(+), 18 deletions(-) -- 2.17.1