efi_loader: support booting semihosting file
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 12 May 2023 18:18:10 +0000 (20:18 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 13 May 2023 09:09:51 +0000 (11:09 +0200)
commit01c528118d1fd9bdfaad57ca803094d1b697401d
tree5bdb3073d48863f668d8817c621c54334632df13
parent31eda3f55ce788e1c885f38c3afad6f4db60f13e
efi_loader: support booting semihosting file

Executing an EFI binary fails for files loaded via semihosting.

Construct a dummy device path for EFI binaries loaded via semihosting.

A future complete solution may include the creation of a handle with a
simple file system protocol.

Reported-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/efi_device_path.c