]> git.proxmox.com Git - mirror_edk2.git/commit
EmulatorPkg/MpService: StartupAllAPs should verify processor state before setting...
authorChen Fan <chen.fan.fnst@cn.fujitsu.com>
Fri, 21 Nov 2014 22:46:36 +0000 (22:46 +0000)
committerjljusten <jljusten@Edk2>
Fri, 21 Nov 2014 22:46:36 +0000 (22:46 +0000)
commitc156d27b397489814a85f700abb584fc835644a7
treed168123d6de2204662b77a7db074405f97aa3460
parentca186b1d4f186779a11319b1fa45a29de20534dc
EmulatorPkg/MpService: StartupAllAPs should verify processor state before setting state

if any enabled APs are not in idle state, StartupAllAPs() should return immediately,
and must not change the other idled processor state. so we checked the state before
changed them.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16416 6f19259b-4bc3-4df7-8a09-765794883524
EmulatorPkg/CpuRuntimeDxe/MpService.c