From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web10.20994.1683268403751998641 for ; Thu, 04 May 2023 23:33:24 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=HgAQESzM; spf=pass (domain: intel.com, ip: 192.55.52.151, mailfrom: chasel.chiu@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683268404; x=1714804404; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=dhaJa+m2OqIRqQ3vw+DlxKornEnrJO81c43+X7mshe8=; b=HgAQESzMFMvi6ZIF0/neKwfspF168CDDFRmK/qss3OvtVv2KrBxI0YmI IHrPz2PnIRRj7OkMONRD/B8hVzyLj2xzSVkSGYcrVI0N9RJJFAz41NAQ/ naAzgjmY9EyyJMt6a3lZXYsreKrz6svyG1J4YJO1tb7uHgZQisTxDI3Z9 AsBJEeJ4G6LEHnrp7rHeBf9fvzILFp1YVn4Al+NYqBusEizdIp86vnYUf 0CqmR37h/3/ulKc72Ae3TKs0BnALm6arFg97bTNR0utVqRItophQa2FJK g5k868KUlG/cpwoLKOx+ExrmR6Hg8luEWp8WutmSXutFgOZBsJ6JJimVt g==; X-IronPort-AV: E=McAfee;i="6600,9927,10700"; a="329502460" X-IronPort-AV: E=Sophos;i="5.99,251,1677571200"; d="scan'208";a="329502460" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2023 23:33:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10700"; a="730171417" X-IronPort-AV: E=Sophos;i="5.99,251,1677571200"; d="scan'208";a="730171417" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga001.jf.intel.com with ESMTP; 04 May 2023 23:33:14 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Thu, 4 May 2023 23:33:14 -0700 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.2507.23 via Frontend Transport; Thu, 4 May 2023 23:33:14 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.168) 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.2507.23; Thu, 4 May 2023 23:33:12 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gNzHfkGbo0wcMyevUSmC0TQSsDov6/WKM3Nej8RiYcQIWMLiy9xfbqEZwPM6Apa6R5Js2QMVfkDp5gAG14izKi7gSlEgxSkuuGaU3VpQo9bJYFL+9MYDVZ9sICQyUGPe+Qqp0IhjlkwCWy+3Zjyr+j9HPecqnRwaV98fvAINb5sixVa+hZjivsU+Ec5MiRpKN/BkZPd0LDJOaMiBcb2VFb9swDQ8sJVZCtiI9XKTxQ9+yF5euHcpwPas1wH41lIccbW4abr2u/96AkNjtIuIOJTfQIoXe3jC+dwrZjAlBCjEX4D/MiwFdj2mpDRDy9xWuzcr1DUOn/R/cAP7R5QUAg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=MsgrhREMHrE9B2MXpkn4LwGuy5a/5Qv8/04UG+1CE8w=; b=DaG+Jw+q87vuVQ/AU8nIzzsbWDfRDuoJZxGvx6CLapH1Rwv31eK76kOzskfRuU/y3LP5ft/ewNWpwW5HtNcAjRBhvfKgvWhDGO6eR1Gk0IMPWyeUTtdEosIm52B4kI7vhybZKElW2sOGb3SaNbsQDS2knKUEXudjwaowCqBaNRPH2sYN7Fb67eELe9rtGWTAylvPuIuwJX9Ex/h8KVO8AfvbOaM8xrNtUL/tOeydB0wspPPHZvDwVCV7VF+QfqbymL57c6DCpWN02tXPfXWMDCCdAhoaoX/RH5cQoQUeuobkhyiMf6Qcf9gdTcMFOHcCvi3fm0gppQN+eGSjR7ZRKw== 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 Received: from BN9PR11MB5483.namprd11.prod.outlook.com (2603:10b6:408:104::10) by LV2PR11MB6024.namprd11.prod.outlook.com (2603:10b6:408:17a::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.22; Fri, 5 May 2023 06:33:07 +0000 Received: from BN9PR11MB5483.namprd11.prod.outlook.com ([fe80::1eb1:2222:1823:8e7a]) by BN9PR11MB5483.namprd11.prod.outlook.com ([fe80::1eb1:2222:1823:8e7a%7]) with mapi id 15.20.6363.026; Fri, 5 May 2023 06:33:07 +0000 From: "Chiu, Chasel" To: "devel@edk2.groups.io" , "Chiu, Chasel" CC: "Kinney, Michael D" , "Gao, Liming" , "Liu, Zhiguang" , "Sean Brogan" , Michael Kubacki , Pedro Falcato , "Lin, Benny" Subject: Re: [edk2-devel] [PATCH v7 0/3] Support FDT library. Thread-Topic: [edk2-devel] [PATCH v7 0/3] Support FDT library. Thread-Index: AQHZfuL9ebGU+qesrkSLK4ZG33J39q9LOPiA Date: Fri, 5 May 2023 06:33:06 +0000 Message-ID: References: <175C1598CC6A11A3.898@groups.io> In-Reply-To: <175C1598CC6A11A3.898@groups.io> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BN9PR11MB5483:EE_|LV2PR11MB6024:EE_ x-ms-office365-filtering-correlation-id: af8cfba8-c0ed-49f6-267f-08db4d329600 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bCui681cG1McILFmKXmcJPhdwNdO1As2Sv9es9DgNVhroHzRr4xIUBYfAYOj2+aTOpGnUK3cpZdVTDg0obiT1lt46sz2vZeR/oLQrPU2UWTuY7a/M+/fCeQ5Jy2f+lk+O+CT5PAW1QXxh5bFNCdGI32rHqBeAlWPUXSJ9B6i87XzhCBTurBRIm7apmfyDSXFDO0imwO8WohHfRPRR/++aA8QHxPqvJrxGtEWwFjrRAdBX0HwLztIWFdfNn/PxNSvN1vWCLqKMUD7aJlRmY7E+xD5IisPUQAEeVKvVxYGOFfC7zKP4ukGkBw9yCkedKNoF26d95GoEIykM6g02vefHF6A+T3G7RMQ34/SivDKlyz7NZuMyYtMnqt2CeIEyAaebquWPfUubt2J5NmB2HQ8ANsqBh7IBU52xW4+c9ONSzniESUktOpQa+sbXtiMuQK55zrCc7glkCHlv0m9kJAW26kAqjsF6Dtmx8Ur9pGpZ2b8DUQk90a9J7eHyHDJfGMfCeyaaNRmoVnQoQIA2xy6yKvOx6m3bn5v+K54z7ZjfzluG1AlpJruBMvOYLnpT0Re14eFoQf8buwXdboH9yZKhW7oeqnlhmDkxQlni9G8KvxkfQUoGMxV/CVJyh5P4bTzGPsoF963D9ihkz02ieiqww== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN9PR11MB5483.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(39860400002)(346002)(136003)(396003)(376002)(366004)(451199021)(478600001)(66899021)(2906002)(107886003)(66446008)(316002)(66556008)(64756008)(76116006)(66476007)(4326008)(7696005)(71200400001)(66946007)(966005)(33656002)(82960400001)(38070700005)(55016003)(122000001)(41300700001)(9686003)(53546011)(6506007)(26005)(110136005)(86362001)(83380400001)(54906003)(38100700002)(8936002)(52536014)(186003)(8676002)(5660300002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?eLks7yiemsIqZeP+BXpeY1iy+pHzpy6lu8W+xj+pDYQEn1PqahR2PIpBzERi?= =?us-ascii?Q?zDoUB9G1b93+uJ6N0F5Io3NfjAFWVhevURQLw/ey9/1eEBffGdFFFuEsr2hy?= =?us-ascii?Q?3rxrtb8z+GdExKNvGu/+PY88bWJqclEHHamEWYQjcsftV5evk3mYWmsiDSTU?= =?us-ascii?Q?Mq05laoFr3/AVBZZTuAVPF69W6xCzg6/NLC/OMMTDOTn4QKsyvOI7aQUmVqX?= =?us-ascii?Q?B4zSBGOPfAuQgJeTDfeWF+xGlBPNZLnyNBZ42Q5CrezyY7m3I3QHVzjgeEga?= =?us-ascii?Q?hRHmu8M9zhe+ywg7+A+Yr4A6lFE1Dt5VYZ7bzJzcbbDmdgYxtn02Q+VVKnNb?= =?us-ascii?Q?s35x52wZRJkbDcZX4gkXCvwQO6dxrqVQoNHmQgqG/GoHKke56pg6s8vSHo3u?= =?us-ascii?Q?JYJjzfjBafNPKByTPY52ViuhSVxf2Fl66UooycLg3mYseuYCfU05WmQ22FLY?= =?us-ascii?Q?lni3IPveJYX32KJfiQmrpIwmrVATUZ2DqHT05j2+YLNthwfMZHQxXp8aBQHQ?= =?us-ascii?Q?bB6RZFdJ1ddf8Zm2FtccItco+v8dG9NB6J+R7bsgUk+9ox5uqRkIT1I+pa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wPgIzd03TytX5ftiLy/SPfbvPtTelZbF2HVCj?= =?us-ascii?Q?mcRkg913JI2jbOBnCqe1wdUI4m4sdngjUVs8tESMv8lU5K2CsVTJtqhwBMkI?= =?us-ascii?Q?jmiHRJR50F18b58Bdq0wCElogUt2siq+R6BxjLkK?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN9PR11MB5483.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: af8cfba8-c0ed-49f6-267f-08db4d329600 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 May 2023 06:33:06.2908 (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: g2iBkRX3vy0HmiAogvurmp8Nmkw/Tmnh7UbQ8sOIIR1ICJHejarCZZjbWwYAoAw6kB0P3f3AnilObGs3Yp3k1g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV2PR11MB6024 Return-Path: chasel.chiu@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Patch series merged: https://github.com/tianocore/edk2/commit/10416bf46e7e7b82472c3f1205572c6e62= 8fcc01 https://github.com/tianocore/edk2/commit/5d586606c7cf5fa4a086917329ca7618a7= 88c064 https://github.com/tianocore/edk2/commit/ff7cb2d7c98f8b832180e054848459fc24= a0910a Thanks, Chasel > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Chiu, Chas= el > Sent: Thursday, May 4, 2023 4:48 PM > To: devel@edk2.groups.io > Cc: Chiu, Chasel ; Kinney, Michael D > ; Gao, Liming ; Liu= , > Zhiguang ; Sean Brogan > ; Michael Kubacki > ; Pedro Falcato ; > Lin, Benny > Subject: [edk2-devel] [PATCH v7 0/3] Support FDT library. >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4392 > Add FDT support in EDK2 by submodule 3rd party libfdt > (https://github.com/devicetree-org/pylibfdt/tree/main/libfdt) > and refer to LibcLib implementation by Pedro. >=20 > Cc: Michael D Kinney > Cc: Liming Gao > Cc: Zhiguang Liu > Cc: Sean Brogan > Cc: Michael Kubacki > Acked-by: Pedro Falcato > Signed-off-by: Benny Lin >=20 >=20 > V7: > Update FdtLib.h comments to replace SwapBytes*() with CpuToFdt*() and > Fdt*ToCpu() provided by current library. > Benny Lin (3): > Tianocore: Support FDT library. > MdePkg: Support FDT library. > .pytool: Support FDT library. >=20 > MdePkg/Library/BaseFdtLib/FdtLib.c | 404 > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > ++++++++++++++ > MdePkg/Library/BaseFdtLib/LibFdtWrapper.c | 173 > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > +++++++++++++++++++++++++++++++++++++++++++ > .gitmodules | 3 +++ > .pytool/CISettings.py | 2 ++ > MdePkg/Include/Library/FdtLib.h | 401 > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > +++++++++++ > MdePkg/Library/BaseFdtLib/BaseFdtLib.inf | 62 > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > MdePkg/Library/BaseFdtLib/BaseFdtLib.uni | 14 ++++++++++++++ > MdePkg/Library/BaseFdtLib/LibFdtSupport.h | 99 > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > ++++++++++++++++++++++++++++++++++ > MdePkg/Library/BaseFdtLib/libfdt | 1 + > MdePkg/Library/BaseFdtLib/limits.h | 10 ++++++++++ > MdePkg/Library/BaseFdtLib/stdbool.h | 10 ++++++++++ > MdePkg/Library/BaseFdtLib/stddef.h | 10 ++++++++++ > MdePkg/Library/BaseFdtLib/stdint.h | 10 ++++++++++ > MdePkg/Library/BaseFdtLib/stdlib.h | 10 ++++++++++ > MdePkg/Library/BaseFdtLib/string.h | 10 ++++++++++ > MdePkg/MdePkg.ci.yaml | 15 ++++++++++++++- > MdePkg/MdePkg.dec | 4 ++++ > MdePkg/MdePkg.dsc | 1 + > ReadMe.rst | 1 + > 19 files changed, 1239 insertions(+), 1 deletion(-) create mode 100644 > MdePkg/Library/BaseFdtLib/FdtLib.c > create mode 100644 MdePkg/Library/BaseFdtLib/LibFdtWrapper.c > create mode 100644 MdePkg/Include/Library/FdtLib.h create mode 100644 > MdePkg/Library/BaseFdtLib/BaseFdtLib.inf > create mode 100644 MdePkg/Library/BaseFdtLib/BaseFdtLib.uni > create mode 100644 MdePkg/Library/BaseFdtLib/LibFdtSupport.h > create mode 160000 MdePkg/Library/BaseFdtLib/libfdt create mode 100644 > MdePkg/Library/BaseFdtLib/limits.h > create mode 100644 MdePkg/Library/BaseFdtLib/stdbool.h > create mode 100644 MdePkg/Library/BaseFdtLib/stddef.h > create mode 100644 MdePkg/Library/BaseFdtLib/stdint.h > create mode 100644 MdePkg/Library/BaseFdtLib/stdlib.h > create mode 100644 MdePkg/Library/BaseFdtLib/string.h >=20 > -- > 2.35.0.windows.1 >=20 >=20 >=20 >=20 >=20