UefiCpuPkg/CpuMpPei: Load microcode on BSP and APs
Add DetectMicrocode() to load microcode on BSP and APs. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18002 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -119,9 +119,10 @@ ApCFunction (
|
||||
PeiCpuMpData->CpuData[NumApsExecuting].ApicId = GetInitialApicId ();
|
||||
PeiCpuMpData->CpuData[NumApsExecuting].Health.Uint32 = (UINT32) BistData;
|
||||
//
|
||||
// Sync BSP's Mtrr table to all wakeup APs
|
||||
// Sync BSP's Mtrr table to all wakeup APs and load microcode on APs.
|
||||
//
|
||||
MtrrSetAllMtrrs (&PeiCpuMpData->MtrrTable);
|
||||
MicrocodeDetect ();
|
||||
}
|
||||
|
||||
//
|
||||
@@ -288,7 +289,10 @@ CountProcessorNumber (
|
||||
IN PEI_CPU_MP_DATA *PeiCpuMpData
|
||||
)
|
||||
{
|
||||
|
||||
//
|
||||
// Load Microcode on BSP
|
||||
//
|
||||
MicrocodeDetect ();
|
||||
//
|
||||
// Store BSP's MTRR setting
|
||||
//
|
||||
|
Reference in New Issue
Block a user