Next: , Up: libefi


5.1.1 Protocol Interface Related Functions

TODO: overall description

— Function: efi_status_t efi_install_protocol_interface (efi_handle_t *handle, efi_guid_t *guid, efi_interface_type_t type, void *interface)

Attach a protocol interface to handle *handle. The protocol is identified by guid. If *handle is NULL, a new handle will be allocated and returned.

— Function: efi_status_t efi_uninstall_protocol_interface (efi_handle_t handle, efi_guid_t *guid, void *interface)

Uninstall a protocol instance. If this was the last protocol associated with the handle, the handle will be destroyed.