UefiCpuPkg/MpInitLib: Add MicrocodeDetect() and load microcode on BSP
v4: 1. ProcessorSignature is updated to CPU_MICROCODE_PROCESSOR_SIGNATURE instead of UINT32. Cc: Michael Kinney <michael.d.kinney@intel.com> Cc: Feng Tian <feng.tian@intel.com> Cc: Giri P Mudusuru <giri.p.mudusuru@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Michael Kinney <michael.d.kinney@intel.com> Tested-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Michael Kinney <michael.d.kinney@intel.com>
This commit is contained in:
@@ -294,6 +294,11 @@ MpInitLibInitialize (
|
||||
CpuMpData->CpuData[Index].StartupApSignal =
|
||||
(UINT32 *)(MonitorBuffer + MonitorFilterSize * Index);
|
||||
}
|
||||
//
|
||||
// Load Microcode on BSP
|
||||
//
|
||||
MicrocodeDetect (CpuMpData);
|
||||
//
|
||||
// Store BSP's MTRR setting
|
||||
//
|
||||
MtrrGetAllMtrrs (&CpuMpData->MtrrTable);
|
||||
|
Reference in New Issue
Block a user