Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chen Fan <chen.fan.f...@cn.fujitsu.com> Reviewed-by: Jordan Justen <jordan.l.jus...@intel.com> --- EmulatorPkg/CpuRuntimeDxe/MpService.c | 4 ++-- 1 file 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); } -- 1.9.3 ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel