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.95817.1679646421821192175 for ; Fri, 24 Mar 2023 01:27:02 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=QJ5oZ80q; 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=1679646421; x=1711182421; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=cPSy74JzsDtR3+89uA8ovENucOsI6tQ07wBvpCUD1Cs=; b=QJ5oZ80q1qEGMY2+xiaGDZRVK/mYreYPpfVdSIFO0dAMp/51lu0P2SV0 bjGf8GkGC/1BBvjxsyIQUXN90dUQzKr0vpxCjZ7+8IPvTlMB5RjP4Lbgb ty3e5kmibue45qTf783U62rs33cAQagiHyIjJRr1t5FTqI5T0gW6e3upQ 7hgthZ/i7/wL51LKZEncmBninOOZNtg1Pc/x+dUEY8ShbLO4+hcooc2hh zd+oe1PSfv/07VHVrGHzgzUal8rP8MwH3C4r05oUggqrJs26zXZe9Ec7l 2T0791ugQGOm42XQXVJ8TINM1kcG+9WFdniPp7JxOAGzdnSI3os2pvWqj w==; X-IronPort-AV: E=McAfee;i="6600,9927,10658"; a="402310339" X-IronPort-AV: E=Sophos;i="5.98,287,1673942400"; d="scan'208";a="402310339" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2023 01:26:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10658"; a="632765979" X-IronPort-AV: E=Sophos;i="5.98,287,1673942400"; d="scan'208";a="632765979" Received: from akadapat-mobl1.gar.corp.intel.com ([10.215.194.121]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2023 01:26:41 -0700 From: "Ajay Kadapathri" To: devel@edk2.groups.io Cc: Rebecca Cran , Michael D Kinney , Jayaprakash N Subject: [edk2-libc Patch 0/2] Python/Python3.6.8: migration of edk2module from chipsec repo Date: Fri, 24 Mar 2023 13:56:31 +0530 Message-Id: <20230324082633.706-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 (2): Python/Python3.6.8: migration of edk2module from chipsec repo Added file header with copyright and license. .../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