freebsd-skq/stand/efi/libefi
Marcin Wojtas 8157763ec7 Allow reading the UEFI variable size
When loading bigger variables form UEFI it is necessary to know their
size beforehand, so that an appropriate amount of memory can be
allocated. The easiest way to do this is to try to read the variable
with buffer size equal 0, expecting EFI_BUFFER_TOO_SMALL error to be
returned. Allow such possible approach in efi_getenv routine.

Extracted from a bigger patch as suggested by imp.

Submitted by: Kornel Duleba <mindal@semihalf.com>
Obtained from: Semihalf
Sponsored by: Stormshield
2019-02-08 14:56:28 +00:00
..
delay.c Simplify the EFI delay() function by calling BS->Stall() 2018-10-26 21:57:22 +00:00
devicename.c Remove d_type from devdesc. It's not needed as we can fetch it from 2018-03-12 21:39:59 +00:00
devpath.c Implement efi_devpath_length 2018-07-23 20:36:50 +00:00
efi_console.c loader.efi: fix EFI getchar() for multiple consoles 2018-11-30 08:42:14 +00:00
efi_driver_utils.c
efichar.c utf8_to_ucs2() should check for malloc failure 2018-01-16 20:35:54 +00:00
efienv.c Allow reading the UEFI variable size 2019-02-08 14:56:28 +00:00
efinet.c efinet: Do not return only if ReceiveFilter fails 2018-03-30 16:37:08 +00:00
efipart.c Implement efiblk_get_pdinfo_by_device_path 2018-07-23 20:36:54 +00:00
efizfs.c Provide a more direct interface to tell ZFS what the preferred handle 2018-06-15 19:07:26 +00:00
env.c Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
errno.c
handles.c
libefi.c
Makefile MK_ZFS -> {MK_ZFS|MK_LOADER_ZFS}, this is so we can diable userland / kernel 2019-01-05 22:45:20 +00:00
Makefile.depend
time_event.c
time.c
wchar.c Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00