summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg/CpuMpPei/CpuMpPei.c
diff options
context:
space:
mode:
authorJeff Fan <jeff.fan@intel.com>2016-07-01 14:52:12 +0800
committerJeff Fan <jeff.fan@intel.com>2016-07-13 15:41:49 +0800
commit719ff8cf3e8f3abc967de8a0a71319ce66ff2d9d (patch)
treef9bb941c6f995de1dd7dd921b11f464baa7bf015 /UefiCpuPkg/CpuMpPei/CpuMpPei.c
parent46fd118219fcce638f1eb9c861f4a037530b64b9 (diff)
downloadedk2-719ff8cf3e8f3abc967de8a0a71319ce66ff2d9d.tar.gz
edk2-719ff8cf3e8f3abc967de8a0a71319ce66ff2d9d.tar.bz2
edk2-719ff8cf3e8f3abc967de8a0a71319ce66ff2d9d.zip
UefiCpuPkg/CpuMpPei: Dump message if microcode signature not matched
Verification microcode signature is one enhancement and not one requirement from IA32 SDM. This update is just to dump debug message instead of ASSERT() if the updated microcode signature does not match the loaded microcode signature. 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>
Diffstat (limited to 'UefiCpuPkg/CpuMpPei/CpuMpPei.c')
-rw-r--r--UefiCpuPkg/CpuMpPei/CpuMpPei.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/UefiCpuPkg/CpuMpPei/CpuMpPei.c b/UefiCpuPkg/CpuMpPei/CpuMpPei.c
index 4ed1da9878..bccff24cc1 100644
--- a/UefiCpuPkg/CpuMpPei/CpuMpPei.c
+++ b/UefiCpuPkg/CpuMpPei/CpuMpPei.c
@@ -302,7 +302,7 @@ ApCFunction (
// Sync BSP's Mtrr table to all wakeup APs and load microcode on APs.
//
MtrrSetAllMtrrs (&PeiCpuMpData->MtrrTable);
- MicrocodeDetect ();
+ MicrocodeDetect (PeiCpuMpData);
PeiCpuMpData->CpuData[ProcessorNumber].State = CpuStateIdle;
} else {
//
@@ -624,7 +624,7 @@ CountProcessorNumber (
//
// Load Microcode on BSP
//
- MicrocodeDetect ();
+ MicrocodeDetect (PeiCpuMpData);
//
// Store BSP's MTRR setting
//