]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/CpuMpPei/CpuPaging.c
UefiCpuPkg: Move MigrateGdt from DiscoverMemory to TempRamDone. (CVE-2019-11098)
[mirror_edk2.git] / UefiCpuPkg / CpuMpPei / CpuPaging.c
index 50ad4277af79070b9bacc983159e76403a1758e3..3e261d6657b305619534b3c9fd3df77d54e583ab 100644 (file)
@@ -605,17 +605,9 @@ MemoryDiscoveredPpiNotifyCallback (
 {\r
   EFI_STATUS              Status;\r
   BOOLEAN                 InitStackGuard;\r
-  BOOLEAN                 InterruptState;\r
   EDKII_MIGRATED_FV_INFO  *MigratedFvInfo;\r
   EFI_PEI_HOB_POINTERS    Hob;\r
 \r
-  if (PcdGetBool (PcdMigrateTemporaryRamFirmwareVolumes)) {\r
-    InterruptState = SaveAndDisableInterrupts ();\r
-    Status = MigrateGdt ();\r
-    ASSERT_EFI_ERROR (Status);\r
-    SetInterruptState (InterruptState);\r
-  }\r
-\r
   //\r
   // Paging must be setup first. Otherwise the exception TSS setup during MP\r
   // initialization later will not contain paging information and then fail\r