mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 13:43:28 +00:00
efi_loader: describe term_get_char()
Add a function description. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
parent
26a35023c4
commit
d3970e04e7
1 changed files with 8 additions and 0 deletions
|
@ -77,6 +77,14 @@ static struct simple_text_output_mode efi_con_mode = {
|
|||
.cursor_visible = 1,
|
||||
};
|
||||
|
||||
/**
|
||||
* term_get_char() - read a character from the console
|
||||
*
|
||||
* Wait for up to 100 ms to read a character from the console.
|
||||
*
|
||||
* @c: pointer to the buffer to receive the character
|
||||
* Return: 0 on success, 1 otherwise
|
||||
*/
|
||||
static int term_get_char(s32 *c)
|
||||
{
|
||||
u64 timeout;
|
||||
|
|
Loading…
Reference in a new issue