]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/CpuMpPei: Fix BistData ouput error
authorJeff Fan <jeff.fan@intel.com>
Fri, 9 Sep 2016 06:17:57 +0000 (14:17 +0800)
committerJeff Fan <jeff.fan@intel.com>
Wed, 14 Sep 2016 00:54:32 +0000 (08:54 +0800)
commit8dc56ddeca490999ee0e256c4f2c42e7cb20a84d
treec8274d01d83db90af56bdc024900eb2f5dff492d
parentdfb0e6591b31f894cc6abfc028ddcd1a161dbb48
UefiCpuPkg/CpuMpPei: Fix BistData ouput error

ProcessorInfo.ProcessorId is UINT64 type even it's valid value is UINT32. Use %x
only output the low 4 bytes and keep the high 4 bytes in stack that will be
output as the second parameter BistData. Typecast ProcessorInfo.ProcessorId to
UINT32 could make BistData output correctly.

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/CpuMpPei/CpuBist.c