mirror of https://github.com/acidanthera/audk.git
EmulatorPkg/Mpservice: CpuCheckAllAPsStatus: ProcedureLock => StateLock
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15727 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
f4a8ab280e
commit
e143c9e30c
|
@ -1015,9 +1015,9 @@ CpuCheckAllAPsStatus (
|
|||
if (!EFI_ERROR (Status)) {
|
||||
NextData = &gMPSystem.ProcessorData[NextNumber];
|
||||
|
||||
gThread->MutexLock (&NextData->ProcedureLock);
|
||||
gThread->MutexLock (&NextData->StateLock);
|
||||
NextData->State = CPU_STATE_READY;
|
||||
gThread->MutexUnlock (&NextData->ProcedureLock);
|
||||
gThread->MutexUnlock (&NextData->StateLock);
|
||||
|
||||
SetApProcedure (NextData, gMPSystem.Procedure, gMPSystem.ProcedureArgument);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue