Re: [edk2-devel] Python-3.6.8 UEFI : fork support

2025-02-17 Thread Jayaprakash, N via groups.io
JP From: Yoshinoya Sent: Monday, February 17, 2025 4:43 PM To: devel@edk2.groups.io; Jayaprakash, N Cc: Kinney, Michael D ; pedro.falc...@gmail.com Subject: Re:Re: [edk2-devel] Python-3.6.8 UEFI : fork support hi, JP Got it, thank you! I found some uefi mp service functions's

Re: [edk2-devel] Python-3.6.8 UEFI : fork support

2025-02-16 Thread Jayaprakash, N via groups.io
egards, JP From: Yoshinoya Sent: Monday, February 17, 2025 8:19 AM To: Kinney, Michael D ; pedro.falc...@gmail.com; devel@edk2.groups.io; Jayaprakash, N Subject: [edk2-devel] Python-3.6.8 UEFI : fork support Hi, Michael I am studying Python368 uefi code. I have a question, ask for help. I found

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc: Move to github pull request workflow

2024-09-04 Thread Jayaprakash, N
Hi Rebecca, Below suggestion from Mike also seems reasonable. Could you review and approve the patch? Regards, JP -Original Message- From: Kinney, Michael D Sent: Wednesday, September 4, 2024 9:34 PM To: Rebecca Cran ; devel@edk2.groups.io; Jayaprakash, N Cc: Rebecca Cran ; Kinney

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc: Move to github pull request workflow

