mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
efi_selftest: refactor text input test
Move reusable utility functions to efi_selftest_util.c. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
committed by
Alexander Graf
parent
7d044886c9
commit
262ff411c2
@@ -76,6 +76,22 @@ void efi_st_exit_boot_services(void);
|
||||
void efi_st_printc(int color, const char *fmt, ...)
|
||||
__attribute__ ((format (__printf__, 2, 3)));
|
||||
|
||||
/**
|
||||
* efi_st_translate_char() - translate a unicode character to a string
|
||||
*
|
||||
* @code: unicode character
|
||||
* Return: string
|
||||
*/
|
||||
u16 *efi_st_translate_char(u16 code);
|
||||
|
||||
/**
|
||||
* efi_st_translate_code() - translate a scan code to a human readable string
|
||||
*
|
||||
* @code: unicode character
|
||||
* Return: string
|
||||
*/
|
||||
u16 *efi_st_translate_code(u16 code);
|
||||
|
||||
/*
|
||||
* Compare memory.
|
||||
* We cannot use lib/string.c due to different CFLAGS values.
|
||||
|
Reference in New Issue
Block a user