diff options
author | Paul Barker | 2022-10-05 13:18:35 +0100 |
---|---|---|
committer | Heinrich Schuchardt | 2022-10-06 22:54:57 +0200 |
commit | 39434a9b25dcfc0f6b5aba59e9b6d691468891a4 (patch) | |
tree | fede2426e60a3fedf18fe4f7bc4acafa67e26511 /include/efi_loader.h | |
parent | 932f72d68efa4f38846f90f258e07f7bb1a2cd70 (diff) |
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/efi_loader.h')
-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 ad01395b39c..8c45e3ee259 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; |