Feature Overview
This is the coverage for the ECR ticket: https://mantis.uefi.org/mantis/view.php?id=1866
GetInformation() of Adapter Information Protocol should have a provision for IHV to return no data
Specification was updated for GetInformation() to return EFI_NOT_FOUND if
Information is not available for the requested (supported) information type
typedef
EFI_STATUS
(EFIAPI *EFI_ADAPTER_INFO_GET_INFO) (
IN EFI_ADAPTER_INFORMATION_PROTOCOL *This,
IN EFI_GUID *InformationType,
OUT VOID **InformationBlock,
OUT UINTN *InformationBlockSize
);
A new test may be added to attempt to test this feature.
Solution Overview
New scenario: call GetInformation () with all known InformationTypes in a loop,
the return status should be either
EFI_NOT_FOUND or EFI_SUCCESS
In case of EFI_NOT_FOUND, InformationBlockSize must be set to 0. A check must be added for the same.
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