54 if ( (
rc =
efi_open ( service, binding, &sb ) ) != 0 ) {
55 DBGC ( service,
"EFISVC %s cannot open %s binding: %s\n",
64 DBGC ( service,
"EFISVC %s could not create %s child: %s\n",
70 DBGC ( service,
"EFISVC %s created %s child ",
90 DBGC ( service,
"EFISVC %s removing %s child ",
95 if ( (
rc =
efi_open ( service, binding, &sb ) ) != 0 ) {
96 DBGC ( service,
"EFISVC %s cannot open %s binding: %s\n",
105 DBGC ( service,
"EFISVC %s could not destroy %s child ",
107 DBGC ( service,
"%s: %s\n",
UEFI Service Binding Protocol is defined in UEFI specification.
struct _EFI_SERVICE_BINDING_PROTOCOL EFI_SERVICE_BINDING_PROTOCOL
Forward reference for pure ANSI compatability.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
GUID EFI_GUID
128-bit buffer containing a unique identifier value.
struct arbelprm_rc_send_wqe rc
const char * efi_handle_name(EFI_HANDLE handle)
Get name of an EFI handle.
const char * efi_guid_ntoa(CONST EFI_GUID *guid)
Convert GUID to a printable string.
int efi_service_add(EFI_HANDLE service, EFI_GUID *binding, EFI_HANDLE *handle)
Add service to child handle.
int efi_service_del(EFI_HANDLE service, EFI_GUID *binding, EFI_HANDLE handle)
Remove service from child handle.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
#define efi_open(handle, protocol, interface)
Open protocol for ephemeral use.
#define EEFI(efirc)
Convert an EFI status code to an iPXE status code.
char * strerror(int errno)
Retrieve string representation of error number.
EFI_SERVICE_BINDING_CREATE_CHILD CreateChild
EFI_SERVICE_BINDING_DESTROY_CHILD DestroyChild