diff options
author | Paul Barker <paul.barker@sancloud.com> | 2022-10-05 13:18:35 +0100 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-10-06 22:54:57 +0200 |
commit | 39434a9b25dcfc0f6b5aba59e9b6d691468891a4 (patch) | |
tree | fede2426e60a3fedf18fe4f7bc4acafa67e26511 /include | |
parent | 932f72d68efa4f38846f90f258e07f7bb1a2cd70 (diff) | |
download | u-boot-39434a9b25dcfc0f6b5aba59e9b6d691468891a4.zip u-boot-39434a9b25dcfc0f6b5aba59e9b6d691468891a4.tar.gz u-boot-39434a9b25dcfc0f6b5aba59e9b6d691468891a4.tar.bz2 |
efi: Add string conversion helper
Signed-off-by: Paul Barker <paul.barker@sancloud.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/efi_loader.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h index ad01395..8c45e3e 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -1014,9 +1014,10 @@ struct pkcs7_message *efi_parse_pkcs7_header(const void *buf, /* runtime implementation of memcpy() */ void efi_memcpy_runtime(void *dest, const void *src, size_t n); -/* commonly used helper function */ +/* commonly used helper functions */ u16 *efi_create_indexed_name(u16 *buffer, size_t buffer_size, const char *name, unsigned int index); +efi_string_t efi_convert_string(const char *str); extern const struct efi_firmware_management_protocol efi_fmp_fit; extern const struct efi_firmware_management_protocol efi_fmp_raw; |