From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web11.46120.1606180782473868350 for ; Mon, 23 Nov 2020 17:19:42 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=UfGm3j/8; spf=pass (domain: intel.com, ip: 192.55.52.93, mailfrom: hao.a.wu@intel.com) IronPort-SDR: /GYnLqwIwqmZsGyyKAvy3/LojuEtZxDTewQ82xALFGr886NKBxOZALeG5/0vc8Qii/LACnlHQn 69SsCQGeEcag== X-IronPort-AV: E=McAfee;i="6000,8403,9814"; a="168363061" X-IronPort-AV: E=Sophos;i="5.78,364,1599548400"; d="scan'208";a="168363061" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2020 17:19:41 -0800 IronPort-SDR: cDEvQ5nEArX0hnJC43Ak0rSM6wYO0Zx+n2jqWmuUNWz8iRDKlI7SF/b4WO4ww/xIH5lW7RUe00 HN46snIFc7HQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,364,1599548400"; d="scan'208";a="402767071" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga001.jf.intel.com with ESMTP; 23 Nov 2020 17:19:40 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 23 Nov 2020 17:19:40 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 23 Nov 2020 17:19:40 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 23 Nov 2020 17:19:40 -0800 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.170) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Mon, 23 Nov 2020 17:19:39 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nPBAKQQQpQQgzNpAgQ33IPqdXBQhkwnk+TfMsOolB9O+t0v4p9IKaTdwktzLPTlSyAVRNEcQPw2MFgVapGCXhQvh5CHtmEDEfMCZkbT+VBEMTeK84PC7BymDBp7AGwf/g1enq06tjN2EDlTwnDfC1qn0Fx7lT8aO3i4MlbFQ7A70QWGlFqFKAdrA4IR7Lt7VJ5/rFBbUpqrIW4aUuLoT/9uV2SQkOVS22Yy7IovlWsZ/F/WJLGufzRS4InEdpFgmby3bCstAo83zKaoQNGWJkv6LAPd5MEGN5eREub/wgboGE8u1la788r6gynjhcgBB2GK+SGdmdj6pX2uk7g+A2w== 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=FziC38aAipp7HdA2d4fg0cW+q0jB83aR1USJ4DwAUWw=; b=F5LDUSowq9gMRTvNSS3Onn4+xSS9TMU7h8EgJbh5B6BQpFvrpHeD86eVPq6GwVhVMMnK5yAJOpz1ARe943Ihn7qJUGWFadE1rhfEUCC5RW37uLX8uElsgW2il9tkWvJtzA9tLPTc1w+eQdlZisg4Q4s3Gc5mNwVQgakAQFIWWra0qnIDc354VTmBscShU7hfOYZCkB0UqkBwykyMhrgzjtmajxYztlJR0Rkgv3oJBCmmmI12BEuMuPlTjqW0tL9+D9t7c9LROXOzaMp2ORw3s//mXs/Pm8SZz0K57QmxFq9HD6ryizvFMZctTH3NFUEmCpbyjXQWbDx+PshRs/0aeg== 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=FziC38aAipp7HdA2d4fg0cW+q0jB83aR1USJ4DwAUWw=; b=UfGm3j/85XP5qWdQnaSc1rlJz3N/ysIDHJD2s+bHQAUnW5XlQFYqeEvpf/dnOaT7lZp6zNIcHDcZmuLiBx6+ZbPy8XI520rMJymCixnmL1U2Mso+Kg4KPOp0XR6PTZW9AWdPmQ7a1BPLB9s25sym/nUioRrQH0dJyBZpvDH2gLo= Received: from BN8PR11MB3666.namprd11.prod.outlook.com (2603:10b6:408:8c::19) by BN6PR11MB0065.namprd11.prod.outlook.com (2603:10b6:405:65::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3564.25; Tue, 24 Nov 2020 01:19:38 +0000 Received: from BN8PR11MB3666.namprd11.prod.outlook.com ([fe80::b48e:bb0b:fdb:38a2]) by BN8PR11MB3666.namprd11.prod.outlook.com ([fe80::b48e:bb0b:fdb:38a2%5]) with mapi id 15.20.3589.030; Tue, 24 Nov 2020 01:19:38 +0000 From: "Wu, Hao A" To: Abner Chang , "devel@edk2.groups.io" CC: "Wang, Jian J" , Andrew Fish , Laszlo Ersek , Leif Lindholm , "Kinney, Michael D" , Nickle Wang , Peter O'Hanley Subject: Re: [PATCH 0/3] JsonLib: jansson edk2 port Thread-Topic: [PATCH 0/3] JsonLib: jansson edk2 port Thread-Index: AQHWwaWpgE6CyF0BvkuX9D6Pt2xq3KnWexUw Date: Tue, 24 Nov 2020 01:19:38 +0000 Message-ID: References: <20201123134722.15980-1-abner.chang@hpe.com> In-Reply-To: <20201123134722.15980-1-abner.chang@hpe.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: hpe.com; dkim=none (message not signed) header.d=none;hpe.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.218] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8162b1ab-913e-4454-3c15-08d89017033b x-ms-traffictypediagnostic: BN6PR11MB0065: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dmow89oVM/XqQUOF9SJ+864RJClm+VY2oGdv4y3xhrxxtf49wLemBLatvAPDfEqYvd7cCOO1Y4nkEwxCoLy7mM/h5WCUYe5Xm+AkPPr6KOMjrx/ywD4sOrFGzZJLm8COhvku/fQBn0ZbGzHcPrCx7zqCoLkwLbP8z2RhPj98h0lns4BQozCFby7dQ6jaHA+cTXuVl/5xyZ2Fsf0Dqj6CagSCt6KtdFb3VD6atN6me0lRT+/gNelU4WzHzFOsRGcGO0D0IY0k7yaGPHsLaLdsw3nN704rcNYX3toH7DLrBu5510BoyjWYcIOwcp8tvqiY13ibHIkACAKwYlB2wW326vuECtOymKR647T2eEMpq/+3Ggqu19WXL8WWDfywAEIg7DvdddXz5FzosBiJNDk2Mg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN8PR11MB3666.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(39860400002)(376002)(346002)(366004)(396003)(136003)(478600001)(186003)(296002)(2906002)(8936002)(6506007)(8676002)(71200400001)(83380400001)(7696005)(26005)(52536014)(316002)(86362001)(110136005)(4326008)(53546011)(64756008)(66446008)(66946007)(55016002)(54906003)(76116006)(66476007)(66556008)(5660300002)(9686003)(33656002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?IVHaD3uJzksOumEEhwlB3XOIIZJ9ksKG+SgZ2GAtoJ61VwnNVEEZldNnoc6r?= =?us-ascii?Q?67DGr21+UiF7he4p1YxcGJ80nhh/LREBF5cfbPX5PAG3sg7kyR8hz349bTJa?= =?us-ascii?Q?JGw8ZfNuH+LEyybzgpPzWY626Lpuddhs+nFiIU6KabhAuZvRPny0LzkjFlkx?= =?us-ascii?Q?A4PQNum48CSopKY5g+yi6tVfPqIxGzJgF0fPqcT1yR2o/bgORrQiagjupzdE?= =?us-ascii?Q?5yJoJvnaZqB3GGbc8RU6W69UDORqk76LW0ZzqlvcxRStsGvZxbB9V0rW/3kW?= =?us-ascii?Q?uQgnwtcA/sO3pMPusQlsy0lQJf4Ic/ItTW7Ibqz8mDVG3YT1s3pDDhV6Psud?= =?us-ascii?Q?9e/qdE29om1KTZlHaL0mlKFvX/2xBfllbeC7s33OeAUMrHeo/VJJkjT35yvD?= =?us-ascii?Q?/EgdBNeXDGC+5q+RtZwCA7lkCB0GmTGhKUCFgR1/bMI7b3nNTTW7VTBkZ1k7?= =?us-ascii?Q?wD6djvJE0Gm37UBg6KSvKiJaDJiGF6p4Z+oBJgQRN+UYbYAPQ8t7PxmgL8mV?= =?us-ascii?Q?xA04JsEw3KO+SLoZMd0BL+WGwEK4s8fU9lxKU4KY5dSOBW9Zfay0tJKoxNbT?= =?us-ascii?Q?kd0+oMoNSAS+h1oDBA0bQ5xD/QZVlpxjrD17vkvSOwl4S81pC+/Jm3DdTdIg?= =?us-ascii?Q?x5GqSvV1xCb8iezZB0V0ff07qGpLOGO+PUTADU8x/xId771WES756pXuS/T8?= =?us-ascii?Q?nV9ehqlcStE3s/9mOW70bBvfXgBMZkuyHnQV5BJuDI/HjRGvJLId7BEGe53C?= =?us-ascii?Q?hSUhmx6BVPRyF7tHSYlGp7UxESwq8ZwVI5cEgL071wfydRGQE12gQKdCb3mN?= =?us-ascii?Q?xs3oL8PeB8mINHFtQjtNyiVX0nhNraw7y2wTAagfni2SNGxD4ng6Mky2qHAo?= =?us-ascii?Q?xz+RtvDBFX0z4JPJN4qf+fxB5X/7x0WZhspaIr1YnxtzP2JGmIDtmh888xqn?= =?us-ascii?Q?QrZSoCp3uJV8CahMqJiplsfzVwwCIx92DLQpHAhuG8Y=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN8PR11MB3666.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8162b1ab-913e-4454-3c15-08d89017033b X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Nov 2020 01:19:38.4607 (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: +zwqkvsFNtNqMWR3Sir8fD4wxgjYcFPjBnRF5vwfaC2qp8HqTXlHiVbbGaiA835Ym6i65ybDG2LTmM5T0HvTFw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB0065 Return-Path: hao.a.wu@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable > -----Original Message----- > From: Abner Chang > Sent: Monday, November 23, 2020 9:47 PM > To: devel@edk2.groups.io > Cc: Wang, Jian J ; Wu, Hao A ; > Andrew Fish ; Laszlo Ersek ; Leif > Lindholm ; Kinney, Michael D > ; Nickle Wang ; > Peter O'Hanley > Subject: [PATCH 0/3] JsonLib: jansson edk2 port >=20 > This set of pactehs is sent for the comments on edk2 JSON library. > edk2 JSON library is based on jansson open source > (https://github.com/akheron/jansson) and wrapped as an edk2 library. edk2 > JsonLib will be used by edk2 Redfish feature drivers (not contributed yet= ) Hello, Sorry for possibly missing previous discussions on the Redfish feature. I am wondering is it more straight-forward to put the JsonLib together with= the Readfish codes under RedfishPkg? Best Regards, Hao Wu > and the edk2 port of libredfish library (not contributed yet) based on DM= TF > GitHub (https://github.com/DMTF/libredfish). >=20 > You will encounterred the build error with the jansson library pointed in > submoudle (v2.13.1) and the fix is already submitted to jansson open sour= ce > (https://github.com/akheron/jansson/pull/558). >=20 > Signed-off-by: Abner Chang >=20 > Cc: Jian J Wang > Cc: Hao A Wu > Cc: Andrew Fish > Cc: Laszlo Ersek > Cc: Leif Lindholm > Cc: Michael D Kinney > Cc: Nickle Wang > Cc: Peter O'Hanley >=20 > Abner Chang (3): > edk2: jansson submodule of JSON library > MdeModulePkg/library: EDK2 port jansson library > MdeModulePkg: Add EDK2 port jansson library >=20 > .gitmodules | 3 + > MdeModulePkg/Include/Library/JsonLib.h | 596 +++++++++++++ > .../Library/JsonLib/JanssonCrtLibSupport.c | 705 +++++++++++++++ > .../Library/JsonLib/JanssonCrtLibSupport.h | 198 +++++ > MdeModulePkg/Library/JsonLib/JsonLib.c | 805 ++++++++++++++++++ > MdeModulePkg/Library/JsonLib/JsonLib.inf | 81 ++ > MdeModulePkg/Library/JsonLib/JsonUtilities.c | 417 +++++++++ > MdeModulePkg/Library/JsonLib/JsonUtilities.h | 69 ++ > MdeModulePkg/Library/JsonLib/assert.h | 11 + > MdeModulePkg/Library/JsonLib/errno.h | 11 + > MdeModulePkg/Library/JsonLib/jansson | 1 + > MdeModulePkg/Library/JsonLib/jansson_config.h | 57 > ++ .../Library/JsonLib/jansson_private_config.h | 19 + > MdeModulePkg/Library/JsonLib/limits.h | 11 + > MdeModulePkg/Library/JsonLib/math.h | 11 + > MdeModulePkg/Library/JsonLib/stdarg.h | 11 + > MdeModulePkg/Library/JsonLib/stddef.h | 11 + > MdeModulePkg/Library/JsonLib/stdio.h | 11 + > MdeModulePkg/Library/JsonLib/stdlib.h | 11 + > MdeModulePkg/Library/JsonLib/string.h | 11 + > MdeModulePkg/Library/JsonLib/sys/time.h | 11 + > MdeModulePkg/Library/JsonLib/sys/types.h | 10 + > MdeModulePkg/Library/JsonLib/time.h | 11 + > MdeModulePkg/MdeModulePkg.dec | 7 +- > MdeModulePkg/MdeModulePkg.dsc | 4 +- > ReadMe.rst | 1 + > 26 files changed, 3092 insertions(+), 2 deletions(-) create mode 100644 > MdeModulePkg/Include/Library/JsonLib.h > create mode 100644 > MdeModulePkg/Library/JsonLib/JanssonCrtLibSupport.c > create mode 100644 > MdeModulePkg/Library/JsonLib/JanssonCrtLibSupport.h > create mode 100644 MdeModulePkg/Library/JsonLib/JsonLib.c > create mode 100644 MdeModulePkg/Library/JsonLib/JsonLib.inf > create mode 100644 MdeModulePkg/Library/JsonLib/JsonUtilities.c > create mode 100644 MdeModulePkg/Library/JsonLib/JsonUtilities.h > create mode 100644 MdeModulePkg/Library/JsonLib/assert.h > create mode 100644 MdeModulePkg/Library/JsonLib/errno.h > create mode 160000 MdeModulePkg/Library/JsonLib/jansson > create mode 100644 MdeModulePkg/Library/JsonLib/jansson_config.h > create mode 100644 > MdeModulePkg/Library/JsonLib/jansson_private_config.h > create mode 100644 MdeModulePkg/Library/JsonLib/limits.h > create mode 100644 MdeModulePkg/Library/JsonLib/math.h > create mode 100644 MdeModulePkg/Library/JsonLib/stdarg.h > create mode 100644 MdeModulePkg/Library/JsonLib/stddef.h > create mode 100644 MdeModulePkg/Library/JsonLib/stdio.h > create mode 100644 MdeModulePkg/Library/JsonLib/stdlib.h > create mode 100644 MdeModulePkg/Library/JsonLib/string.h > create mode 100644 MdeModulePkg/Library/JsonLib/sys/time.h > create mode 100644 MdeModulePkg/Library/JsonLib/sys/types.h > create mode 100644 MdeModulePkg/Library/JsonLib/time.h >=20 > -- > 2.17.1