]> git.proxmox.com Git - mirror_edk2.git/commitdiff
UefiCpuPkg/MpLib.c: Load microcode before mtrr sync per IA32 SDM
authorJeff Fan <jeff.fan@intel.com>
Sat, 1 Apr 2017 13:29:54 +0000 (21:29 +0800)
committerJeff Fan <jeff.fan@intel.com>
Thu, 6 Apr 2017 08:06:25 +0000 (16:06 +0800)
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=453
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
UefiCpuPkg/Library/MpInitLib/MpLib.c

index bb93526dd990cd7132c52c321ec6a9009842d026..03d6c2d89e007de6bd13b7bdf5819b11fae86b77 100644 (file)
@@ -382,13 +382,13 @@ ApInitializeSync (
 \r
   CpuMpData = (CPU_MP_DATA *) Buffer;\r
   //\r
-  // Sync BSP's MTRR table to AP\r
-  //\r
-  MtrrSetAllMtrrs (&CpuMpData->MtrrTable);\r
-  //\r
   // Load microcode on AP\r
   //\r
   MicrocodeDetect (CpuMpData);\r
+  //\r
+  // Sync BSP's MTRR table to AP\r
+  //\r
+  MtrrSetAllMtrrs (&CpuMpData->MtrrTable);\r
 }\r
 \r
 /**\r