Later this year I will be committing a port of the ctypes module for EDK II
Python. The built-in edk2 module will also be extended to provide a pointer to
the SystemTable which can then be used with the ctypes module to access any of
the Boot or Runtime Services as well as loading protocols and accessing their
member functions and data.
I hope to follow that with some pure Python code that allows direct access to
UEFI functionality without the user having to know how to use ctypes. This is
not on the official plan but is just something I would like to do so I can't
give a definite schedule for it.
Things that are queued up (in no particular order) are:
* command-line switch to force stderr to stdout, similar to 2>&1
redirection.
* ctypes for IA32 and X64
* threading
* 4Suite-XML
* cDeepCopy
* zope interface
* UEFI wrappers for ctypes
Daryl McDaniel
-----Original Message-----
From: Blibbet [mailto:[email protected]]
Sent: Friday, May 15, 2015 4:44 PM
To: [email protected]
Subject: [edk2] features in next Python release? (was: Python script could call
LocateHandle function?)
On 04/17/2015 09:52 AM, Mcdaniel, Daryl wrote:
>> I have a question about Python script.
>>
>> Could I call Boot Service function in Python script?
>> Such as:
>> Call BootServices->LocateHandle() in python script!
> Sorry, but that functionality is not yet ready.
> I am working on that right now and hope to have it committed to the
EDK II repository in early third quarter.
The ability to call BootTime Services from Python is powerful, thanks.
(Won't this enable new CHIPSEC test modules?!)
Can you give us any other hints of upcoming python.efi features??
Thanks,
Lee Fisher
RSS: http://firmwaresecurity.com/feed
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud Widest
out-of-the-box monitoring support with 50+ applications Performance metrics,
stats and reports that give you Actionable Insights Deep dive visibility with
transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel