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.web12.16537.1602779653984782634 for ; Thu, 15 Oct 2020 09:34:14 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=iIxdWSpw; spf=pass (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=055792000a=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 09FGXhR3020385; Thu, 15 Oct 2020 16:34:11 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=Xj/WyuqxJXw8Wj2+rDxl4KL8Gac5FECXU6baMRAzdCY=; b=iIxdWSpw7XsjP+nttm1WMQN3wIVQUk3aeAxOCE/YycKoez1JjgW2+fbygQJouO5SVVvn CLpf1skbM9+qbDtBwSHWYLGcS3xgMfT+8Qy9YK7yYqciE9HyI+4Eivz592eZCEya78Mq 0DIPSZPKNF34TBy0UyAR3D1xNDjSx6w/o168fPgrsRUNTjbaUB4FDrH7rYPc5SehGCAV oeBmJZIn2txiCEdVqO8R6nzuhLkzFWq1Dz7ziTZbnBMXhioNhBAQFvL0b7MIPc2G1HXI nCqJuAuFOPYH7aDA+Ql4w6409ULz10aJ6aQ2U++41LlsuI7rEuXpCFCWzWObPxW1qbeN Sw== Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) by mx0a-002e3701.pphosted.com with ESMTP id 345wff6td1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Oct 2020 16:34:11 +0000 Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g4t3426.houston.hpe.com (Postfix) with ESMTP id 4D3BC54; Thu, 15 Oct 2020 16:34:10 +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 04E184D; Thu, 15 Oct 2020 16:34:07 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu , Jiaxin Wu , Siyuan Fu , Fan Wang , Jiewen Yao , Nickle Wang Subject: [RestJsonStructureDxe PATCH v3 0/3] EFI REST JSON Structure Protocol Date: Thu, 15 Oct 2020 23:49:25 +0800 Message-Id: <20201015154928.16211-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.235,18.0.687 definitions=2020-10-15_10:2020-10-14,2020-10-15 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 bulkscore=0 clxscore=1015 phishscore=0 priorityscore=1501 lowpriorityscore=0 mlxlogscore=967 spamscore=0 impostorscore=0 suspectscore=2 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2010150109 This is the implementation of EFI_REST_JSON_STRUCTURE_PROTOCOL, refer to UEFI spec 2.8 Section 29.7.3 EFI REST JSON Resource to C Structure Converter. In v3: Fix CI test errors, - Add RedfishPkg dependence in RedfishPkg.i.yaml. - Add ARM instrinsic libraries to RedfishPkg.dsc for ARM/AARCH64. In v2: - Couple feedbacks given by Liming on patch 1/2 were addressed. - Cosmetics on the source code in patch 2/2. Signed-off-by: Abner Chang Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Cc: Jiaxin Wu Cc: Siyuan Fu Cc: Fan Wang Cc: Jiewen Yao Cc: Nickle Wang Abner Chang (3): MdePkg/Include: Definitions of EFI REST JSON Structure Protocol RedfishPkg/RestJsonStructureDxe: EFI REST JSON Structure Protocol RedfishPkg: Changes on RedfishPkg for CI test MdePkg/Include/Protocol/RestJsonStructure.h | 161 +++++ MdePkg/MdePkg.dec | 3 + RedfishPkg/RedfishPkg.ci.yaml | 3 +- RedfishPkg/RedfishPkg.dsc | 11 + .../RestJsonStructureDxe.c | 585 ++++++++++++++++++ .../RestJsonStructureDxe.inf | 40 ++ .../RestJsonStructureInternal.h | 33 + 7 files changed, 835 insertions(+), 1 deletion(-) create mode 100644 MdePkg/Include/Protocol/RestJsonStructure.h create mode 100644 RedfishPkg/RestJsonStructureDxe/RestJsonStructureDxe.c create mode 100644 RedfishPkg/RestJsonStructureDxe/RestJsonStructureDxe.inf create mode 100644 RedfishPkg/RestJsonStructureDxe/RestJsonStructureInternal.h -- 2.17.1