Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / ipxe / src / include / ipxe / efi / efi_utils.h
1 #ifndef _IPXE_EFI_UTILS_H
2 #define _IPXE_EFI_UTILS_H
3
4 /** @file
5  *
6  * EFI utilities
7  */
8
9 FILE_LICENCE ( GPL2_OR_LATER );
10
11 #include <ipxe/efi/efi.h>
12 #include <ipxe/efi/Protocol/DevicePath.h>
13
14 struct device;
15
16 extern EFI_DEVICE_PATH_PROTOCOL *
17 efi_devpath_end ( EFI_DEVICE_PATH_PROTOCOL *path );
18 extern int efi_locate_device ( EFI_HANDLE device, EFI_GUID *protocol,
19                                EFI_HANDLE *parent );
20 extern int efi_child_add ( EFI_HANDLE parent, EFI_HANDLE child );
21 extern void efi_child_del ( EFI_HANDLE parent, EFI_HANDLE child );
22 extern void efi_device_info ( EFI_HANDLE device, const char *prefix,
23                               struct device *dev );
24
25 #endif /* _IPXE_EFI_UTILS_H */