efi_loader: move dp_alloc() to efi_alloc()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 19 Mar 2023 08:20:22 +0000 (09:20 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 25 Mar 2023 10:06:34 +0000 (11:06 +0100)
commitf606fab8dada798da801684bd6f53ddfb50494e2
treefbb636d85591b77b517acaebf0a13eaeb69326cb
parent92b931b8ef3b08068f8911ecfd7482b3c4660320
efi_loader: move dp_alloc() to efi_alloc()

The incumbent function efi_alloc() is unused.

Replace dp_alloc() by a new function efi_alloc() that we can use more
widely.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
include/efi_loader.h
lib/efi_loader/efi_device_path.c
lib/efi_loader/efi_memory.c