From 7471751a4d813a64501a9d7819b1eb405911b310 Mon Sep 17 00:00:00 2001 From: Guo Dong Date: Sun, 14 Feb 2021 22:13:08 -0700 Subject: UefiPayloadPkg/UefiPayloadEntry: Remove 4GB memory WA 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 Reviewed-by: Maurice Ma --- UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'UefiPayloadPkg/UefiPayloadEntry') diff --git a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c index 91b3a87413..19d2a8d3bd 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c +++ b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c @@ -198,11 +198,6 @@ MemInfoCallback ( EFI_RESOURCE_ATTRIBUTE_WRITE_THROUGH_CACHEABLE | EFI_RESOURCE_ATTRIBUTE_WRITE_BACK_CACHEABLE; - if (Base >= BASE_4GB) { - // Remove tested attribute to avoid DXE core to dispatch driver to memory above 4GB - Attribue &= ~EFI_RESOURCE_ATTRIBUTE_TESTED; - } - BuildResourceDescriptorHob (Type, Attribue, (EFI_PHYSICAL_ADDRESS)Base, Size); DEBUG ((DEBUG_INFO , "buildhob: base = 0x%lx, size = 0x%lx, type = 0x%x\n", Base, Size, Type)); -- cgit v1.2.3