From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web11.2479.1635467573323157955 for ; Thu, 28 Oct 2021 17:32:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=xsarvxyr; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: yuwei.chen@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10151"; a="294014562" X-IronPort-AV: E=Sophos;i="5.87,191,1631602800"; d="scan'208,217";a="294014562" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2021 17:32:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,191,1631602800"; d="scan'208,217";a="556332362" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga004.fm.intel.com with ESMTP; 28 Oct 2021 17:32:50 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) 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.2242.12; Thu, 28 Oct 2021 17:32:49 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 28 Oct 2021 17:32:49 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Thu, 28 Oct 2021 17:32:49 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.176) 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.2242.12; Thu, 28 Oct 2021 17:32:46 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q+0MLbSH7hGde+AzCfoaWDn4yjdWZjP8pql6EL1iNl8s3E+GVTgYUmuN8nuuwLGx5zrHdgBQtEMugTHn238VuBHCMqlmkAUUIBYhU9I/IEKgTvyFV7P0y9P3ODw6zl4INDpXCM0MQ7CLAN/tK33YgalaHMpK/s3LAyGjT4gn5PuScOVUCabnNxp3yqkOArrhhvws7RfQGLkUZdhgLsK/cfEtC6v7U+Hm0/XdOKXHwnPxf8a+KQNdb2VXfA13VmQXukIXygkDfuj1bx9IxRXH8UnVQ5xjkf6PzuVDeqFnec6cKp3dOey8KoIv9L45wFCEaDoB6GH2Qev3FUe45eRUcw== 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=OuuMKsvrCxDV4+RbuwQbHFrifTUPmBzqZEsVc15o/i0=; b=ZfFNcItxN8AGSCDbEjaQmBhtgRCe1OecgXjFh0JNlld2usVpx+FdxxziXsG3GtjuuN/3CWDc9EYX5XpBHIP9LZTuHGh/tIUr/nj+QXQA3tJvE/ghg7lwR4i5RAwqB1CcWggZHGDL2kgwjq1RFPJxGQvaSZ88xh27E5g+j8EDW1a1/mt0PJNlDPCJKh95vSk+n6E3LJ/hkVDvstCUlC3ZweRufvhqhbosQGCy8DxqmahwQ772JWXFdlLGy4Pi2dOSeGCkWo9OM1MhRjHj1KISGWQnfuLPq8XSJAv4HQv5kRJlGME2JjGEWExcsG1vZWFPv2udhj4T/R6BC59CesAVBQ== 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=OuuMKsvrCxDV4+RbuwQbHFrifTUPmBzqZEsVc15o/i0=; b=xsarvxyrt79jnRMuSqHE4H3r/qk2F424dYX11wuUjkiyzVUI5dCB6Z4v2fL1H5Dtqq2OLdd9G4GdeqQlvrSG1otbwmkLdPAEbKvt0kNxHtCB+2P/BSqOdUtYnr6DUH//OVuy7504+E7uuNr1zjC53nN4cFjvoAoiKwf++VVocCw= Received: from BN6PR11MB4017.namprd11.prod.outlook.com (2603:10b6:405:79::21) by BN6PR1101MB2305.namprd11.prod.outlook.com (2603:10b6:405:4d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18; Fri, 29 Oct 2021 00:32:45 +0000 Received: from BN6PR11MB4017.namprd11.prod.outlook.com ([fe80::3da1:f288:162:ce8b]) by BN6PR11MB4017.namprd11.prod.outlook.com ([fe80::3da1:f288:162:ce8b%7]) with mapi id 15.20.4649.015; Fri, 29 Oct 2021 00:32:45 +0000 From: "Yuwei Chen" To: "devel@edk2.groups.io" , "rfc@edk2.groups.io" CC: "Feng, Bob C" , "Kinney, Michael D" , Liming Gao Subject: [edk2-devel] RFC: Replace FMMT Tool from C to Python Version Thread-Topic: [edk2-devel] RFC: Replace FMMT Tool from C to Python Version Thread-Index: AdfMW7Xj4XLRJiqJQ72Vv/OofEDxaA== Date: Fri, 29 Oct 2021 00:32:45 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.200.16 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d4ba6820-7f0b-4ada-7a66-08d99a73a091 x-ms-traffictypediagnostic: BN6PR1101MB2305: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: a/F/IuLgxILR7HzOvDlbATxaeJX/vOEotDkwIdooMvCZP9gLeIEiPAvZjrC7A/97ZhX8k3/C1bdo8WLpUWMvjbSaWfOCPRM7yw5AR3ZRjKhlBz/KK0EnsmvfCRXUsIuTC7wd/TXlxe33OTMzJFnALKF8KstK5tWNKmMcDNi6Up3VPLStwZFZo7saSxTEdolYpiPdSDOUSbpe+k15600VVDzgNAdmCV7INuctu6Upb5jOzLSQYwY0Cia6/MLl54ACwhI0qfJ9uXk1DJPCQskHaQp9EWER6KwTnzFVBLa7hyQWQLsILmkui/HIH69XZicz+LQilablQiUgO5iwW1e1drieUlrMTLHwctnK/ADuEcCDzNiHDbT8St925SG0aaZXC4p4wboNHu8BTqG5Tv9pZ5CzOfcfaRNtB8x/lcxiTKvwAgxFhl5Wv5c35hxmpLtuBf8hxCNEg76RPkbrLJn+Gn+7tJle63K8H6lesrgl0C+Bdz0trnnpgC+wVJC9wmEt9pqon6GOz/DnvtG8D1aVS0vDVvoSBLdMzixY7bXKygn2mLkaWi5btC8QW4n8wQ5gTQFxFEEJ/zFB5JFz+oV8uN72On6LQb2w6GnmT5lYXc/LmDXsjpdh1NTdmI4cfECRg5t4JVDOBtdz0Tl3/l9/5DbSSyn4kHoUi4uDQ5b+eVl9F4YDtNa5UT//1mb2/aOJfGjaEwHNkH0SkXFJRMyq/mi28p60S0KwEAwunzAYLODe++oeMrRM3Ra5v2NWpoKxClcXWUN1+fJNtqKpldAHHT2NYMAIVoieAUOdlev3bno= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN6PR11MB4017.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(54906003)(52536014)(8676002)(26005)(122000001)(508600001)(5660300002)(66476007)(76116006)(64756008)(2906002)(9686003)(7696005)(66946007)(8936002)(66556008)(66446008)(4326008)(4744005)(33656002)(110136005)(186003)(38070700005)(38100700002)(166002)(966005)(55016002)(316002)(6506007)(86362001)(71200400001)(82960400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?gkENKZiWOvd0kIp2I/nmg75LjyUnD6+zY8fkPJrKKGTh1X1XBQ9+Fkkaa6G7?= =?us-ascii?Q?ejmbNQrzfM9fGhCOQ0Xi98y2diRtMUZQ0N5QUxF0iFszVu13A4KOSUpf+3/V?= =?us-ascii?Q?2qlgLzipXOldFHXaoF74988jWxyxVvNo1Hyr6053xLBScTebe9EslwgieCBe?= =?us-ascii?Q?pAoUp9T+loAvQPgpFIZPy2CIddQBVympF68L4fBfvRhJf726rzlyEJF3hGLM?= =?us-ascii?Q?w4wk2yI6Wp093JAYvuAwxzzYYATO/dkzSUA1JuZ3psak13F1BATT90HH+vUX?= =?us-ascii?Q?Umn2v+Kw/o1hAUG44/Y1C61/sS5pndRBGuFqGwiSw6r5jH+XvArKLIGDyFUf?= =?us-ascii?Q?lcVfetO3E8n0GGFn0WwVQ++bmUngGJc6bpd0wBO3Chs4+SjYmp/5ezVJCcXu?= =?us-ascii?Q?MMuw2WUoOVC2JnWRozISWsKm+V/f7Rv81cTHAdnTAJWRekQ/6DV3hK1Sx4uZ?= =?us-ascii?Q?J9+YfI1sHsaD9AQrLrAeWwYh6L9lBuT4UvEtQQG51BqL0a5lYoSi4TByFG4e?= =?us-ascii?Q?AKmWRwGhZ96VuVWifwr2NxcceulC+Im3pCMj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ascii?Q?VXs6eRQ5hlAQgbpkBOBImVmU1PuOoQX1GNWz5DOUBtSBNy2RWUokx50Mc4+X?= =?us-ascii?Q?Q/1OrM65W1iASXicoFr29a0InG24snQYaTYCQ821QJmWcoCRFyja/eDy24ZX?= =?us-ascii?Q?NX1ErNQSHjysovKyqryEby48fHXC+dPeyApTaTLhNZ7YGxFJzgyTEjw/9hEP?= =?us-ascii?Q?uA=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN6PR11MB4017.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d4ba6820-7f0b-4ada-7a66-08d99a73a091 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Oct 2021 00:32:45.4091 (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: J8j5jZKuVvK4TG5C9gTZj/Hv1BH1xLQR9/nlnWINrD0fjSfRmpmeVK7TkHZzt3w6uDpxXVs+rNepE6fS12B2bA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1101MB2305 Return-Path: yuwei.chen@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_BN6PR11MB4017C7E3AFE519E1F706FB1B96879BN6PR11MB4017namp_" --_000_BN6PR11MB4017C7E3AFE519E1F706FB1B96879BN6PR11MB4017namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi everyone, I would like to propose the new FMMT Python tool, which is used to replace = the origin C version tool. Currently the FMMT C tool is saved in edk2-staging repo, but its quality an= d coding style can't meet the Edk2 quality, which is hard to maintain (Hard= /Duplicate Code; Regression bugs; Restrict usage). The new Python version keeps same functions with origin C version. It has h= igher quality and better coding style, and it is much easier to extend new = functions and to maintain. You can get the FMMT Python tool through below link. https://github.com/tianocore/edk2-staging/tree/PyFMMT If you are interested in that, pls have a try. Looking forward to your feedback~ Thanks, Christine (Yuwei) --_000_BN6PR11MB4017C7E3AFE519E1F706FB1B96879BN6PR11MB4017namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi everyone,

 

I would like to propose the new FMMT Python tool, wh= ich is used to replace the origin C version tool.

Currently the FMMT C tool is saved in edk2-staging r= epo, but its quality and coding style can’t meet the Edk2 quality, wh= ich is hard to maintain (Hard/Duplicate Code; Regression bugs; Restrict usa= ge).

The new Python version keeps same functions with ori= gin C version. It has higher quality and better coding style, and it is muc= h easier to extend new functions and to maintain.

 

You can get the FMMT Python tool through below link.=

 

= https://github.com/tianocore/edk2-staging/tree/PyFMMT=

 

If you are interested in that, pls have a try.<= /o:p>

Looking forward to your feedback~

 

Thanks,

Christine (Yuwei)

--_000_BN6PR11MB4017C7E3AFE519E1F706FB1B96879BN6PR11MB4017namp_--