u-boot-brain/lib/efi_loader
Heinrich Schuchardt 04298686a4 efi_loader: return NULL from device path functions
For the construction of device paths we need to call the
AllocatePool service. We should not ignore if it fails due to an
out of memory situation.

This patch changes the device path functions to return NULL if
the memory allocation fails.

Additional patches will be needed to fix the callers.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
2018-01-22 23:09:13 +01:00
..
.gitignore lib: gitignore *.elf and *.so generated by efi_loader 2017-01-09 10:30:24 -05:00
efi_bootmgr.c efi_loader: add bootmgr 2017-09-20 11:08:01 +02:00
efi_boottime.c efi_loader: consistently use efi_handle_t for handles 2018-01-22 23:09:13 +01:00
efi_console.c efi_loader: consistently use efi_handle_t for handles 2018-01-22 23:09:13 +01:00
efi_device_path_to_text.c efi_loader: text output for device path end node 2018-01-22 23:09:12 +01:00
efi_device_path.c efi_loader: return NULL from device path functions 2018-01-22 23:09:13 +01:00
efi_disk.c efi_loader: Setup logical_partition media information 2017-12-19 07:57:02 -05:00
efi_file.c efi_loader: add file/filesys support 2017-09-20 10:43:54 +02:00
efi_gop.c efi_loader: helper function to add EFI object to list 2017-12-01 13:41:01 +01:00
efi_image_loader.c efi_loader: use correct format string for unsigned long 2018-01-22 23:09:12 +01:00
efi_memory.c efi_loader: add comments to memory functions 2018-01-22 23:09:12 +01:00
efi_net.c efi_loader: helper function to add EFI object to list 2017-12-01 13:41:01 +01:00
efi_runtime.c efi_loader: efi variable support 2017-09-20 11:00:57 +02:00
efi_smbios.c smbios: Expose in efi_loader as table 2016-10-19 09:01:52 +02:00
efi_variable.c efi_loader: print GUIDs 2017-09-20 11:10:42 +02:00
efi_watchdog.c efi_loader: implement SetWatchdogTimer 2017-12-01 13:22:55 +01:00
helloworld.c efi_loader: helloworld.c: Explicitly use .rodata for loaded_image_guid 2017-12-16 22:51:19 +01:00
Kconfig x86: Enable EFI loader support 2016-11-14 23:24:04 +01:00
Makefile efi_loader helloworld.efi: Fix building with -Os 2017-12-01 22:31:00 +01:00