Hi, JP,
Thanks a lot!
best wishes,
At 2025-02-17 23:51:25, "Jayaprakash, N via groups.io"
wrote:
Hi Yoshinoya,
The MP Services UEFI protocol has been used to run the CPUID instructions on a
given CPU core and to read / write the MSRs from given CPU core.
The python functions
Hi Yoshinoya,
The MP Services UEFI protocol has been used to run the CPUID instructions on a
given CPU core and to read / write the MSRs from given CPU core.
The python functions for this purpose are supported from the edk2module built
in extension module are respectively cpuid_ex, rdmsr_ex/ wr
hi, JP
Got it, thank you!
I found some uefi mp service functions's call sample in edk2module.c
So, user could follow this sample and write multi process sample with python
script ?
best wishes,
At 2025-02-17 13:23:58, "Jayaprakash, N via groups.io"
wrote:
Hi Yoshinoya
Hi Yoshinoya,
It's not supported in UEFI.
You can see that macros are not defined as part of pyconfig.h
https://github.com/tianocore/edk2-libc/blob/master/AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Include/pyconfig.h
So this functionality doesn't get compiled for UEFI.
Regards,
JP
Fro