grub2/grub-core/kern/efi
Leif Lindholm d2392df717 efi: refactor grub_efi_allocate_pages
Expose a new function, grub_efi_allocate_pages_real(), making it possible
to specify allocation type and memory type as supported by the UEFI
AllocatePages boot service.

Make grub_efi_allocate_pages() a consumer of the new function,
maintaining its old functionality.

Also delete some left-around #if 1/#else blocks in the affected
functions.

Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>

Origin: upstream, https://git.savannah.gnu.org/cgit/grub.git/commit/?id=dd5fde2df83c5c03b7ba04d2cc5b7be96de8da7b
Bug-Debian: https://bugs.debian.org/907596
Bug-Debian: https://bugs.debian.org/909420
Last-Update: 2018-12-06

Patch-Name: efi-refactor-grub_efi_allocate_pages.patch
2018-12-06 20:45:24 +00:00
..
acpi.c tsc: Use alternative delay sources whenever appropriate. 2015-11-27 11:39:55 +01:00
efi.c Don't permit loading modules on UEFI secure boot 2018-03-16 10:56:39 +00:00
fdt.c efi: Move fdt helper into own file 2016-11-24 10:09:24 +01:00
init.c Fix fwpath in efi netboot 2016-12-22 22:37:32 +03:00
mm.c efi: refactor grub_efi_allocate_pages 2018-12-06 20:45:24 +00:00