Revision: 16186
          http://sourceforge.net/p/edk2/code/16186
Author:   jljusten
Date:     2014-09-28 06:22:10 +0000 (Sun, 28 Sep 2014)
Log Message:
-----------
EmulatorPkg/MpService: remove redundant switch-case statement

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]>
Reviewed-by: Jordan Justen <[email protected]>

Modified Paths:
--------------
    trunk/edk2/EmulatorPkg/CpuRuntimeDxe/MpService.c

Modified: trunk/edk2/EmulatorPkg/CpuRuntimeDxe/MpService.c
===================================================================
--- trunk/edk2/EmulatorPkg/CpuRuntimeDxe/MpService.c    2014-09-28 06:22:03 UTC 
(rev 16185)
+++ trunk/edk2/EmulatorPkg/CpuRuntimeDxe/MpService.c    2014-09-28 06:22:10 UTC 
(rev 16186)
@@ -1015,10 +1015,6 @@
     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);


------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to