diff options
| author | Michael Brown | 2014-08-06 14:52:41 +0200 |
|---|---|---|
| committer | Michael Brown | 2014-08-06 15:27:45 +0200 |
| commit | 2bf428c2a9de75ee130d366f5139fc762106e220 (patch) | |
| tree | f4a5586bd1d7cc2f73049d81d79a1896de427b78 /src/include/ipxe/efi/efi_utils.h | |
| parent | [efi] Try various possible SNP receive filters (diff) | |
| download | ipxe-2bf428c2a9de75ee130d366f5139fc762106e220.tar.gz ipxe-2bf428c2a9de75ee130d366f5139fc762106e220.tar.xz ipxe-2bf428c2a9de75ee130d366f5139fc762106e220.zip | |
[efi] Move abstract device path and handle functions to efi_utils.c
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/efi/efi_utils.h')
| -rw-r--r-- | src/include/ipxe/efi/efi_utils.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/include/ipxe/efi/efi_utils.h b/src/include/ipxe/efi/efi_utils.h new file mode 100644 index 000000000..23972c7a3 --- /dev/null +++ b/src/include/ipxe/efi/efi_utils.h @@ -0,0 +1,19 @@ +#ifndef _IPXE_EFI_UTILS_H +#define _IPXE_EFI_UTILS_H + +/** @file + * + * EFI utilities + */ + +FILE_LICENCE ( GPL2_OR_LATER ); + +#include <ipxe/efi/efi.h> +#include <ipxe/efi/Protocol/DevicePath.h> + +extern EFI_DEVICE_PATH_PROTOCOL * +efi_devpath_end ( EFI_DEVICE_PATH_PROTOCOL *path ); +extern int efi_child_add ( EFI_HANDLE parent, EFI_HANDLE child ); +extern void efi_child_del ( EFI_HANDLE parent, EFI_HANDLE child ); + +#endif /* _IPXE_EFI_UTILS_H */ |