2024-09-04 Thread Jayaprakash, N
Thanks Rebecca. I shall make that change and submit the patch for review. Regards, JP -Original Message- From: Rebecca Cran Sent: Wednesday, September 4, 2024 9:03 PM To: devel@edk2.groups.io; Jayaprakash, N Cc: Rebecca Cran ; Kinney, Michael D Subject: Re: [edk2-devel] [edk2-libc

Re: [edk2-devel] Migrating edk2-libc to use GitHub PR review process

2024-09-04 Thread Jayaprakash, N
On Behalf Of Jayaprakash, N Sent: Wednesday, August 7, 2024 2:41 PM To: devel@edk2.groups.io; rebe...@bsdio.com Cc: Kinney, Michael D Subject: Re: [edk2-devel] Migrating edk2-libc to use GitHub PR review process Thanks Rebecca. I am going through this and get back to you for any help soon

[edk2-devel] [edk2-libc Patch 1/1] edk2-libc: Move to github pull request workflow

2024-09-04 Thread Jayaprakash, N
using GitHub. Add .github/workflows/AssignReviewers.yml which adds reviewers to a Pull Request based on the content of the CODEOWNERS file. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Jayaprakash N --- .github/workflows/AssignReviewers.yaml | 34 CODEOWNERS

[edk2-devel] [edk2-libc Patch 0/1] Migrate to github pull request workflow

2024-09-04 Thread Jayaprakash, N
adds reviewers to a Pull Request based on the content of the REVIEWERS file. Jayaprakash N (1): edk2-libc: Move to github pull request workflow .github/workflows/AssignReviewers.yaml | 34 CODEOWNERS | 21 CONTRIBUTORS.md

Re: [edk2-devel] [edk2-libc Patch v2 1/1] edk2-libc: BKM document to build Python UEFI using Visual Studio Tools

2024-08-25 Thread Jayaprakash, N
Hi Rebecca, This address your comment. Please review and approve the same. Regards, JP -Original Message- From: devel@edk2.groups.io On Behalf Of Jayaprakash, N Sent: Wednesday, August 21, 2024 11:12 AM To: devel@edk2.groups.io Cc: Jayaprakash, N ; Rebecca Cran ; Kinney, Michael D

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc: BKM document to build Python UEFI using Visual Studio Tools

2024-08-20 Thread Jayaprakash, N
I have addressed your comment and sent an updated version of the patch V2 for the review. Please do the needful. Regards, JP -Original Message- From: devel@edk2.groups.io On Behalf Of Rebecca Cran Sent: Tuesday, August 20, 2024 10:22 PM To: devel@edk2.groups.io; Jayaprakash, N Cc

[edk2-devel] [edk2-libc Patch v2 1/1] edk2-libc: BKM document to build Python UEFI using Visual Studio Tools

2024-08-20 Thread Jayaprakash, N
using VS2019/VS2022 tool chains. This commit adds a new BKM document providing the step by step instructions to build Python UEFI interpreter using Visual Studio tool chains such as VS2019/VS2022. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Jayaprakash N --- .../Python

[edk2-devel] [edk2-libc Patch v2 0/1] Add BKM document to build Python UEFI using VS Tools

2024-08-20 Thread Jayaprakash, N
document providing the step by step instructions to build Python UEFI interpreter using Visual Studio tool chains such as VS2019/VS2022. This v2 patch also addresses the review comments. Jayaprakash N (1): edk2-libc: BKM document to build Python UEFI using Visual Studio Tools .../Python

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc: BKM document to build Python UEFI using Visual Studio Tools

2024-08-20 Thread Jayaprakash, N
Hi Rebecca, Thanks for your suggestion. Would like to know if there are any advantages of calling this Python script over calling edksetup.bat directly. Regards, JP -Original Message- From: Rebecca Cran Sent: Tuesday, August 20, 2024 9:43 PM To: devel@edk2.groups.io; Jayaprakash, N

[edk2-devel] [edk2-libc Patch 1/1] edk2-libc: BKM document to build Python UEFI using Visual Studio Tools

2024-08-20 Thread Jayaprakash, N
using VS2019/VS2022 tool chains. This commit adds a new BKM document providing the step by step instructions to build Python UEFI interpreter using Visual Studio tool chains such as VS2019/VS2022. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Jayaprakash N --- .../Python

[edk2-devel] [edk2-libc Patch 0/1] Add BKM document to build Python UEFI using VS Tools

2024-08-20 Thread Jayaprakash, N
document providing the step by step instructions to build Python UEFI interpreter using Visual Studio tool chains such as VS2019/VS2022. Jayaprakash N (1): edk2-libc: BKM document to build Python UEFI using Visual Studio Tools .../Python/Python-3.6.8/VSCompilationBKMs.md | 120

Re: [edk2-devel] Migrating edk2-libc to use GitHub PR review process

2024-08-07 Thread Jayaprakash, N
Thanks Rebecca. I am going through this and get back to you for any help soon. Regards, JP -Original Message- From: devel@edk2.groups.io On Behalf Of Rebecca Cran Sent: Tuesday, August 6, 2024 4:16 PM To: Jayaprakash, N ; devel@edk2.groups.io Cc: Kinney, Michael D Subject: Re: [edk2

[edk2-devel] Migrating edk2-libc to use GitHub PR review process

2024-08-06 Thread Jayaprakash, N
Hi Rebecca, Mike suggested me to talk to you to see the possibility of getting edk2-libc repo to the GitHub PR review process. It's a relatively small repo with few contributors. Would like to understand what it takes to migrate to the new process? Would you be able to help in this migration? R

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc: remove gitmodules file added through accidental commit

2024-07-30 Thread Jayaprakash, N
Thanks Rebecca for your quick response. Regards, JP -Original Message- From: Rebecca Cran Sent: Tuesday, July 30, 2024 10:03 PM To: Jayaprakash, N ; devel@edk2.groups.io Cc: Kinney, Michael D Subject: Re: [edk2-libc Patch 1/1] edk2-libc: remove gitmodules file added through

[edk2-devel] [edk2-libc Patch 1/1] edk2-libc: remove gitmodules file added through accidental commit

2024-07-30 Thread Jayaprakash, N
. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Jayaprakash N --- .gitmodules | 3 --- AppPkg/CommonCode/SetupFiles | 1 - 2 files changed, 4 deletions(-) delete mode 100644 .gitmodules delete mode 16 AppPkg/CommonCode/SetupFiles diff --git a

[edk2-devel] [edk2-libc Patch 0/1] remove gitmodules added through accidental commit

2024-07-30 Thread Jayaprakash, N
This patch removes the gitmodules file and the submodule added accidentally to the edk2-libc repo. Jayaprakash N (1): edk2-libc: remove gitmodules file added through accidental commit .gitmodules | 3 --- AppPkg/CommonCode/SetupFiles | 1 - 2 files changed, 4 deletions

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc: add github workflow to build python uefi with VS2022

2024-07-22 Thread Jayaprakash, N
I verified that edksetup performs the necessary compiler environment setup and hence removed steps related to that from the workflow file and sent an updated patch v2 for review. Regards, JP -Original Message- From: Jayaprakash, N Sent: Tuesday, July 23, 2024 7:52 AM To: Kinney

[edk2-devel] [edk2-libc Patch v2 1/1] edk2-libc: add github workflow to build python uefi with VS2022

2024-07-22 Thread Jayaprakash, N
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4815 edk2-libc has already been enabled to compile with VS2022 tool chain. This commit adds a new GitHub workflow to enable building python uefi with VS2022 compiler tool chain. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed

[edk2-devel] [edk2-libc Patch v2 0/1] add github workflow to build python uefi with VS2022

2024-07-22 Thread Jayaprakash, N
This patch request adds support for building Python uefi interpreter with VS2022 tool chain. A new workflow file has been added to build python uefi interpreter using VS2022. The edk2-libc repo is already enabled building with this tool chain. Jayaprakash N (1): edk2-libc: add github workflow

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc: add github workflow to build python uefi with VS2022

2024-07-22 Thread Jayaprakash, N
11:26 PM To: devel@edk2.groups.io; Jayaprakash, N Cc: Rebecca Cran ; Kinney, Michael D Subject: RE: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc: add github workflow to build python uefi with VS2022 > -Original Message- > From: devel@edk2.groups.io On Behalf Of > Jayap

[edk2-devel] [edk2-libc Patch 0/1] add github workflow to build python uefi with VS2022

2024-07-22 Thread Jayaprakash, N
This patch request adds support for building Python uefi interpreter with VS2022 tool chain. A new workflow file has been added to build python uefi interpreter using VS2022. The edk2-libc repo is already enabled building with this tool chain. Jayaprakash N (1): edk2-libc: add github workflow

[edk2-devel] [edk2-libc Patch 1/1] edk2-libc: add github workflow to build python uefi with VS2022

2024-07-22 Thread Jayaprakash, N
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4815 edk2-libc has already been enabled to compile with VS2022 tool chain. This commit adds a new workflow file to enable building python uefi with VS2022 compiler tool chain. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc: Support for compiling Python UEFI interpreter with VS2022

2024-07-20 Thread Jayaprakash, N
Thanks Mike. I have updated the summary into the commit message and sent patch v2 with the summary of the errors as suggested. Regards, JP -Original Message- From: Kinney, Michael D Sent: Thursday, July 18, 2024 9:14 PM To: Jayaprakash, N ; devel@edk2.groups.io Cc: Rebecca Cran

[edk2-devel] [edk2-libc Patch v2 1/1] edk2-libc: Support for compiling Python UEFI interpreter with VS2022

2024-07-20 Thread Jayaprakash, N
Warning C4456: Multiple declarations of 't' hide previous local declarations. Warning C4457: Declaration of 'type' hides function parameter. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Jayaprakash N --- AppPkg/Applications/Enqui

[edk2-devel] [edk2-libc Patch v2 0/1] Support for compiling Python UEFI interpreter with VS2022

2024-07-20 Thread Jayaprakash, N
Lib\ns_print.c Warning C4456: Multiple declarations of 't' hide previous local declarations. Warning C4457: Declaration of 'type' hides function parameter. Jayaprakash N (1): edk2-libc: Support for compiling Python UEFI interpreter with VS2022 AppPkg/Appli

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc: Support for compiling Python UEFI interpreter with VS2022

2024-07-18 Thread Jayaprakash, N
Thanks Mike. I shall add the summary of the types of compiler warnings being addressed into PR description and the commit message. Regards, JP -Original Message- From: Kinney, Michael D Sent: Thursday, July 18, 2024 9:14 PM To: Jayaprakash, N ; devel@edk2.groups.io Cc: Rebecca Cran

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc: add .gitattributes to ensure right line endings in .sh .bat

2024-07-17 Thread Jayaprakash, N
x. Regards, JP -Original Message- From: Leif Lindholm Sent: Wednesday, July 17, 2024 7:55 PM To: devel@edk2.groups.io; Jayaprakash, N ; Kinney, Michael D Cc: Rebecca Cran Subject: Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc: add .gitattributes to ensure right line endings in .s

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc: Support for compiling Python UEFI interpreter with VS2022

2024-07-17 Thread Jayaprakash, N
ael D Sent: Wednesday, July 17, 2024 9:40 PM To: Jayaprakash, N ; devel@edk2.groups.io Cc: Rebecca Cran ; Kinney, Michael D Subject: RE: [edk2-libc Patch 1/1] edk2-libc: Support for compiling Python UEFI interpreter with VS2022 Can you list the compiler errors that are being fixed by this patch?

[edk2-devel] [edk2-libc Patch 1/1] edk2-libc: Support for compiling Python UEFI interpreter with VS2022

2024-07-17 Thread Jayaprakash, N
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4811 This commit fixes the compilation issues observed with several components in the edk2-libc repo while trying to compile Python interpreter for UEFI. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Jayaprakash N

[edk2-devel] [edk2-libc Patch 0/1] Support for compiling Python UEFI interpreter with VS2022

2024-07-17 Thread Jayaprakash, N
This patch request adds support for compiling Python UEFI interpreter with VS2022 by fixing all the compilation issues observed in edk2-libc repo. Jayaprakash N (1): edk2-libc: Support for compiling Python UEFI interpreter with VS2022 AppPkg/Applications/Enquire/Enquire.c | 48

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc: add .gitattributes to ensure right line endings in .sh .bat

2024-07-16 Thread Jayaprakash, N
Hi Lefi, Do you have any recommendations on this? Regards, JP -Original Message- From: Kinney, Michael D Sent: Friday, July 12, 2024 9:29 PM To: Jayaprakash, N ; devel@edk2.groups.io; Leif Lindholm Cc: Rebecca Cran ; Kinney, Michael D Subject: RE: [edk2-libc Patch 1/1] edk2-libc

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc: add .gitattributes to ensure right line endings in .sh .bat

2024-07-15 Thread Jayaprakash, N
Thanks Rebecca for the feedback. I shall definitely add .env into the list. Waiting for inputs from Leif as per Mike's suggestion. Regards, JP -Original Message- From: Rebecca Cran Sent: Saturday, July 13, 2024 1:34 AM To: devel@edk2.groups.io; Jayaprakash, N Cc: Kinney, Mich

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc: add .gitattributes to ensure right line endings in .sh .bat

2024-07-12 Thread Jayaprakash, N
12, 2024 9:29 PM To: Jayaprakash, N ; devel@edk2.groups.io; Leif Lindholm Cc: Rebecca Cran ; Kinney, Michael D Subject: RE: [edk2-libc Patch 1/1] edk2-libc: add .gitattributes to ensure right line endings in .sh .bat + Leif .gitattributes is not used in other TianoCore repos. This feature

[edk2-devel] [edk2-libc Patch 0/1] add .gitattributes to ensure right line endings in .sh .bat

2024-07-12 Thread Jayaprakash, N
This commit adds the .gitattributes file to preserve correct line endings for the files .sh and .bat irrespective of the environment used by the developer. Jayaprakash N (1): edk2-libc: add .gitattributes to ensure right line endings in .sh .bat .gitattributes | 2 ++ 1 file changed, 2

[edk2-devel] [edk2-libc Patch 1/1] edk2-libc: add .gitattributes to ensure right line endings in .sh .bat

2024-07-12 Thread Jayaprakash, N
: Jayaprakash N Signed-off-by: Jayaprakash N --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000..3fd9ec8 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.bat text eol=crlf +*.sh

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc : add github actions workflow to build PyUEFI using gcc

2024-07-01 Thread Jayaprakash, N
Hi Mike, I have sent the updated V2 patch for review. Changed the line endings of create_python_pkg.sh script to use unix line endings and removed the installation and usage of dos2unix from the actions .yaml file. Regards, JP -Original Message- From: Jayaprakash, N Sent: Monday

[edk2-devel] [edk2-libc Patch v2 1/1] edk2-libc : add github actions workflow to build PyUEFI using gcc

2024-07-01 Thread Jayaprakash, N
interpreter with gcc tool chain. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Jayaprakash N --- .github/workflows/build-python-uefi-gcc.yaml | 69 +++ .../Python/Python-3.6.8/create_python_pkg.sh | 40 +-- 2 files changed, 89 insertions(+), 20

[edk2-devel] [edk2-libc Patch v2 0/1] add github actions workflow to build PyUEFI using gcc

2024-07-01 Thread Jayaprakash, N
more about this. Jayaprakash N (1): edk2-libc : add github actions workflow to build PyUEFI using gcc .github/workflows/build-python-uefi-gcc.yaml | 69 +++ .../Python/Python-3.6.8/create_python_pkg.sh | 40 +-- 2 files changed, 89 insertions(+), 20 deletions

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc : add github actions workflow to build PyUEFI using gcc

2024-07-01 Thread Jayaprakash, N
Thanks Mike. I shall make this change and submit the PR again for review. Regards, JP -Original Message- From: Kinney, Michael D Sent: Monday, July 1, 2024 7:51 PM To: Jayaprakash, N ; devel@edk2.groups.io Cc: Rebecca Cran ; Kinney, Michael D Subject: RE: [edk2-libc Patch 1/1] edk2

[edk2-devel] [edk2-libc Patch 1/1] edk2-libc : add github actions workflow to build PyUEFI using gcc

2024-07-01 Thread Jayaprakash, N
interpreter with gcc tool chain. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Jayaprakash N --- .github/workflows/build-python-uefi-gcc.yaml | 71 1 file changed, 71 insertions(+) create mode 100644 .github/workflows/build-python-uefi-gcc.yaml diff --git

[edk2-devel] [edk2-libc Patch 0/1] setup github actions to build PyUEFI using gcc

2024-07-01 Thread Jayaprakash, N
more about this. Jayaprakash N (1): edk2-libc : add github actions workflow to build PyUEFI using gcc .github/workflows/build-python-uefi-gcc.yaml | 71 1 file changed, 71 insertions(+) create mode 100644 .github/workflows/build-python-uefi-gcc.yaml -- 2.45.1.windows.1

[edk2-devel] [edk2-libc Patch v2 1/1] edk2-libc : add github actions workflow to build PyUEFI using VS2019

2024-06-20 Thread Jayaprakash, N
VS2019 tool chain. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Jayaprakash N --- .github/workflows/build-python-uefi-vs.yaml | 84 + 1 file changed, 84 insertions(+) create mode 100644 .github/workflows/build-python-uefi-vs.yaml diff --git a

[edk2-devel] [edk2-libc Patch v2 0/1] add github actions workflow to build PyUEFI using VS2019

2024-06-20 Thread Jayaprakash, N
. Jayaprakash N (1): edk2-libc : add github actions workflow to build PyUEFI using VS2019 .github/workflows/build-python-uefi-vs.yaml | 84 + 1 file changed, 84 insertions(+) create mode 100644 .github/workflows/build-python-uefi-vs.yaml -- 2.45.1.windows.1

[edk2-devel] [edk2-libc Patch 0/1] update build and packaging scripts to take EDK2_LIBC_PATH

2024-06-19 Thread Jayaprakash, N
instead of the current WORKSPACE path in the CC flags. Please refer to BZ4791 for more details. Jayaprakash N (1): edk2-libc : update build and packaging scripts to take EDK2_LIBC_PATH .../Python-3.6.8/GCCCompilationBKMs.rst | 21 +++-- .../Python/Python-3.6.8/Py368ReadMe.txt

[edk2-devel] [edk2-libc Patch 1/1] edk2-libc : update build and packaging scripts to take EDK2_LIBC_PATH

2024-06-19 Thread Jayaprakash, N
Python368.inf file is also updated to take EDK2_LIBC_PATH instead of the current WORKSPACE path in the CC flags. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Jayaprakash N --- .../Python-3.6.8/GCCCompilationBKMs.rst | 21 +++-- .../Python/Python

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc : add github actions workflow to build PyUEFI using VS2019

2024-06-17 Thread Jayaprakash, N
Sent: Saturday, June 15, 2024 9:03 PM To: Jayaprakash, N ; devel@edk2.groups.io Cc: Rebecca Cran ; Kinney, Michael D Subject: RE: [edk2-libc Patch 1/1] edk2-libc : add github actions workflow to build PyUEFI using VS2019 > -Original Message- > From: Jayaprakash, N > Sent: Satur

[edk2-devel] [edk2-libc Patch 1/1] edk2-libc : make python368.inf compile conditionally in AppPkg.dsc

2024-06-17 Thread Jayaprakash, N
the Py368ReadMe.txt and the GCCCompilationBKMs.rst to include this additional information for building python368.inf. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Jayaprakash N --- AppPkg/AppPkg.dsc| 9 ++--- .../Python

[edk2-devel] [edk2-libc Patch 0/1] make python368.inf compile conditionally in AppPkg.dsc

2024-06-17 Thread Jayaprakash, N
include this additional information for building python368.inf. Please refer to BZ4789 for more details on the request. Jayaprakash N (1): edk2-libc : make python368.inf compile conditionally in AppPkg.dsc AppPkg/AppPkg.dsc| 9 ++--- .../Python/Python-3.6.8

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc : add github actions workflow to build PyUEFI using VS2019

2024-06-15 Thread Jayaprakash, N
Thanks Mike for your comments. Please find my responses inline. Regards, JP -Original Message- From: Kinney, Michael D Sent: Saturday, June 15, 2024 7:12 AM To: Jayaprakash, N ; devel@edk2.groups.io Cc: Rebecca Cran ; Kinney, Michael D Subject: RE: [edk2-libc Patch 1/1] edk2-libc

[edk2-devel] [edk2-libc Patch 1/1] edk2-libc : add github actions workflow to build PyUEFI using VS2019

2024-06-14 Thread Jayaprakash, N
VS2019 tool chain. There is also a supporting python script under .github/scripts folder which is used to uncomment the python uefi related .inf file in AppPkg.dsc file. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Jayaprakash N --- .github/scripts

[edk2-devel] [edk2-libc Patch 0/1] add github actions workflow to build Python UEFI with VS2019

2024-06-14 Thread Jayaprakash, N
This patch request enables the github actions workflow to build Python UEFI interpreter using VS2019 tool chain. Please refere to BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=4788 Jayaprakash N (1): edk2-libc : add github actions workflow to build PyUEFI using VS2019 .github/scripts

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc: Add cpuid_ex API to execute CPUID instructions on specific CPU

2024-05-17 Thread Jayaprakash, N
Changes looks good. Reviewed-by: Jayaprakash N Regards, JP -Original Message- From: R, Vishal Sent: Friday, May 17, 2024 12:08 PM To: devel@edk2.groups.io Cc: R, Vishal ; Rebecca Cran ; Kinney, Michael D ; Jayaprakash, N Subject: [edk2-libc Patch 1/1] edk2-libc: Add cpuid_ex API to

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc:add rdmsr_ex & wrmsr_ex functions to read/write cpu specific msrs

2024-04-24 Thread Jayaprakash, N
Hi Mike, I have sent an updated patch v2 for review which uses the MP Services protocol API StarupThisAP() to read / write MSRs specific to CPU cores. Please review and do the needful. Regards, JP -Original Message- From: devel@edk2.groups.io On Behalf Of Jayaprakash, N Sent: Thursday

[edk2-devel] [edk2-libc Patch v2 1/1] edk2-libc : add rdmsr_ex and wrmsr_ex to read/write msr from specific cpus

2024-04-24 Thread Jayaprakash, N
registers from specific cpu cores using python scripts from UEFI shell. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Jayaprakash N --- .../PyMod-3.6.8/Modules/edk2module.c | 258 +- .../Python/Python-3.6.8/Python368.inf | 3 + 2

[edk2-devel] [edk2-libc Patch v2 0/1] add rdmsr_ex & wrmsr_ex functions to read/write msrs from specific cpu

2024-04-24 Thread Jayaprakash, N
This patch adds 2 new functions to read and write MSRs from specific CPUs. rdmsr_ex and wrmsr_ex are the 2 new functions added into edk2module to provide the read and write of CPU specific MSRs. Jayaprakash N (1): edk2-libc : add rdmsr_ex and wrmsr_ex to read/write msr from specific cpus

Re: [edk2-devel] [edk2-libc Patch 2 1/1] ek2-libc: wrmsr function available in edk2module is not working as expected

2024-04-19 Thread Jayaprakash, N
Thanks Mike as suggested made the logic simpler. Sent the updated v3 patch for review. Regards, JP -Original Message- From: Kinney, Michael D Sent: Friday, April 19, 2024 2:35 AM To: Jayaprakash, N ; devel@edk2.groups.io Cc: Rebecca Cran ; Kinney, Michael D Subject: RE: [edk2-libc

[edk2-devel] [edk2-libc Patch v3 0/1] wrmsr function is not working as expected

2024-04-19 Thread Jayaprakash, N
The wrmsr function always writes 0s to the higher 32 bits of the msr register. This PR fixes this issue reported through the BZ4745 Jayaprakash N (1): ek2-libc: wrmsr function available in edk2module is not working as expected .../Python/Python-3.6.8/PyMod-3.6.8/Modules/edk2module.c

[edk2-devel] [edk2-libc Patch v3 1/1] ek2-libc: wrmsr function available in edk2module is not working as expected

2024-04-19 Thread Jayaprakash, N
is has been fixed by this commit. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Jayaprakash N --- .../Python/Python-3.6.8/PyMod-3.6.8/Modules/edk2module.c| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppPkg/Applications/Python/Python-3.6.8

[edk2-devel] [edk2-libc Patch 2 1/1] ek2-libc: wrmsr function available in edk2module is not working as expected

2024-04-18 Thread Jayaprakash, N
is has been fixed by this commit. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Jayaprakash N --- .../Python/Python-3.6.8/PyMod-3.6.8/Modules/edk2module.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AppPkg/Applications/Python/Python-3.6.8

[edk2-devel] [edk2-libc Patch 2 0/1] wrmsr function is not working as expected.

2024-04-18 Thread Jayaprakash, N
The wrmsr function always writes 0s to the higher 32 bits of the msr register. This PR fixes the this issue reported through the BZ4745. Jayaprakash N (1): ek2-libc: wrmsr function available in edk2module is not working as expected .../Python/Python-3.6.8/PyMod-3.6.8/Modules/edk2module.c

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc:add rdmsr_ex & wrmsr_ex functions to read/write cpu specific msrs

2024-04-17 Thread Jayaprakash, N
Thanks Mike. I shall make necessary changes and submit the PR again for review. Regards, JP -Original Message- From: Kinney, Michael D Sent: Thursday, April 18, 2024 10:46 AM To: Jayaprakash, N ; devel@edk2.groups.io Cc: Rebecca Cran ; Kinney, Michael D Subject: RE: [edk2-devel

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc:add rdmsr_ex & wrmsr_ex functions to read/write cpu specific msrs

2024-04-17 Thread Jayaprakash, N
the validation and debug scenarios only. This is not for switching the BSP for OS boot. This is only used during the validation and debug use cases. Regards, JP -Original Message- From: Kinney, Michael D Sent: Thursday, April 18, 2024 12:08 AM To: Jayaprakash, N ; devel@edk2.groups.io

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc:add rdmsr_ex & wrmsr_ex functions to read/write cpu specific msrs

2024-04-14 Thread Jayaprakash, N
+ Rebecca and Mike, Would you be able to review this PR? Regards, JP -Original Message- From: devel@edk2.groups.io On Behalf Of Jayaprakash, N Sent: Wednesday, April 10, 2024 11:49 AM To: devel@edk2.groups.io Cc: Jayaprakash, N ; Rebecca Cran ; Kinney, Michael D Subject: [edk2-devel

[edk2-devel] [edk2-libc Patch 1/1] edk2-libc:add rdmsr_ex & wrmsr_ex functions to read/write cpu specific msrs

2024-04-09 Thread Jayaprakash, N
Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Jayaprakash N --- .../PyMod-3.6.8/Modules/edk2module.c | 159 +- .../Python/Python-3.6.8/Python368.inf | 3 + 2 files changed, 158 insertions(+), 4 deletions(-) diff --git a/AppPkg/Applications/Python

[edk2-devel] [edk2-libc Patch 0/1] add rdmsr_ex & wrmsr_ex functions to read/write msrs from specific cpu

2024-04-09 Thread Jayaprakash, N
This patch adds 2 new functions to read and write msrs from specific CPUs. rdmsr_ex and wrmsr_ex are the 2 new functions added into edk2module to provide the read and write of CPU specific MSRs. Jayaprakash N (1): edk2-libc:add rdmsr_ex & wrmsr_ex functions to read/write cpu specific

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc: wrmsr function available in edk2module is not working as expected

2024-04-09 Thread Jayaprakash, N
Reviewed-by : Jayaprakash N -Original Message- From: devel@edk2.groups.io On Behalf Of Jayaprakash, N Sent: Thursday, April 4, 2024 3:14 PM To: devel@edk2.groups.io Cc: Jayaprakash, N ; Rebecca Cran ; Kinney, Michael D Subject: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc: wrmsr

[edk2-devel] [edk2-libc Patch 0/1] wrmsr function is not working as expected.

2024-04-04 Thread Jayaprakash, N
The wrmsr function always writes 0s to the higher 32 bits of the msr register. This issue has been fixed by this PR. Jayaprakash N (1): edk2-libc: wrmsr function available in edk2module is not working as expected .../Python/Python-3.6.8/PyMod-3.6.8/Modules/edk2module.c| 2 +- 1

[edk2-devel] [edk2-libc Patch 1/1] edk2-libc: wrmsr function available in edk2module is not working as expected

2024-04-04 Thread Jayaprakash, N
t to 0. This statement has been modified as below: data = (((UINT64)vedx) << 32) | veax; Verified the function by making this change and could see that the wrmsr is working as expected. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Jayaprakash N --- .../Python/

[edk2-devel] [edk2-libc Patch 1/1] ek2-libc: writeio function in edk2module.c not working as expected

2023-12-09 Thread Jayaprakash, N
using writeio function in edk2module.c Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Jayaprakash N --- .../Python/Python-3.6.8/PyMod-3.6.8/Modules/edk2module.c| 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AppPkg/Applications/Python

[edk2-devel] [edk2-libc Patch 0/1] writeio() edk2module not working as expected

2023-12-09 Thread Jayaprakash, N
This commit fixes the issue reported in BZ4619. The writeio() function in edk2module.c in edk2-libc/AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Modules which uses IoWrite* functions was passing the parameters in incorrect order. This has been fixed. Jayaprakash N (1): ek2-libc: writeio

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc/StdLib: Fixed typo issues in multiple files

2023-11-24 Thread Jayaprakash, N
Reviewed-by : Jayaprakash Nevara -Original Message- From: R, Vishal Sent: Friday, November 24, 2023 4:41 PM To: devel@edk2.groups.io Cc: R, Vishal ; Rebecca Cran ; Kinney, Michael D ; Jayaprakash, N Subject: [edk2-libc Patch 1/1] edk2-libc/StdLib: Fixed typo issues in multiple files

Re: [edk2-devel] [edk2-libc Patch 1/1] ek2-libc: Sample python scripts for socket client capabilities on UEFI shell

2023-11-10 Thread Jayaprakash, N
These are simple Python apps to demonstrate the usage of socket communication using the HTTP library. Reviewed-by : Jayaprakash N Regards, JP -Original Message- From: devel@edk2.groups.io On Behalf Of Jayaprakash, N Sent: Friday, October 27, 2023 9:57 PM To: devel@edk2.groups.io Cc

[edk2-devel] [edk2-libc Patch 1/1] ek2-libc: Sample python scripts for socket client capabilities on UEFI shell

2023-10-27 Thread Jayaprakash, N
are provided as sample scripts to exercise the python http library from UEFI shell. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Jayaprakash Nevara --- .../PyMod-3.6.8/Lib/http_echo_client.py | 81 +++ .../PyMod-3.6.8/Lib/http_echo_server.py

[edk2-devel] [edk2-libc Patch 0/1] AppPkg/Python - Sample scripts to exercise socket functionality

2023-10-27 Thread Jayaprakash, N
This commit provides 2 sample scripts namely http_echo_client.py and http_echo_server.py to exercise the socket capabilities on UEFI shell using the http library from Python UEFI interpreter. Jayaprakash N (1): ek2-libc: Sample python scripts for socket client capabilities on UEFI shell

Re: [edk2-devel] [edk2-libc Patch 0/1] fix missing nanf definition in StdLib

2023-10-26 Thread Jayaprakash, N
Reviewed-by : Jayaprakash Nevara Regards, JP -Original Message- From: devel@edk2.groups.io On Behalf Of Jayaprakash, N Sent: Thursday, October 26, 2023 9:00 PM To: devel@edk2.groups.io Cc: Jayaprakash, N Subject: [edk2-devel] [edk2-libc Patch 0/1] fix missing nanf definition in

Re: [edk2-devel] [edk2-libc Patch 1/1] ek2-libc: realpath function signature doesn't match the standard

2023-10-26 Thread Jayaprakash, N
Reviewed-by: Jayaprakash Nevara It's simple fix to align the function signature as per the standards. Regards, JP -Original Message- From: Jayaprakash, N Sent: Thursday, October 26, 2023 7:47 PM To: devel@edk2.groups.io Cc: Jayaprakash, N ; Rebecca Cran ; Kinney, Michael D ; K

[edk2-devel] [edk2-libc Patch 0/1] fix missing nanf definition in StdLib

2023-10-26 Thread Jayaprakash, N
This patch fixes the issue of missing definition of nanf in StdLib. This has been extracted from the below PR submitted on edk2-libc. https://github.com/tianocore/edk2-libc/pull/9 Jayaprakash N (1): ek2-libc: fix missing nanf definition in StdLib StdLib/LibC/LibC.inf| 1 + StdLib

[edk2-devel] [edk2-libc Patch 1/1] ek2-libc: fix missing nanf definition in StdLib

2023-10-26 Thread Jayaprakash, N
https://github.com/tianocore/edk2-libc/pull/9. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Kloper Dimitry --- StdLib/LibC/LibC.inf| 1 + StdLib/LibC/Main/nanf_ieee754.c | 15 +++ 2 files changed, 16 insertions(+) create mode 100644 StdLib

[edk2-devel] [edk2-libc Patch 1/1] ek2-libc: realpath function signature doesn't match the standard

2023-10-26 Thread Jayaprakash, N
given below https://pubs.opengroup.org/onlinepubs/009695399/functions/realpath.html This patch extracted from the above pull request fixes this issue. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Kloper Dimitry --- StdLib/Include/stdlib.h | 4 ++-- StdLib/LibC/S

[edk2-devel] [edk2-libc Patch 0/1] realpath function signature doesn't match standard

2023-10-26 Thread Jayaprakash, N
This patch fixes the function signature of realpath to match with the standard defined signature. This patch bas been extracted from the below pull request raised on edk2-libc. https://github.com/tianocore/edk2-libc/pull/10 Jayaprakash N (1): ek2-libc: realpath function signature doesn&#

Re: [edk2-devel] edk2-libc Python Build issue

2023-10-22 Thread Jayaprakash, N
You can build edk2-libc Python 3.6.8 using GCC tool chain by following the BKMs documented in this file https://github.com/tianocore/edk2-libc/blob/master/AppPkg/Applications/Python/Python-3.6.8/GCCCompilationBKMs.rst -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this

Re: [edk2-devel] [edk2-libc Patch 1/1] ek2-libc: Enhance StdLib for supporting Aarch64 and ARM

2023-10-22 Thread Jayaprakash, N
.groups.io; Jayaprakash, N Cc: Rebecca Cran ; Kinney, Michael D ; Tyler Erickson ; Ard Biesheuvel ; Leif Lindholm Subject: Re: [edk2-devel] [edk2-libc Patch 1/1] ek2-libc: Enhance StdLib for supporting Aarch64 and ARM On Fri, Oct 20, 2023 at 3:04 PM Jayaprakash, N wrote: >

[edk2-devel] [edk2-libc Patch 1/1] ek2-libc: Enhance StdLib for supporting Aarch64 and ARM

2023-10-20 Thread Jayaprakash, N
: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Tyler Erickson --- StdLib/Include/Aarch64/machine/int_fmtio.h | 211 + StdLib/Include/Arm/machine/int_fmtio.h | 211 + StdLib/Include/Ia32/machine/int_fmtio.h| 212 + StdLib/Include/X64/machine

[edk2-devel] [edk2-libc Patch 0/1] edk2-libc - Enhancements to StdLibc

2023-10-20 Thread Jayaprakash, N
This patch request contains enhancements made to StdLibc through BZ https://bugzilla.tianocore.org/show_bug.cgi?id=4570 Jayaprakash N (1): ek2-libc: Enhance StdLib for supporting Aarch64 and ARM StdLib/Include/Aarch64/machine/int_fmtio.h | 211 + StdLib/Include/Arm/machine

Re: [edk2-devel] [edk2-libc Patch 1/1] ek2-libc: Fix compilation instructions of socket module as builtin module

2023-09-01 Thread Jayaprakash, N
It's a documentation change. Reviewed-by: Jayaprakash N -Original Message- From: devel@edk2.groups.io On Behalf Of Jayaprakash, N Sent: Friday, September 1, 2023 9:48 PM To: devel@edk2.groups.io Cc: Jayaprakash, N ; Rebecca Cran ; Kinney, Michael D Subject: [edk2-devel] [edk2

[edk2-devel] [edk2-libc Patch 1/1] ek2-libc: Fix compilation instructions of socket module as builtin module

2023-09-01 Thread Jayaprakash, N
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4548 This change fixes the insufficient documentation instructions to compile socket module as built in module into Python interpreter Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Jayaprakash N --- .../Python

[edk2-devel] [edk2-libc Patch 0/1] AppPkg - fix python socket module compilation instructions

2023-09-01 Thread Jayaprakash, N
This patch fixes the insufficient documentation issue in Py368ReadMe.txt for compiling the socket module as builtin module of Python. The issue is reported in BZ 4548. Jayaprakash N (1): ek2-libc: Fix compilation instructions of socket module as builtin module .../Python/Python-3.6.8

[edk2-devel] [edk2-libc Patch 1/1] ek2-libc: socket module of python UEFI fails to compile with GCC

2023-08-31 Thread Jayaprakash, N
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4545 The compilation issues reported in the BZ are fixed by defining below 2 macros in pyconfig.h HAVE_ADDRINFO HAVE_SOCKADDR_STORAGE Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Jayaprakash N --- .../Python

[edk2-devel] [edk2-libc Patch 0/1] python socket module fails with GCC compiler

2023-08-31 Thread Jayaprakash, N
This patch fixes the compilation issue of Python UEFI interpreters socket module due to duplicate definitions of certain structures as reported in BZ 4545. Jayaprakash N (1): ek2-libc: socket module of python UEFI fails to compile with GCC .../Python/Python-3.6.8/PyMod-3.6.8/Include

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc: Socket completion functions are not called on Linux Compilation

2023-08-29 Thread Jayaprakash, N
Reviewed-by: Jayaprakash N Regards, JP -Original Message- From: devel@edk2.groups.io On Behalf Of Jayaprakash, N Sent: Monday, August 28, 2023 4:01 PM To: devel@edk2.groups.io Cc: Jayaprakash, N ; Rebecca Cran ; Kinney, Michael D ; Kloper, Dimitry Subject: [edk2-devel] [edk2-libc

[edk2-devel] [edk2-libc Patch 1/1] edk2-libc: Socket completion functions are not called on Linux Compilation

2023-08-28 Thread Jayaprakash, N
, since there are additional callback functions that suffer from the same problem. In addition fixing those causes some compiler warnings that shall be addressed. Attached patch fixes the problem for me. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Dimitry Kloper

[edk2-devel] [edk2-libc Patch 0/1] Socket completion functions not called on Linux Compilation

2023-08-28 Thread Jayaprakash, N
This patch fixes the issue reported in BZ given below: https://bugzilla.tianocore.org/show_bug.cgi?id=983 Patch extracted from PR https://github.com/tianocore/edk2-libc/pull/7 Jayaprakash N (1): edk2-libc: Socket completion functions are not called on Linux Compilation StdLib/EfiSocketLib

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc/StdLib: Fix console jump to 0, 0 issue in lseek()

2023-08-25 Thread Jayaprakash, N
Reviewed the changes and it looks good. Also verified that the fix solves the problem. Reviewed-by : Jayaprakash N -Original Message- From: devel@edk2.groups.io On Behalf Of Jayaprakash, N Sent: Thursday, August 24, 2023 10:04 PM To: devel@edk2.groups.io Cc: Jayaprakash, N ; Rebecca

[edk2-devel] [edk2-libc Patch 1/1] edk2-libc/StdLib: Fix console jump to 0, 0 issue in lseek()

2023-08-24 Thread Jayaprakash, N
se lseek(0, SEEK_CUR) will send cursor to (0,0). This fix is not generic, but solves the particular situation. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Kloper Dimitry --- StdLib/LibC/Uefi/Devices/Console/daConsole.c | 10 +- 1 file changed, 9 insertions(+),

[edk2-devel] [edk2-libc Patch 0/1] Fix issue with lseek function

2023-08-24 Thread Jayaprakash, N
This patch fixes a corner case issue with the lseek function. The issue is captured in BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4531 Jayaprakash N (1): edk2-libc/StdLib: Fix console jump to 0, 0 issue in lseek() StdLib/LibC/Uefi/Devices/Console/daConsole.c | 10 +- 1 file

[edk2-devel] [edk2-libc Patch 1/1] edk2-libc/StdLib: file descriptor leak in rename()

2023-08-21 Thread Jayaprakash, N
- just close the fd before returning from the function. Cc: Rebecca Cran Cc: Michael D Kinney Cc: Jayaprakash N Signed-off-by: Kloper Dimitry --- StdLib/LibC/Uefi/Devices/UefiShell/daShell.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/StdLib/LibC/Uefi/Devices/UefiShell/daShell.c b

[edk2-devel] [edk2-libc Patch 0/1] file descriptor leak in rename

2023-08-21 Thread Jayaprakash, N
This patch provides fix for the file descriptor leak issue in rename function from the LibC library of the StdLib of edk2-libc Jayaprakash N (1): edk2-libc/StdLib: file descriptor leak in rename() StdLib/LibC/Uefi/Devices/UefiShell/daShell.c | 2 ++ 1 file changed, 2 insertions

  1   2   >