From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web10.18421.1680155848158534804 for ; Wed, 29 Mar 2023 22:57:28 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=Lbm1W6t6; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: ajay.kadapathri@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680155848; x=1711691848; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=jk6Qi4auHrQ1437NZcMxPL4jxreaiTC58H8QZq6tfdI=; b=Lbm1W6t6e6F3QgOnUHtMpe4nJydVSU9GBbQZM1Fcgk6XTV5GbZZuMWlo 9k+T5Djb/PIV6C/Vl+ZQbOE/wY7IOCxXhWEzUa68ChJZpuXauZO840S4t AU41WiNui1bFbcSHVVHXJZQqUkj0RAt7pSmOL4qEL521WWmIxJYjq1tBn k+N+VLeYsGa0kdBEkTBmm3mSg+XMkZn1Jixp4vPadmuT0J0tl6wpCIqp4 2VZRmXuqi5SHPvg5LBC+9k+CXEXGVV8/1kVW3Z54pbQR52ziqLbjQJFxS dBb78qYlHd6gNFxCSAhxfZy3iLlZZy3dLQAICivPwHrxQioUeKQBGdpTl g==; X-IronPort-AV: E=McAfee;i="6600,9927,10664"; a="329568927" X-IronPort-AV: E=Sophos;i="5.98,303,1673942400"; d="scan'208";a="329568927" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Mar 2023 22:57:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10664"; a="773861350" X-IronPort-AV: E=Sophos;i="5.98,303,1673942400"; d="scan'208";a="773861350" Received: from akadapat-mobl1.gar.corp.intel.com ([10.67.161.14]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Mar 2023 22:57:23 -0700 From: "Ajay Kadapathri" To: devel@edk2.groups.io Cc: Rebecca Cran , Michael D Kinney , Jayaprakash N Subject: [edk2-libc Patch 0/1] Python/Python3.6.8: migration of edk2module from chipsec repo Date: Thu, 30 Mar 2023 11:27:09 +0530 Message-Id: <20230330055710.1811-1-ajay.kadapathri@intel.com> X-Mailer: git-send-email 2.39.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Ajay Kadapathri Ajay Kadapathri (1): Python/Python3.6.8: migration of edk2module from chipsec repo .../Python-3.6.8/PyMod-3.6.8/Modules/cpu.nasm | 63 +++ .../PyMod-3.6.8/Modules/cpu_gcc.s | 64 +++ .../PyMod-3.6.8/Modules/cpu_ia32.nasm | 35 ++ .../PyMod-3.6.8/Modules/cpu_ia32_gcc.s | 38 ++ .../PyMod-3.6.8/Modules/edk2module.c | 519 +++++++++++++++++- .../Python/Python-3.6.8/Python368.inf | 5 + 6 files changed, 722 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