]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/FirmwarePerformanceDataTableDxe: use AllocatePeiAccessiblePages
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 22 May 2018 13:37:58 +0000 (15:37 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 29 May 2018 08:47:18 +0000 (10:47 +0200)
Replace the call to and implementation of the function
FpdtAllocateReservedMemoryBelow4G() with a call to
AllocatePeiAccessiblePages, which boils down to the same on X64,
but does not crash non-X64 systems that lack memory below 4 GB.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>

No differences found