From: Ard Biesheuvel Date: Sun, 19 Mar 2017 17:19:48 +0000 (+0000) Subject: MdeModulePkg/BootGraphicsResourceTableDxe: don't allocate below 4 GB X-Git-Tag: edk2-stable201903~4363 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=09da11081915dea25d2d1bba87cdf460102e52bb;hp=09da11081915dea25d2d1bba87cdf460102e52bb MdeModulePkg/BootGraphicsResourceTableDxe: don't allocate below 4 GB The BGRT table has an 8 byte field for the memory address of the image data, and yet the driver explicitly allocates below 4 GB. This results in an ASSERT() on systems that do not have any memory below 4 GB to begin with. Since neither the PI, the UEFI or the ACPI spec contain any mention of why this data should reside below 4 GB, replace the allocation call with an ordinary AllocatePages() call. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel Reviewed-by: Liming Gao ---