summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Common
diff options
context:
space:
mode:
authorEric Dong <eric.dong@intel.com>2018-12-20 09:15:51 +0800
committerEric Dong <eric.dong@intel.com>2019-01-15 13:27:37 +0800
commiteb98fe2ae18d46a0f1c5bc35e79e3d429fadc9f5 (patch)
tree4be7e5fbfce157019710033c6ec44ed011c8aac2 /BaseTools/Source/Python/Common
parent306a58365a89d9266d278c82e099f7052603ef54 (diff)
downloadedk2-eb98fe2ae18d46a0f1c5bc35e79e3d429fadc9f5.tar.gz
edk2-eb98fe2ae18d46a0f1c5bc35e79e3d429fadc9f5.tar.bz2
edk2-eb98fe2ae18d46a0f1c5bc35e79e3d429fadc9f5.zip
UefiCpuPkg/RegisterCpuFeaturesLib: Replace AcquireSpinLock.
In AcquireSpinLock function, it may call GetPerformanceCounter which final calls PeiService table. This code may also been used by AP but AP should not calls PeiService. This patch update code to avoid use AcquireSpinLock function. BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1411 Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common')
0 files changed, 0 insertions, 0 deletions