iPXE
|
EFI service binding. More...
#include <string.h>
#include <errno.h>
#include <ipxe/efi/efi.h>
#include <ipxe/efi/efi_service.h>
#include <ipxe/efi/Protocol/ServiceBinding.h>
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
int | efi_service_add (EFI_HANDLE service, EFI_GUID *binding, EFI_HANDLE *handle) |
Add service to child handle. More... | |
int | efi_service_del (EFI_HANDLE service, EFI_GUID *binding, EFI_HANDLE handle) |
Remove service from child handle. More... | |
EFI service binding.
Definition in file efi_service.c.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
int efi_service_add | ( | EFI_HANDLE | service, |
EFI_GUID * | binding, | ||
EFI_HANDLE * | handle | ||
) |
Add service to child handle.
service | Service binding handle |
binding | Service binding protocol GUID |
handle | Handle on which to install child |
rc | Return status code |
Definition at line 46 of file efi_service.c.
References EFI_SYSTEM_TABLE::BootServices, EFI_BOOT_SERVICES::CloseProtocol, DBGC, EEFI, efi_guid_ntoa(), efi_handle_name(), efi_image_handle, EFI_OPEN_PROTOCOL_GET_PROTOCOL, efi_systab, handle, EFI_BOOT_SERVICES::OpenProtocol, rc, strerror(), and u.
Referenced by mnpnet_start().
int efi_service_del | ( | EFI_HANDLE | service, |
EFI_GUID * | binding, | ||
EFI_HANDLE | handle | ||
) |
Remove service from child handle.
service | Service binding handle |
binding | Service binding protocol GUID |
handle | Child handle |
rc | Return status code |
Definition at line 96 of file efi_service.c.
References EFI_SYSTEM_TABLE::BootServices, EFI_BOOT_SERVICES::CloseProtocol, DBGC, EEFI, efi_guid_ntoa(), efi_handle_name(), efi_image_handle, EFI_OPEN_PROTOCOL_GET_PROTOCOL, efi_systab, handle, EFI_BOOT_SERVICES::OpenProtocol, rc, strerror(), and u.
Referenced by mnpnet_start(), and mnpnet_stop().