/* @handle: handle of the loaded image @systable: system table  */
static int setup(const efi_handle_t img_handle, const struct efi_system_table *systable)
/* @handle: handle of the loaded image @systable: system table  */
static int setup(const efi_handle_t img_handle, const struct efi_system_table *systable)
{
	int ret;
	boottime = systable->boottime;
	ret = boottime->locate_protocol(&guid_device_path_utilities_protocol,
					NULL, (void **)&dpu);
	if (ret != EFI_SUCCESS) {
		dpu = NULL;
		efi_st_error(
			"Device path to text protocol is not available.\n");
		return EFI_ST_FAILURE;
	}
	return EFI_ST_SUCCESS;
}