mirror of
https://github.com/ipxe/ipxe
synced 2025-12-30 04:28:12 +03:00
[efi] Generalise snpnet_dev_info() to efi_device_info()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -11,11 +11,15 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
#include <ipxe/efi/efi.h>
|
||||
#include <ipxe/efi/Protocol/DevicePath.h>
|
||||
|
||||
struct device;
|
||||
|
||||
extern EFI_DEVICE_PATH_PROTOCOL *
|
||||
efi_devpath_end ( EFI_DEVICE_PATH_PROTOCOL *path );
|
||||
extern int efi_locate_device ( EFI_HANDLE device, EFI_GUID *protocol,
|
||||
EFI_HANDLE *parent );
|
||||
extern int efi_child_add ( EFI_HANDLE parent, EFI_HANDLE child );
|
||||
extern void efi_child_del ( EFI_HANDLE parent, EFI_HANDLE child );
|
||||
extern void efi_device_info ( EFI_HANDLE device, const char *prefix,
|
||||
struct device *dev );
|
||||
|
||||
#endif /* _IPXE_EFI_UTILS_H */
|
||||
|
||||
Reference in New Issue
Block a user