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.web08.7694.1607569147518744368 for ; Wed, 09 Dec 2020 18:59:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=MgEFhE/i; spf=pass (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=061307e4aa=nickle.wang@hpe.com) Received: from pps.filterd (m0148663.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 0BA2wcDR009661 for ; Thu, 10 Dec 2020 02:59:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pps0720; bh=HtunbSZUIXJEwZieReuF/fyIceCfzC14vkUKu2Yq8vo=; b=MgEFhE/iEkdJaslcjhmM3u3614SHD/MutZWIejsbcSbkNP/2viZrPEBDzPITBezX7QWo 3A2jNF7VYII66H3SUdboVYjupm8KPmcUQgM+V8Cjz0EXaNQ6e6mko8MG2S+LrAnsL51u IhsNSrurCBPUaO8/i85ndKX8ONYcEZNbZk35talCxXYGbQd5LsuVCmp8QKEUIycFiktg tSRAbRs2IzL6rjxxS1PhkjB8r/ZimMZJ7amWeD9cyJQa4LHUJdpIM27bTg+T9a470crG 8B2IaAWncUk7SVbRMVdnkDsYELpJlWHhEHep8uBhWkrmykXD3FXddXmLSshUNJ/NQEqh Iw== Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) by mx0a-002e3701.pphosted.com with ESMTP id 35agyhuatc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 10 Dec 2020 02:59:06 +0000 Received: from G2W6311.americas.hpqcorp.net (g2w6311.austin.hp.com [16.197.64.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g4t3426.houston.hpe.com (Postfix) with ESMTPS id 7B29465 for ; Thu, 10 Dec 2020 02:59:05 +0000 (UTC) Received: from G9W8670.americas.hpqcorp.net (16.220.49.29) by G2W6311.americas.hpqcorp.net (16.197.64.53) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 10 Dec 2020 02:59:05 +0000 Received: from G9W9210.americas.hpqcorp.net (2002:10dc:429b::10dc:429b) by G9W8670.americas.hpqcorp.net (2002:10dc:311d::10dc:311d) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 10 Dec 2020 02:59:04 +0000 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (15.241.52.10) by G9W9210.americas.hpqcorp.net (16.220.66.155) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Thu, 10 Dec 2020 02:59:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F1EV9i8zUzYpr2zEm1tr/HCsUyaQfYwYeCLjlC04oR5Mo5vHz/Aelj38s0DHBYcQMu1iAie2jFvtYHW2bU3wGIrdv4pJKyIB+slQtUOVoIQoQOItc1tUmS+UfdPPTTL5kKGzQiHU/Kohj2+ba+ZAIZNrsJehX6DMmOAd9Uv58GnxduGD94s1e2Nx6pnR/EeL5sA1hiWuN/z7PohFGLkorEh+thVC8fUEg/yytxyCaSt9uUUexMstxBdHbhZMLs+2VXybykTUq2i9VlbNZ16XLo1zLGCAuB6mp0FaPa8srsEwN4AxgSDGv0/7HHp0PpDqCpEqejFCFx/QW9RCMXdmJg== 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=HtunbSZUIXJEwZieReuF/fyIceCfzC14vkUKu2Yq8vo=; b=CDeeWYo3EO9QcbPjhb/oVBEnbegH/gSR3kioPdSGAGZJ2IzNlEL8iBoxluhErFqAMtFyswLj5iARZlKueOypl+VyFUDJIzs4+NfB+05usB9K85dqrEGPqhZ1wA9ax6xsdplE7u+2Pd3XLz6xPeYB5QI+iifX6CFeqGX5aoI+N/h+PaDYOa26rG9wQ1b7/T+PZ2Zyllg8BSmXhdFgMtqVH2cOHi0d2NF0pwc589t5p3raFIh+LN45XlvOOX8W6kcB5bAFwgFeIAOqtv6B0nWJF6T3iZXgp38R+3n/HmlZv76Wq3hbmaXEx9lFm7WDNuqCUtFIuUPNvCQRX6IKELZ6jQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none Received: from DF4PR8401MB0812.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760d::7) by DF4PR8401MB0508.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:760b::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Thu, 10 Dec 2020 02:59:03 +0000 Received: from DF4PR8401MB0812.NAMPRD84.PROD.OUTLOOK.COM ([fe80::e475:6a2b:ed1c:a060]) by DF4PR8401MB0812.NAMPRD84.PROD.OUTLOOK.COM ([fe80::e475:6a2b:ed1c:a060%11]) with mapi id 15.20.3654.014; Thu, 10 Dec 2020 02:59:03 +0000 From: "Nickle Wang" To: "Chang, Abner (HPS SW/FW Technologist)" , "devel@edk2.groups.io" CC: "O'Hanley, Peter (EXL)" Subject: Re: [PATCH v5 5/6] RedfishPkg: Add EDK2 port of jansson library to build Thread-Topic: [PATCH v5 5/6] RedfishPkg: Add EDK2 port of jansson library to build Thread-Index: AQHWzQ3lIS+aUCgFb0anRwrQnoMqAqnvprYg Date: Thu, 10 Dec 2020 02:59:03 +0000 Message-ID: References: <20201208021048.9104-1-abner.chang@hpe.com> <20201208021048.9104-6-abner.chang@hpe.com> In-Reply-To: <20201208021048.9104-6-abner.chang@hpe.com> Accept-Language: zh-TW, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: hpe.com; dkim=none (message not signed) header.d=none;hpe.com; dmarc=none action=none header.from=hpe.com; x-originating-ip: [2001:b011:5c04:5ee2:852e:ddde:5093:2eac] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: da9f2d1c-8036-4bc1-5703-08d89cb78d4d x-ms-traffictypediagnostic: DF4PR8401MB0508: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:660; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KCggzH/mqSnOpI9BC+jcOXRM2oWoP2tfMwYhsOXMDA8UN4dPC3A0OGY2MCWL6BFR14BlZ3deTJw7syWL+nYYYgw6DaOWnYup24JeDukbYBfQj4ZDOhyRgrWllw4EOiDXe5q3uRFHe3ENuZH0UhJicltsXc72dLnFBrpzy5U3DfQNVG39u4/dW+xFQu3VfZHwYrzNEqU0aSP2iuvWZLlGDnbCAnb94dDVVlZoXHrQNFYoFcTxpHTtuzXyllgrIW9zDL7PaYDuCl+WHwIxEOgfAQM0Z+Rw23raenzzajP4tJTOfwYHvJPwxoAiQjj5PLRl x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DF4PR8401MB0812.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(346002)(376002)(136003)(366004)(7696005)(53546011)(55016002)(8676002)(76116006)(6506007)(110136005)(8936002)(86362001)(9686003)(64756008)(5660300002)(186003)(52536014)(4326008)(71200400001)(66446008)(66946007)(66556008)(66476007)(33656002)(2906002)(83380400001)(508600001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?dypYyFuNZfbItXHlgQRUCtcVDcv2327HrgXMHUh7FL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Y0d9Eu5iz9qniPadpBQ6O1JwuEHFawH6YrQ7zRKCNm+QkHRc?= =?us-ascii?Q?n7LCI8085dABF4c+z7vyeVqsAnvB5e9K7VlFn/u6V2QeBE+w3tpGx8dPYZaT?= =?us-ascii?Q?03F35v08GCxpjCU5SbvnUSY2jtfRW9yqq14Hh1DGLRKQQwg=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DF4PR8401MB0812.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: da9f2d1c-8036-4bc1-5703-08d89cb78d4d X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Dec 2020 02:59:03.4920 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: v2n80eIKvm+GVyaFRWSaVOzArmXnteAdvSRlRXrLJPXttZ+cc3QhDJZtgd7YRnkMgYsmzOtidaYJM11yHRVP3Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DF4PR8401MB0508 X-OriginatorOrg: hpe.com X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343,18.0.737 definitions=2020-12-10_01:2020-12-09,2020-12-10 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxscore=0 malwarescore=0 priorityscore=1501 suspectscore=0 adultscore=0 spamscore=0 clxscore=1015 bulkscore=0 mlxlogscore=999 lowpriorityscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012100019 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Nickle Wang > -----Original Message----- > From: Chang, Abner (HPS SW/FW Technologist) > Sent: Tuesday, December 8, 2020 10:11 AM > To: devel@edk2.groups.io > Cc: Wang, Nickle (HPS SW) ; O'Hanley, Peter (EXL) > > Subject: [PATCH v5 5/6] RedfishPkg: Add EDK2 port of jansson library to b= uild >=20 > Add EDK2 port jansson library (JsonLib) to RedfishPkg >=20 > Signed-off-by: Abner Chang >=20 > Cc: Nickle Wang > Cc: Peter O'Hanley > --- > RedfishPkg/RedfishLibs.dsc.inc | 2 ++ > RedfishPkg/RedfishPkg.dec | 11 +++++++++++ > RedfishPkg/RedfishPkg.dsc | 2 ++ > 3 files changed, 15 insertions(+) >=20 > diff --git a/RedfishPkg/RedfishLibs.dsc.inc b/RedfishPkg/RedfishLibs.dsc.= inc > index d4c08e18ac..bc036a33e8 100644 > --- a/RedfishPkg/RedfishLibs.dsc.inc > +++ b/RedfishPkg/RedfishLibs.dsc.inc > @@ -12,5 +12,7 @@ > ## > !if $(REDFISH_ENABLE) =3D=3D TRUE > Ucs2Utf8Lib|RedfishPkg/Library/BaseUcs2Utf8Lib/BaseUcs2Utf8Lib.inf > + CrtLib|RedfishPkg/Library/CrtLib/CrtLib.inf > + JsonLib|RedfishPkg/Library/JsonLib/JsonLib.inf > !endif >=20 > diff --git a/RedfishPkg/RedfishPkg.dec b/RedfishPkg/RedfishPkg.dec > index aecc1f4a3a..c21657e349 100644 > --- a/RedfishPkg/RedfishPkg.dec > +++ b/RedfishPkg/RedfishPkg.dec > @@ -25,6 +25,17 @@ > # > Ucs2Utf8Lib|Include/Library/BaseUcs2Utf8Lib.h >=20 > + ## @libraryclass Provides the C runtime library functions > + # CRT library is currently used by edk2 JsonLib (open source > + # jansson project) and edk2 RedfishLib (libredfish open source > + # project). > + CrtLib|Include/Library/CrtLib.h > + > + ## @libraryclass Provides the library functions based on third party > + # jansson library to manipulate JSON data structure. > + # > + JsonLib|Include/Library/JsonLib.h > + > [Protocols] > ## Include/Protocol/RedfishDiscover.h > gEfiRedfishDiscoverProtocolGuid =3D { 0x5db12509, 0x4550, 0x4347,= { 0x96, > 0xb3, 0x73, 0xc0, 0xff, 0x6e, 0x86, 0x9f }} > diff --git a/RedfishPkg/RedfishPkg.dsc b/RedfishPkg/RedfishPkg.dsc > index d198a94b73..515e453c00 100644 > --- a/RedfishPkg/RedfishPkg.dsc > +++ b/RedfishPkg/RedfishPkg.dsc > @@ -44,5 +44,7 @@ > [Components] >=20 > RedfishPkg/Library/PlatformHostInterfaceLibNull/PlatformHostInterfaceLibN > ull.inf > RedfishPkg/Library/BaseUcs2Utf8Lib/BaseUcs2Utf8Lib.inf > + RedfishPkg/Library/JsonLib/JsonLib.inf > + RedfishPkg/Library/CrtLib/CrtLib.inf >=20 > !include RedfishPkg/Redfish.dsc.inc > -- > 2.17.1