]> git.proxmox.com Git - mirror_edk2.git/commit
EmulatorPkg/MpService: Fix a NULL reference
authorChen Fan <chen.fan.fnst@cn.fujitsu.com>
Sun, 28 Sep 2014 06:21:46 +0000 (06:21 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Sun, 28 Sep 2014 06:21:46 +0000 (06:21 +0000)
commit8ab6d73c0e240d573cdce317a15317f235d24ac4
treec5b3927d94f659acac7748e4041ae729124411aa
parent90be22219668cae514cdb56934cb139089367dae
EmulatorPkg/MpService: Fix a NULL reference

when making a CreateEvent() to call CpuCheckAllAPsStatus(),
the Context parameter was NULL in CpuCheckAllAPsStatus(),
so we must not use the Context as the ProcessorData pointer.
and should recalculate it.

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@16183 6f19259b-4bc3-4df7-8a09-765794883524
EmulatorPkg/CpuRuntimeDxe/MpService.c