From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web11.3138.1678869906014240683 for ; Wed, 15 Mar 2023 01:45:06 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=MCnRTLF9; spf=pass (domain: intel.com, ip: 134.134.136.31, 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=1678869906; x=1710405906; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=4SayvndRf3WQS3rN41fk+w8ZQd/03poA6FY1E6SHxHs=; b=MCnRTLF99IQMUIS2O5/nehGb9PJQfkl1cx1q4jOPWxuBoBGvY0sPjIYp Le9nNAuQAYsD5c6xNZkpkF0M5W/SKRyHptKHyNLmsNcfTAtVwgeqGcW0g 0w3AnRnrdFL9sugimvnPqIz3nyr8ggMW5Wy62qi1y7SPrVGcqzkKRlGoK CzyYDPgFf2gndCVFjIaJxCAt7Q681GyI02NOSpoO0ZpfjCGG2sUrkqIN0 rrF1iY37IoNTXn2QlWUMRfPHvV0CFPJM2BG36QX1Jeqv/MWxOLUGP24oW PWyFmC8oqQ8cdbqJPPtG6ShumsQZOBBfSkQM3MIBRkeugm7hkLXHusJSJ g==; X-IronPort-AV: E=McAfee;i="6500,9779,10649"; a="400229484" X-IronPort-AV: E=Sophos;i="5.98,262,1673942400"; d="scan'208";a="400229484" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Mar 2023 01:45:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10649"; a="748341601" X-IronPort-AV: E=Sophos;i="5.98,262,1673942400"; d="scan'208";a="748341601" Received: from akadapat-mobl1.gar.corp.intel.com ([10.215.207.48]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Mar 2023 01:45:03 -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: Wed, 15 Mar 2023 14:14:54 +0530 Message-Id: <20230315084455.348-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 | 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