From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web11.37048.1678117428574756795 for ; Mon, 06 Mar 2023 07:43:48 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=FGd/vAqW; spf=pass (domain: intel.com, ip: 134.134.136.100, 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=1678117428; x=1709653428; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Da4wgBceC7lnyAZIEcVya83dE70epyr6ElYvoe5fmKM=; b=FGd/vAqW5IjWnG2QnqcQ8he6EpFTkdu60GbO0RsHODxEWKEaq0AF6NUJ vn6G+589RP8j0rXSqSAHHtRfcZaI1wF8jauE4hogttTzZtFs9f7EPWCNQ LzDZc9S9B9TwSIvLO7qUCvbGe/0VJjfC1yuDx4M9Xc+wjIpy9Trj2pU9K 4bWZ+gg27YaytMYi8V82n/hlxuOs/8aPvn5zzhnx4JrqzJspl5b9cQfrY GgT2c3Hz4CQcjWpmJSxegh+e+SmDnKuDSzmw3G1N4BzRJocYlIyhsjXn/ A2L6lCBHTlCJOIa5MP42v+qVOJMyie0CDZewBEqU2Aku3k0IIwePUho0i A==; X-IronPort-AV: E=McAfee;i="6500,9779,10641"; a="400408638" X-IronPort-AV: E=Sophos;i="5.98,238,1673942400"; d="scan'208";a="400408638" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Mar 2023 07:43:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10641"; a="850344490" X-IronPort-AV: E=Sophos;i="5.98,238,1673942400"; d="scan'208";a="850344490" Received: from akadapat-mobl1.gar.corp.intel.com ([10.213.83.53]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Mar 2023 07:43:44 -0800 From: "Ajay Kadapathri" To: devel@edk2.groups.io Cc: Rebecca Cran , Michael D Kinney , Jayaprakash N Subject: [edk2-libc Patch 0/1] edk2-libc: migration of edk2module from chipsec repo Date: Mon, 6 Mar 2023 21:13:27 +0530 Message-Id: <20230306154328.2099-1-ajay.kadapathri@intel.com> X-Mailer: git-send-email 2.39.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 | 521 +++++++++++++++++- .../Python/Python-3.6.8/Python368.inf | 5 + 6 files changed, 663 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