mirror of https://github.com/acidanthera/audk.git
UefiCpuPkg/PiSmmCpuDxeSmm: Lock should be acquired
SMM BSP's *busy* state should be acquired. We could use AcquireSpinLock() instead of AcquireSpinLockOrFail(). Cc: Hao Wu <hao.a.wu@intel.com> Cc: Feng Tian <feng.tian@intel.com> Cc: Michael Kinney <michael.d.kinney@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Hao Wu <hao.a.wu@intel.com>
This commit is contained in:
parent
33cc487c26
commit
170a3c1e0f
|
@ -407,7 +407,7 @@ BSPHandler (
|
|||
//
|
||||
// The BUSY lock is initialized to Acquired state
|
||||
//
|
||||
AcquireSpinLockOrFail (mSmmMpSyncData->CpuData[CpuIndex].Busy);
|
||||
AcquireSpinLock (mSmmMpSyncData->CpuData[CpuIndex].Busy);
|
||||
|
||||
//
|
||||
// Perform the pre tasks
|
||||
|
|
Loading…
Reference in New Issue