diff options
-rw-r--r-- | EmulatorPkg/CpuRuntimeDxe/MpService.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/EmulatorPkg/CpuRuntimeDxe/MpService.c b/EmulatorPkg/CpuRuntimeDxe/MpService.c index 9d67b86..238ecc6 100644 --- a/EmulatorPkg/CpuRuntimeDxe/MpService.c +++ b/EmulatorPkg/CpuRuntimeDxe/MpService.c @@ -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);
}
|