efi_loader: use EfiBootServicesData for device path
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 17 Aug 2021 13:15:23 +0000 (15:15 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 17 Aug 2021 15:24:08 +0000 (17:24 +0200)
commit426a15893f16c5f640bf8380b6a9086906e2f659
tree0cbdb3710b5534dee1333eca68adb843e8aa8caa
parent49d225e7bf3a26adfe6093978c04e454c82bd955
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: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/efi_device_path.c