Skip to content

[Feature]: [New test coverage] ReadKeyStrokeEx() check for KeyData.KeyState for EFI_NOT_READY return #258

@edhay

Description

@edhay

Feature Overview

Reference: https://mantis.uefi.org/mantis/view.php?id=1865

According to the latest spec, in case of SimpleTextInputEx Protocol, there is a support to return
KeyData.KeyState values
even if the key stroke information is not available.

This is possible on through firmware returning EFI_NOT_READY

As given in the spec:
EFI_NOT_READY : There was no keystroke data available.. Current KeyData.KeyState values are exposed.

This case needs to be covered in edk2-test ReadKeyStrokeExFunction

This is first mentioned in UEFI version v2.7B

Solution Overview

In the case where EFI_NOT_READY is returned, verify that KeyData.KeyState values are exposed and contain valid values.

Alternatives Considered

No response

What are impacted?

Test Coverage

Urgency

Low

Are you going to implement the feature request?

I will implement the feature

Do you need maintainer feedback?

Maintainer feedback requested

Anything else?

None

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions