From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.93; helo=mga11.intel.com; envelope-from=n.jayaprakash@intel.com; receiver=edk2-devel@lists.01.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id BC4EA2034AB30 for ; Thu, 2 Nov 2017 09:38:03 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Nov 2017 09:41:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,335,1505804400"; d="scan'208";a="331195116" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga004.fm.intel.com with ESMTP; 02 Nov 2017 09:41:52 -0700 Received: from bgsmsx102.gar.corp.intel.com (10.223.4.172) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 2 Nov 2017 09:41:51 -0700 Received: from bgsmsx104.gar.corp.intel.com ([169.254.5.23]) by BGSMSX102.gar.corp.intel.com ([10.223.4.172]) with mapi id 14.03.0319.002; Thu, 2 Nov 2017 22:11:49 +0530 From: "Jayaprakash, N" To: "Richardson, Brian" , Thiebaud Weksteen , "python-dev@python.org" CC: "edk2-devel@lists.01.org" Thread-Topic: [edk2] Official port of Python on EDK2 Thread-Index: AQHTUvDw3cuHHYg+s0iYwFL8wGiUJqL/9ACAgAFY7pA= Date: Thu, 2 Nov 2017 16:41:48 +0000 Message-ID: References: <80AC2BAA3152784F98F581129E5CF5AFA4635665@ORSMSX114.amr.corp.intel.com> In-Reply-To: <80AC2BAA3152784F98F581129E5CF5AFA4635665@ORSMSX114.amr.corp.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiN2Y3ZmQ2YzYtZTVlOS00YzM2LWE5MTQtZDQyZDRkNGUxNDZiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJaSnhxMkdUMDVOZ0dkd3UwZ1F2eElkQ1lhRUtBU09cL2FmWlNqK1pIVWJ1UzIrc2IxYUMyXC9neVZKejVMejViZXcifQ== x-originating-ip: [10.223.10.10] MIME-Version: 1.0 Subject: Re: Official port of Python on EDK2 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2017 16:38:04 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Would you consider adding thread support in this port of Python for EDK2 sh= ell? Regards, JP -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Rich= ardson, Brian Sent: Thursday, November 2, 2017 7:07 AM To: Thiebaud Weksteen ; python-dev@python.org Cc: edk2-devel@lists.01.org Subject: Re: [edk2] Official port of Python on EDK2 Thiebaud: Thank you. I have started discussions within Intel for updating the UEFI CP= ython implementation to Python 3.x. The TianoCore community would appreciat= e contributions by people with Python experience to bring this code up to c= urrent standards. Please review the contribution guidelines for TianoCore and let me know if = you have any questions. http://www.tianocore.org/contrib/=20 Thanks ... br --- Brian Richardson, Senior Technical Marketing Engineer, Intel Software brian= .richardson@intel.com -- @intel_brian (Twitter & WeChat) https://software.i= ntel.com/en-us/meet-the-developers/evangelists/team/brian-richardson=20 -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Thie= baud Weksteen Sent: Wednesday, November 1, 2017 5:07 AM To: python-dev@python.org Cc: edk2-devel@lists.01.org Subject: [edk2] Official port of Python on EDK2 Hi, UEFI has become the standard for firmware (BIOS) interface. Intel has provi= ded an open source implementation under the name EDK2 (part of the TianoCor= e initiative) [1] for some time. This implementation has evolved significan= tly and now provides the functionalities of a small OS with a standard libr= ary similar to POSIX. In 2011, a port of Python 2.7.1 was added to the EDK2 repository [2]. This port then evolved to 2.7.2 which is still defined as the reference por= t [3]. In 2015, another port was added of Python 2.7.10 in parallel of 2.7.= 2 [4]. Since then, both implementations have diverged from upstream and kno= w vulnerabilities have not been fixed. I would like to bring support for edk2 in the official Python repository to= remediate this situation, that is officially support edk2 as a platform. Technically, there would be three main aspects for the = on-boarding work: 1) Fix headers and source to resolve definition conflicts, similarly to ABS= definition in [5]; 2) Add the edk2module.c [6] to handle platform-specific functionalities, si= milarly to the posixmodule.c; 3) Add the build configuration file [7] and necessary modifications within = Python to handle the edk2 toolchain; This work would target the master branch (that is Python 3). I would be int= erested in hearing your thoughts on this idea. Thanks, Thiebaud [1] https://github.com/tianocore/edk2 [2] https://github.com/tianocore/edk2/commit/006fecd5a177b4b7b6b36fab6690bf= 2b2fa11829 [3] https://github.com/tianocore/edk2/blob/master/AppPkg/Applications/Pytho= n/PythonReadMe.txt [4] https://github.com/tianocore/edk2/commit/c8042e10763bca064df257547d04ae= 3dfcdfaf91 [5] https://gist.github.com/tweksteen/ed516ca7ab7dfa8d18428f59d9c22a3e [6] https://github.com/tianocore/edk2/blob/master/AppPkg/Applications/Pytho= n/Efi/edk2module.c [7] https://github.com/tianocore/edk2/blob/master/AppPkg/Applications/Pytho= n/PythonCore.inf _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel