[edk2-devel] [PATCH 0/2] Change the usage of input parameter ProcessorNumber in MpInitLibGetProcessorInfo() of MpInitLibUp

duntan posted 2 patches 3 months, 4 weeks ago
Failed in applying to current master (apply log)
There is a newer version of this series
UefiCpuPkg/Include/Library/MpInitLib.h       |  2 ++
UefiCpuPkg/Library/MpInitLib/MpLib.c         |  2 ++
UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.c | 17 ++++++++++++++++-
3 files changed, 20 insertions(+), 1 deletion(-)
[edk2-devel] [PATCH 0/2] Change the usage of input parameter ProcessorNumber in MpInitLibGetProcessorInfo() of MpInitLibUp
Posted by duntan 3 months, 4 weeks ago
In this patch set, the usage of input parameter ProcessorNumber in MpInitLibGetProcessorInfo() of MpInitLibUp instance is changed.
1.Retrive EXTENDED_PROCESSOR_INFORMATION in the API MpInitLibGetProcessorInfo() of MpInitLibUp instance when the BIT24 of input ProcessorNumber is set.
It's to align with the behavior in PEI/DXE MpInitLib.

2.Also, check lower 24 bits of ProcessorNumber instead of the value of ProcessorNumber in the API MpInitLibGetProcessorInfo() of MpInitLibUp instance.
The BIT24 of input ProcessorNumber might be set to indicate if the EXTENDED_PROCESSOR_INFORMATION will be retrived.

Dun Tan (2):
  UefiCpuPkg: Retrive EXTENDED_PROCESSOR_INFORMATION
  UefiCpuPkg: Check lower 24 bits of ProcessorNumber

 UefiCpuPkg/Include/Library/MpInitLib.h       |  2 ++
 UefiCpuPkg/Library/MpInitLib/MpLib.c         |  2 ++
 UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.c | 17 ++++++++++++++++-
 3 files changed, 20 insertions(+), 1 deletion(-)

-- 
2.31.1.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#113137): https://edk2.groups.io/g/devel/message/113137
Mute This Topic: https://groups.io/mt/103518740/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-