mirror of https://github.com/acidanthera/audk.git
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 <guo.dong@intel.com> Reviewed-by: Maurice Ma <maurice.ma@intel.com>
This commit is contained in:
parent
1e5e58d39b
commit
7471751a4d
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in New Issue