From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web12.845.1602172553433550828 for ; Thu, 08 Oct 2020 08:55:53 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=eZR47Jp9; spf=pass (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=0550b2dc7a=abner.chang@hpe.com) Received: from pps.filterd (m0134425.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 098Ftgqv024585; Thu, 8 Oct 2020 15:55:42 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=byxpZFfsuUTjXTJPYhZvVRH3W+Dc8iDlyC1UUQON0no=; b=eZR47Jp9gJuqj5naWTLKdR4GCYVNMuRMDqTLB46jX9I7TVE+1IqIWJQtrBdPgvRwTCuL YwuXQNWz0DK4iOz/Vg1U8EYlP92mbOCRR7QshK/7aObmApzDjWXFdRHPAM8sYcC36Gmv ISQh36Z3gRIv8rq7wYytQvL9mx7sB64vXyeH//5o37+zivNIFgHvoRyywzx6FNDMxxqB iwKFgfLgDux/ZjTNpWqwBDCsv03efMwqAww0SZqoVvnEiwOo/vY74jlvtfHJrR3WRxHU NjskE5t857BF/tf8jNTGk6/r/XNqZnSILQRBYRLr+zxsuN29Mph3tACDlqzqNVBGS4Gx 9Q== Received: from g2t2352.austin.hpe.com (g2t2352.austin.hpe.com [15.233.44.25]) by mx0b-002e3701.pphosted.com with ESMTP id 341dud3jva-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 08 Oct 2020 15:55:42 +0000 Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2352.austin.hpe.com (Postfix) with ESMTP id 75F2FA7; Thu, 8 Oct 2020 15:55:14 +0000 (UTC) Received: from abner-virtual-machine.asiapacific.hpqcorp.net (abner-virtual-machine.asiapacific.hpqcorp.net [15.119.210.153]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id C8C8B37; Thu, 8 Oct 2020 15:55:11 +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 0/2] EFI REST JSON Structure Protocol Date: Thu, 8 Oct 2020 23:10:43 +0800 Message-Id: <20201008151045.16476-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-08_11:2020-10-08,2020-10-08 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 bulkscore=0 phishscore=0 mlxscore=0 spamscore=0 impostorscore=0 priorityscore=1501 clxscore=1015 suspectscore=2 adultscore=0 mlxlogscore=695 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2010080119 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. 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 (2): MdePkg/Include: Definitions of EFI REST JSON Structure Protocol RedfishPkg/RestJsonStructureDxe: EFI REST JSON Structure Protocol MdePkg/Include/Protocol/RestJsonStructure.h | 160 +++++ MdePkg/MdePkg.dec | 6 + RedfishPkg/RedfishPkg.dsc | 3 + .../RestJsonStructureDxe.c | 583 ++++++++++++++++++ .../RestJsonStructureDxe.inf | 40 ++ .../RestJsonStructureInternal.h | 35 ++ 6 files changed, 827 insertions(+) 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