]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_memory: rename variable to highlight overlap with free memory
authorSughosh Ganu <sughosh.ganu@linaro.org>
Tue, 15 Oct 2024 15:37:16 +0000 (21:07 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 15 Oct 2024 19:45:30 +0000 (13:45 -0600)
commitf3fe3232a50a1b28efcce0b81d00b1024f265a12
treea98b9a94ad55427e19d90d17abcd98742cc9301a
parent596516d3301ef7b6594dc5d24bc8fd4461279437
efi_memory: rename variable to highlight overlap with free memory

The variable overlap_only_ram is used to specify that the new memory
region that is being created needs to come from the free memory pool
-- this is done by carving out the memory region from the free
memory. The name is a bit confusing though, as other allocated memory
regions, like boot-services code and data are also part of the RAM
memory. Rename the variable to overlap_conventional to highlight the
fact that it is the free/conventional memory that is being referred to
in this context.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/efi_loader.h
lib/efi_loader/efi_memory.c