~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/ipxe/src/include/ipxe/efi/efi_utils.h

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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_OR_UBDL );
 
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 size_t efi_devpath_len ( EFI_DEVICE_PATH_PROTOCOL *path );
 
19
extern int efi_locate_device ( EFI_HANDLE device, EFI_GUID *protocol,
 
20
                               EFI_HANDLE *parent );
 
21
extern int efi_child_add ( EFI_HANDLE parent, EFI_HANDLE child );
 
22
extern void efi_child_del ( EFI_HANDLE parent, EFI_HANDLE child );
 
23
extern void efi_device_info ( EFI_HANDLE device, const char *prefix,
 
24
                              struct device *dev );
 
25
 
 
26
#endif /* _IPXE_EFI_UTILS_H */