]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/CpuMpPei/Microcode.c
UefiCpuPkg/CpuMpPei: Skip microcode check/load if it has been loaded
authorJeff Fan <jeff.fan@intel.com>
Fri, 1 Jul 2016 06:51:10 +0000 (14:51 +0800)
committerJeff Fan <jeff.fan@intel.com>
Wed, 13 Jul 2016 07:41:14 +0000 (15:41 +0800)
commit46fd118219fcce638f1eb9c861f4a037530b64b9
treecbce029a139b9b0f252b805b8b312486d8adfa81
parent8aba40b79267df761bd24d6874ae87f47a7bd3de
UefiCpuPkg/CpuMpPei: Skip microcode check/load if it has been loaded

Actually, there is only one microcode region in platform. If microcode has been
loaded, its signature will not be zero and should be loaded successfully.
We needn't to check microcode region and load microcode again. This update is to
skip checking/loading microcode if current microcode signature is not zero.

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: Giri P Mudusuru <giri.p.mudusuru@intel.com>
UefiCpuPkg/CpuMpPei/Microcode.c