]> git.proxmox.com Git - mirror_edk2.git/commitdiff
UefiPayloadPkg/UefiPayloadEntry: Remove 4GB memory WA
authorGuo Dong <guo.dong@intel.com>
Mon, 15 Feb 2021 05:13:08 +0000 (22:13 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 22 Jun 2021 19:03:48 +0000 (19:03 +0000)
Previous it would hang in CpuDxe if DXE drivers are dispatched above 4GB.
Now remove the work around since the fixed in CpuDxe are merged.

Signed-off-by: Guo Dong <guo.dong@intel.com>
Reviewed-by: Maurice Ma <maurice.ma@intel.com>
UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c

index 91b3a874139dca17c52076682ea6ee7ce9d6e592..19d2a8d3bd014b5aee2cc798f6e0107c8fc4d9f7 100644 (file)
@@ -198,11 +198,6 @@ MemInfoCallback (
              EFI_RESOURCE_ATTRIBUTE_WRITE_THROUGH_CACHEABLE |\r
              EFI_RESOURCE_ATTRIBUTE_WRITE_BACK_CACHEABLE;\r
 \r
-  if (Base >= BASE_4GB) {\r
-    // Remove tested attribute to avoid DXE core to dispatch driver to memory above 4GB\r
-    Attribue &= ~EFI_RESOURCE_ATTRIBUTE_TESTED;\r
-  }\r
-\r
   BuildResourceDescriptorHob (Type, Attribue, (EFI_PHYSICAL_ADDRESS)Base, Size);\r
   DEBUG ((DEBUG_INFO , "buildhob: base = 0x%lx, size = 0x%lx, type = 0x%x\n", Base, Size, Type));\r
 \r