Changeset View
Changeset View
Standalone View
Standalone View
sys/boot/efi/libefi/devpath.c
Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Lines | if (textProtocol == NULL) | ||||
return (NULL); | return (NULL); | ||||
return (textProtocol->ConvertDevicePathToText(devpath, TRUE, TRUE)); | return (textProtocol->ConvertDevicePathToText(devpath, TRUE, TRUE)); | ||||
} | } | ||||
void | void | ||||
efi_free_devpath_name(CHAR16 *text) | efi_free_devpath_name(CHAR16 *text) | ||||
{ | { | ||||
BS->FreePool(text); | BS->FreePool(text); | ||||
} | } | ||||
EFI_DEVICE_PATH * | EFI_DEVICE_PATH * | ||||
efi_devpath_last_node(EFI_DEVICE_PATH *devpath) | efi_devpath_last_node(EFI_DEVICE_PATH *devpath) | ||||
{ | { | ||||
if (IsDevicePathEnd(devpath)) | if (IsDevicePathEnd(devpath)) | ||||
▲ Show 20 Lines • Show All 101 Lines • Show Last 20 Lines |