From cb811673c765b1bdb2e88ed4f8210f784a88fd6c Mon Sep 17 00:00:00 2001 From: Jeff Fan Date: Sat, 1 Apr 2017 21:29:54 +0800 Subject: UefiCpuPkg/MpLib.c: Load microcode before mtrr sync per IA32 SDM Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=453 Cc: Jiewen Yao Cc: Michael Kinney Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan Reviewed-by: Feng Tian --- UefiCpuPkg/Library/MpInitLib/MpLib.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'UefiCpuPkg') diff --git a/UefiCpuPkg/Library/MpInitLib/MpLib.c b/UefiCpuPkg/Library/MpInitLib/MpLib.c index bb93526dd9..03d6c2d89e 100644 --- a/UefiCpuPkg/Library/MpInitLib/MpLib.c +++ b/UefiCpuPkg/Library/MpInitLib/MpLib.c @@ -382,13 +382,13 @@ ApInitializeSync ( CpuMpData = (CPU_MP_DATA *) Buffer; // - // Sync BSP's MTRR table to AP - // - MtrrSetAllMtrrs (&CpuMpData->MtrrTable); - // // Load microcode on AP // MicrocodeDetect (CpuMpData); + // + // Sync BSP's MTRR table to AP + // + MtrrSetAllMtrrs (&CpuMpData->MtrrTable); } /** -- cgit v1.2.3