loader.efi: efilib.h and libefi.c were left out of 350654
And this is second followup for 350654
This commit is contained in:
parent
135e17991c
commit
26f3f2dab8
@ -70,6 +70,7 @@ pdinfo_t *efiblk_get_pdinfo_by_handle(EFI_HANDLE h);
|
||||
pdinfo_t *efiblk_get_pdinfo_by_device_path(EFI_DEVICE_PATH *path);
|
||||
|
||||
void *efi_get_table(EFI_GUID *tbl);
|
||||
EFI_STATUS OpenProtocolByHandle(EFI_HANDLE, EFI_GUID *, void **);
|
||||
|
||||
int efi_getdev(void **vdev, const char *devspec, const char **path);
|
||||
char *efi_fmtdev(void *vdev);
|
||||
|
@ -50,3 +50,10 @@ efi_get_table(EFI_GUID *tbl)
|
||||
}
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
EFI_STATUS
|
||||
OpenProtocolByHandle(EFI_HANDLE handle, EFI_GUID *protocol, void **interface)
|
||||
{
|
||||
return (BS->OpenProtocol(handle, protocol, interface, IH, NULL,
|
||||
EFI_OPEN_PROTOCOL_BY_HANDLE_PROTOCOL));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user