]> xenbits.xensource.com Git - people/aperard/ovmf.git/commitdiff
disable not amd msr tmp.intel.msr
authorAnthony PERARD <anthony.perard@citrix.com>
Tue, 11 Feb 2020 17:22:09 +0000 (17:22 +0000)
committerAnthony PERARD <anthony.perard@citrix.com>
Tue, 11 Feb 2020 17:22:09 +0000 (17:22 +0000)
UefiCpuPkg/Library/MpInitLib/MpLib.c

index d0fbc17ce5516ae0ab07bde8460fa07f185b8426..900d53ec4ca4fafdde5922c4485f32eb4eae9048 100644 (file)
@@ -553,7 +553,7 @@ InitializeApData (
   )\r
 {\r
   CPU_INFO_IN_HOB                  *CpuInfoInHob;\r
-  MSR_IA32_PLATFORM_ID_REGISTER    PlatformIdMsr;\r
+  /* MSR_IA32_PLATFORM_ID_REGISTER    PlatformIdMsr; */\r
 \r
   CpuInfoInHob = (CPU_INFO_IN_HOB *) (UINTN) CpuMpData->CpuInfoInHob;\r
   CpuInfoInHob[ProcessorNumber].InitialApicId = GetInitialApicId ();\r
@@ -564,8 +564,8 @@ InitializeApData (
   CpuMpData->CpuData[ProcessorNumber].Waiting    = FALSE;\r
   CpuMpData->CpuData[ProcessorNumber].CpuHealthy = (BistData == 0) ? TRUE : FALSE;\r
 \r
-  PlatformIdMsr.Uint64 = AsmReadMsr64 (MSR_IA32_PLATFORM_ID);\r
-  CpuMpData->CpuData[ProcessorNumber].PlatformId = (UINT8) PlatformIdMsr.Bits.PlatformId;\r
+  /* PlatformIdMsr.Uint64 = AsmReadMsr64 (MSR_IA32_PLATFORM_ID); */\r
+  /* CpuMpData->CpuData[ProcessorNumber].PlatformId = (UINT8) PlatformIdMsr.Bits.PlatformId; */\r
 \r
   AsmCpuid (\r
     CPUID_VERSION_INFO,\r