|
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_SERVICE_BINDING_PROTOCOL::CreateChild, DBGC, EEFI, efi_guid_ntoa(), efi_handle_name(), efi_open, handle, rc, and strerror().
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 83 of file efi_service.c.
References DBGC, _EFI_SERVICE_BINDING_PROTOCOL::DestroyChild, EEFI, efi_guid_ntoa(), efi_handle_name(), efi_open, handle, rc, and strerror().
Referenced by mnpnet_start(), and mnpnet_stop().
1.8.15