]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: efi_allocate_pages is too restrictive
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 18 Jun 2018 15:23:02 +0000 (17:23 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 25 Jul 2018 12:57:43 +0000 (14:57 +0200)
commit04ae0d24bf61139dce6fa06607d97238fd6df0fa
tree71878532f088212ae5b7ef3be008b81b1b3c5907
parent551771729b65f9cd90ce0befbea29d2eb2eb617a
efi_loader: efi_allocate_pages is too restrictive

When running on the sandbox the stack is not necessarily at a higher memory
address than the highest free memory.

There is no reason why the checking of the highest memory address should be
more restrictive for EFI_ALLOCATE_ANY_PAGES than for
EFI_ALLOCATE_MAX_ADDRESS.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
[agraf: use -1ULL instead]
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_memory.c