efi_status_t (EFIAPI *setpos)(struct efi_file_handle *file,
efi_uintn_t pos);
efi_status_t (EFIAPI *getinfo)(struct efi_file_handle *file,
- efi_guid_t *info_type, efi_uintn_t *buffer_size,
+ const efi_guid_t *info_type, efi_uintn_t *buffer_size,
void *buffer);
efi_status_t (EFIAPI *setinfo)(struct efi_file_handle *file,
- efi_guid_t *info_type, efi_uintn_t buffer_size,
+ const efi_guid_t *info_type, efi_uintn_t buffer_size,
void *buffer);
efi_status_t (EFIAPI *flush)(struct efi_file_handle *file);
};
}
static efi_status_t EFIAPI efi_file_getinfo(struct efi_file_handle *file,
- efi_guid_t *info_type,
+ const efi_guid_t *info_type,
efi_uintn_t *buffer_size,
void *buffer)
{
}
static efi_status_t EFIAPI efi_file_setinfo(struct efi_file_handle *file,
- efi_guid_t *info_type,
+ const efi_guid_t *info_type,
efi_uintn_t buffer_size,
void *buffer)
{