Add mutex protect when manipulate processor State. and fix some wrong Lock's usage in where using the addressof StateLock's address. gThread->MutexLock (&gMPSystem.ProcessorData[NextNumber].StateLock); => gThread->MutexLock (gMPSystem.ProcessorData[NextNumber].StateLock);
Chen Fan (4): EmulatorPkg/Mpservice: CpuCheckAllAPsStatus: ProcedureLock => StateLock EmulatorPkg/Mpservice: Remove addressof operator EmulatorPkg/Mpservice: Remove StackLock for Info.StateFlag EmulatorPkg/Mpservice: Add StateLock where missing EmulatorPkg/CpuRuntimeDxe/MpService.c | 37 +++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 15 deletions(-) -- 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