diff options
author | Arvind Sankar <[email protected]> | 2020-05-18 15:06:55 -0400 |
---|---|---|
committer | Ard Biesheuvel <[email protected]> | 2020-05-19 09:23:22 +0200 |
commit | fd0528a24958b7e8d55669cf50749776308d4c5a (patch) | |
tree | aad5868e4ab5fa6ba23105c60a938f8ff2d6a690 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cb8c90a08c7f2f761919190093fca0611c1cece4 (diff) |
efi/libstub: Buffer output of efi_puts
Use a buffer to convert the string to UTF-16. This will reduce the
number of firmware calls required to print the string from one per
character to one per string in most cases.
Cast the input char to unsigned char before converting to efi_char16_t
to avoid sign-extension in case there are any non-ASCII characters in
the input.
Signed-off-by: Arvind Sankar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions