]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: Change efi_dp_from_mem() to use size
authorMoritz Fischer <moritzf@google.com>
Mon, 4 Nov 2024 01:49:34 +0000 (01:49 +0000)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 9 Nov 2024 08:56:45 +0000 (09:56 +0100)
commit0fd16c31cf718ebf7885b9f81d015b91d7f5e8a8
tree8cf661ea88374da1652467a135fe943358a0ebc4
parentac425307f7cf23345f1c33759fbf34662c112276
efi_loader: Change efi_dp_from_mem() to use size

All call sites are using size rather than end addresses,
so instead - as previously done - calculating an end address
everywhere, just modify the function to use size and internally
calculate the end address

Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Cc: Patrick Wildt <pwildt@google.com>
Signed-off-by: Moritz Fischer <moritzf@google.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/efi_loader.h
lib/efi_loader/efi_bootbin.c
lib/efi_loader/efi_device_path.c