2 * EFI application loader
4 * Copyright (c) 2017 Heinrich Schuchardt
6 * SPDX-License-Identifier: GPL-2.0+
10 #define _EFI_DRIVER_H 1
14 #include <efi_loader.h>
16 struct efi_driver_ops
{
17 const efi_guid_t
*protocol
;
18 const efi_guid_t
*child_protocol
;
19 int (*bind
)(efi_handle_t handle
, void *interface
);
23 * This structure adds internal fields to the driver binding protocol.
25 struct efi_driver_binding_extended_protocol
{
26 struct efi_driver_binding_protocol bp
;
27 const struct efi_driver_ops
*ops
;
30 #endif /* _EFI_DRIVER_H */