freebsd-dev/stand/efi
Toomas Soome f2b3bf5c4d libefi: add efi_devpath_next_instance()
UEFI device path may be path to one device, or concatenated list of instances
to different devices (textually represented as comma separated list).

Provide generic function to get next instance from device path.
Returns next instance or end node.

The use case is like:

EFI_DEVICE_PATH *node = (EFI_DEVICE_PATH *)buf;
while (!IsDevicePathEnd(node)) {
	process(node);
	node = efi_devpath_next_instance(node);
}

Where buf is pointing to either single device path or
concatenated list of device paths (such as from ConIn or ConOut).

Reviewers: imp
Differential Revision: https://reviews.freebsd.org/D40081
2023-05-13 15:16:10 +03:00
..
boot1 stand/efi: Retire i386 support 2023-05-11 14:06:03 -06:00
fdt Remove "All Rights Reserved" from Foundation copyrights 2022-06-30 10:49:09 -04:00
gptboot gptboot.efi.8: Fix a typo 2023-04-13 13:02:59 +02:00
include libefi: add efi_devpath_next_instance() 2023-05-13 15:16:10 +03:00
libefi libefi: add efi_devpath_next_instance() 2023-05-13 15:16:10 +03:00
loader spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
loader_4th loader: install help files only once 2023-05-09 20:18:19 -04:00
loader_lua loader: install help files only once 2023-05-09 20:18:19 -04:00
loader_simp Create a loader for each interpreter for x86 BIOS and all EFI 2018-08-14 18:44:41 +00:00
Makefile stand: properly declare subdir deps or .WAIT, do parallel build 2020-12-31 11:15:45 -06:00
Makefile.inc stand/efi: Retire i386 support 2023-05-11 14:06:03 -06:00