[edk2-devel] [PATCH 0/2] UefiCpuPkg/MpInitLib: Use XADD to avoid lock acquire/release

Ni, Ray ray.ni at intel.com
Thu Feb 4 02:59:19 UTC 2021


Ray Ni (2):
  UefiCpuPkg/MpInitLib: Use NASM struc to avoid hardcode offset
  UefiCpuPkg/MpInitLib: Use XADD to avoid lock acquire/release

 UefiCpuPkg/Library/MpInitLib/Ia32/MpEqu.inc   | 54 +++++++++--------
 .../Library/MpInitLib/Ia32/MpFuncs.nasm       | 52 +++++++---------
 UefiCpuPkg/Library/MpInitLib/MpLib.c          |  3 +-
 UefiCpuPkg/Library/MpInitLib/MpLib.h          |  3 +-
 UefiCpuPkg/Library/MpInitLib/X64/MpEqu.inc    | 56 ++++++++---------
 UefiCpuPkg/Library/MpInitLib/X64/MpFuncs.nasm | 60 ++++++++-----------
 6 files changed, 103 insertions(+), 125 deletions(-)

-- 
2.27.0.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#71130): https://edk2.groups.io/g/devel/message/71130
Mute This Topic: https://groups.io/mt/80372083/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list