EFI driver vetoes.
Definition in file efi_veto.h.
Remove any vetoed drivers.
Definition at line 615 of file efi_veto.c.
615 {
621 unsigned int i;
625
626
633 return;
634 }
635
636
640
641
642 for ( i = 0 ; i <
count ; i++ ) {
645 &veto ) ) != 0 ) {
646 DBGC (
driver,
"EFIVETO %s could not determine "
647 "vetoing: %s\n",
649 continue;
650 }
651 if ( ! veto.driver )
652 continue;
654 DBGC (
driver,
"EFIVETO %s could not veto: %s\n",
656 }
657 }
658
659
661
662
664}
UINT64 UINTN
Unsigned value of native width.
#define NULL
NULL pointer (VOID *)
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
@ ByProtocol
Retrieve the set of handles from the handle database that support a specified protocol.
struct arbelprm_rc_send_wqe rc
const char * efi_handle_name(EFI_HANDLE handle)
Get name of an EFI handle.
EFI_GUID efi_driver_binding_protocol_guid
Driver binding protocol GUID.
static int efi_veto_driver(struct efi_veto *veto)
Veto an EFI driver.
static struct efi_veto_candidate efi_vetoes[]
Driver vetoes.
static int efi_veto_find(EFI_HANDLE driver, const char *manufacturer, struct efi_veto *veto)
Find driver veto, if any.
static unsigned int count
Number of entries.
#define EEFI(efirc)
Convert an EFI status code to an iPXE status code.
EFI_SYSTEM_TABLE * efi_systab
uint8_t manufacturer
Manufacturer string.
static void(* free)(struct refcnt *refcnt))
int fetch_string_setting_copy(struct settings *settings, const struct setting *setting, char **data)
Fetch value of string setting.
char * strerror(int errno)
Retrieve string representation of error number.
EFI_LOCATE_HANDLE_BUFFER LocateHandleBuffer
EFI_HANDLE driver
Driver binding handle.
References ByProtocol, count, DBGC, efi_veto::driver, EEFI, efi_driver_binding_protocol_guid, EFI_HANDLE, efi_handle_name(), efi_systab, efi_veto_driver(), efi_veto_find(), efi_vetoes, fetch_string_setting_copy(), free, EFI_BOOT_SERVICES::FreePool, EFI_BOOT_SERVICES::LocateHandleBuffer, manufacturer, NULL, rc, and strerror().
Referenced by efi_probe().