]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/CpuDxe: Fix duplicated status code report
authorJeff Fan <jeff.fan@intel.com>
Fri, 9 Sep 2016 05:39:50 +0000 (13:39 +0800)
committerJeff Fan <jeff.fan@intel.com>
Wed, 14 Sep 2016 00:54:24 +0000 (08:54 +0800)
commit7d17ab47d1d81c8012d8095c1e17412168c1cfc9
tree5a422536145fde160e2b5ae493007570dc950a12
parentd947fbed72226011961e5e2691f09baebf128795
UefiCpuPkg/CpuDxe: Fix duplicated status code report

If CPU Bist data is not zero, we will report Status code. But there is one bug
that will report each processor's status code duplicated with NumberOfData
times. This fix is to exchange the loop order on NumberOfData and
mNumberOfProcessors. It could make sure the report status code only once for
each processor.

Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Giri P Mudusuru <giri.p.mudusuru@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Feng Tian <feng.tian@Intel.com>
UefiCpuPkg/CpuDxe/CpuMp.c