we had set the AP procedure in StartupAllAPs(), so do not need to set AP procedure twice.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chen Fan <[email protected]> --- EmulatorPkg/CpuRuntimeDxe/MpService.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/EmulatorPkg/CpuRuntimeDxe/MpService.c b/EmulatorPkg/CpuRuntimeDxe/MpService.c index 5ddd4e7..d6dd984 100644 --- a/EmulatorPkg/CpuRuntimeDxe/MpService.c +++ b/EmulatorPkg/CpuRuntimeDxe/MpService.c @@ -1015,10 +1015,6 @@ CpuCheckAllAPsStatus ( gThread->MutexUnlock (ProcessorData->StateLock); switch (ProcessorState) { - case CPU_STATE_READY: - SetApProcedure (ProcessorData, gMPSystem.Procedure, gMPSystem.ProcedureArgument); - break; - case CPU_STATE_FINISHED: if (gMPSystem.SingleThread) { Status = GetNextBlockedNumber (&NextNumber); -- 1.9.3 ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ edk2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel
