mirror of
https://github.com/ipxe/ipxe
synced 2025-12-17 10:01:03 +03:00
[efi] Allow for allocating EFI devices from arbitrary handles
Split out the code that allocates our internal struct efi_device representations, to allow for the creation of temporary MNP devices in order to download the autoexec.ipxe script. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -86,6 +86,8 @@ static inline void * efidev_get_drvdata ( struct efi_device *efidev ) {
|
||||
return efidev->priv;
|
||||
}
|
||||
|
||||
extern struct efi_device * efidev_alloc ( EFI_HANDLE device );
|
||||
extern void efidev_free ( struct efi_device *efidev );
|
||||
extern struct efi_device * efidev_parent ( struct device *dev );
|
||||
extern int efi_driver_install ( void );
|
||||
extern void efi_driver_uninstall ( void );
|
||||
|
||||
Reference in New Issue
Block a user