diff options
author | Michael Brown | 2020-10-16 15:12:56 +0200 |
---|---|---|
committer | Michael Brown | 2020-10-16 16:36:37 +0200 |
commit | 2bf0fd39cafcfaf9a2a66f1f22bbe36640a72b6c (patch) | |
tree | 9ccf01f8b1b9606204fc77e925983b69da20e7c4 /src/include/ipxe/efi/efi_path.h | |
parent | [efi] Provide EFI_INTF_OP for EFI-only interface operations (diff) | |
download | ipxe-2bf0fd39cafcfaf9a2a66f1f22bbe36640a72b6c.tar.gz ipxe-2bf0fd39cafcfaf9a2a66f1f22bbe36640a72b6c.tar.xz ipxe-2bf0fd39cafcfaf9a2a66f1f22bbe36640a72b6c.zip |
[efi] Split device path functions out to efi_path.c
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/efi/efi_path.h')
-rw-r--r-- | src/include/ipxe/efi/efi_path.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/include/ipxe/efi/efi_path.h b/src/include/ipxe/efi/efi_path.h new file mode 100644 index 00000000..f8b95fd2 --- /dev/null +++ b/src/include/ipxe/efi/efi_path.h @@ -0,0 +1,19 @@ +#ifndef _IPXE_EFI_PATH_H +#define _IPXE_EFI_PATH_H + +/** @file + * + * EFI device paths + * + */ + +FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); + +#include <ipxe/efi/efi.h> +#include <ipxe/efi/Protocol/DevicePath.h> + +extern EFI_DEVICE_PATH_PROTOCOL * +efi_path_end ( EFI_DEVICE_PATH_PROTOCOL *path ); +extern size_t efi_path_len ( EFI_DEVICE_PATH_PROTOCOL *path ); + +#endif /* _IPXE_EFI_PATH_H */ |