linux/drivers/firmware/efi/libstub
Ard Biesheuvel 48fcb2d021 efi: stub: use high allocation for converted command line
Before we can move the command line processing before the allocation
of the kernel, which is required for detecting the 'nokaslr' option
which controls that allocation, move the converted command line higher
up in memory, to prevent it from interfering with the kernel itself.

Since x86 needs the address to fit in 32 bits, use UINT_MAX as the upper
bound there. Otherwise, use ULONG_MAX (i.e., no limit)

Reviewed-by: Matt Fleming <matt@codeblueprint.co.uk>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2016-02-24 14:57:28 +00:00
..
arm32-stub.c ARM: add UEFI stub support 2015-12-14 10:38:21 +01:00
arm64-stub.c arm64 updates for 4.4: 2015-11-04 14:47:13 -08:00
arm-stub.c ARM: add UEFI stub support 2015-12-14 10:38:21 +01:00
efi-stub-helper.c efi: stub: use high allocation for converted command line 2016-02-24 14:57:28 +00:00
efistub.h efi: stub: add implementation of efi_random_alloc() 2016-02-24 14:57:28 +00:00
fdt.c treewide: Fix typos in printk 2015-12-08 14:59:19 +01:00
Makefile efi: stub: implement efi_get_random_bytes() based on EFI_RNG_PROTOCOL 2016-02-24 14:57:28 +00:00
random.c efi: stub: add implementation of efi_random_alloc() 2016-02-24 14:57:28 +00:00
string.c arm64/efi: isolate EFI stub from the kernel proper 2015-10-12 16:20:12 +01:00