mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-15 17:28:15 +00:00
efi_loader: EFI_SIMPLE_TEXT_INPUT_PROTOCOL.Reset()
Implement the reset service of the EFI_SIMPLE_TEXT_INPUT_PROTOCOL. This should resolve the error reported by the SCT in Protocol/SimpleTextIn/BlackBoxTest/SimpleTextInBBTestFunction.c:193 Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
95147313a9
commit
4f18789770
1 changed files with 6 additions and 1 deletions
|
@ -381,7 +381,12 @@ static efi_status_t EFIAPI efi_cin_reset(
|
||||||
bool extended_verification)
|
bool extended_verification)
|
||||||
{
|
{
|
||||||
EFI_ENTRY("%p, %d", this, extended_verification);
|
EFI_ENTRY("%p, %d", this, extended_verification);
|
||||||
return EFI_EXIT(EFI_UNSUPPORTED);
|
|
||||||
|
/* Empty input buffer */
|
||||||
|
while (tstc())
|
||||||
|
getc();
|
||||||
|
|
||||||
|
return EFI_EXIT(EFI_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue