[edk2-devel] [edk2-libc Patch 0/2] Python/Python3.6.8: migration of edk2module from chipsec repo

Ajay Kadapathri ajay.kadapathri at intel.com
Tue Mar 7 05:11:48 UTC 2023


Python/Python3.6.8: migration of edk2module from chipsec repo

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4161

This patch merges the enhancements done by chipsec
tool to edk2 module into edk2-libc repo.
The chipsec enhancements can be used for various
other Python based tools to access platform registers.
These enhancements providing a set of APIs to access
the platform registers directly from the python
scripts running on UEFI shell. This will benefit the
Python users on UEFI shell in general and enhances
it's usability. Python can be used effectively to
implement tools, scripts required for automation,
debug from UEFI shell.

Cc: Rebecca Cran <rebecca at bsdio.com>
Cc: Michael D Kinney <michael.d.kinney at intel.com>
Cc: Jayaprakash N <n.jayaprakash at intel.com>
Signed-off-by: Ajay Kadapathri <ajay.kadapathri at intel.com>

Ajay Kadapathri (2):
  Python/Python3.6.8: migration of edk2module from chipsec repo
  Incorporated review comments

 .../Python-3.6.8/PyMod-3.6.8/Modules/cpu.nasm |  48 ++
 .../PyMod-3.6.8/Modules/cpu_gcc.s             |  49 ++
 .../PyMod-3.6.8/Modules/cpu_ia32.nasm         |  20 +
 .../PyMod-3.6.8/Modules/cpu_ia32_gcc.s        |  22 +
 .../PyMod-3.6.8/Modules/edk2module.c          | 519 +++++++++++++++++-
 .../Python/Python-3.6.8/Python368.inf         |   5 +
 6 files changed, 661 insertions(+), 2 deletions(-)
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules/cpu.nasm
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules/cpu_gcc.s
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules/cpu_ia32.nasm
 create mode 100644 AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules/cpu_ia32_gcc.s

-- 
2.39.1.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#100775): https://edk2.groups.io/g/devel/message/100775
Mute This Topic: https://groups.io/mt/97443892/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list