Commit 426a1589 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

efi_loader: use EfiBootServicesData for device path

dp_alloc() was using a constant from the wrong enum resulting in creating
device paths in EfiReservedMemory.
Signed-off-by: default avatarHeinrich Schuchardt <>
parent 49d225e7
......@@ -68,7 +68,7 @@ static void *dp_alloc(size_t sz)
void *buf;
if (efi_allocate_pool(EFI_ALLOCATE_ANY_PAGES, sz, &buf) !=
if (efi_allocate_pool(EFI_BOOT_SERVICES_DATA, sz, &buf) !=
debug("EFI: ERROR: out of memory in %s\n", __func__);
return NULL;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment