[Python-Dev] [edk2] Official port of Python on EDK2

Brett Cannon brett at python.org
Fri Nov 3 13:48:23 EDT 2017


Since the initial email got cross-posted, would it be possible to drop
python-dev from any discussing that doesn't directly involve Python itself
(e.g. we don't need to be involved in a discussion about whether you all
have threading on UEFI)?

On Fri, 3 Nov 2017 at 07:57 Michael Zimmermann <sigmaepsilon92 at gmail.com>
wrote:

> > FYI, this library adds thread support to UEFI:
> >
> > https://github.com/Openwide-Ingenierie/GreenThreads-UEFI
>
> IMO this library has some crucial problems like changing the TPL
> during context switching.
> For my project "EFIDroid" I've invested many months analyzing, testing
> and implementing my own threading implementation based on
> LK(LittleKernel, a MIT licensed project) threads and get/set -context.
>
> The result is a pretty stable implementation which can even be used in
> UEFI drivers:
>
> https://github.com/efidroid/uefi_edk2packages_EFIDroidLKLPkg/tree/master/UEFIThreads
> I'm currently using this lib for my LKL(LinuxKernelLibrary) port to be
> able to use linux touchscreen drivers in UEFI - so you could say it
> has been well tested.
>
> The only "problem" is that it only supports ARM right now and that the
> get/set context implementation was copied (and simplified) from glibc
> which means that this part is GPL code.
>
> Thanks
> Michael Zimmermann
>
> On Thu, Nov 2, 2017 at 8:37 PM, Blibbet <blibbet at gmail.com> wrote:
> > On 11/02/2017 09:41 AM, Jayaprakash, N wrote:
> >> Would you consider adding thread support in this port of Python for
> > EDK2 shell?
> >
> > FYI, this library adds thread support to UEFI:
> >
> > https://github.com/Openwide-Ingenierie/GreenThreads-UEFI
> >
> > Note that the library is GPLv2, ...but the author (a 1-person project)
> > could be asked to relicense to BSD to fit into Tianocore.
> >
> > Note that library is currently Intel x64-centric, and contains a bit of
> > assembly. Will need some ARM/RISC-V/x86 contributions.
> >
> > HTH,
> > Lee Fisher
> > _______________________________________________
> > edk2-devel mailing list
> > edk2-devel at lists.01.org
> > https://lists.01.org/mailman/listinfo/edk2-devel
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> https://mail.python.org/mailman/options/python-dev/brett%40python.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20171103/6eeaa0fe/attachment.html>


More information about the Python-Dev mailing list