audk/OvmfPkg/PlatformDxe
Dimitrije Pavlov aefcc91805 OvmfPkg/PlatformDxe: Handle all requests in ExtractConfig and RouteConfig
Per the UEFI specification, if the Request argument in
EFI_HII_CONFIG_ACCESS_PROTOCOL.ExtractConfig() is NULL or does not contain
any request elements, the implementation should return all of the settings
being abstracted for the particular ConfigHdr reference.

The current implementation returns EFI_INVALID_PARAMETER if Request is
NULL or does not contain any request elements. Instead, construct
a new ConfigRequest to handle these cases per the specification.

In addition, per the UEFI specification, if the Configuration argument in
EFI_HII_CONFIG_ACCESS_PROTOCOL.RouteConfig() has a ConfigHdr that
specifies a non-existing target, the implementation should return
EFI_NOT_FOUND.

The current implementation returns EFI_INVALID_PARAMETER if Configuration
has a non-existing target in ConfigHdr. Instead, perform a check and
return EFI_NOT_FOUND in this case.

Signed-off-by: Dimitrije Pavlov <Dimitrije.Pavlov@arm.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
2022-09-05 13:52:51 +00:00
..
Platform.c OvmfPkg/PlatformDxe: Handle all requests in ExtractConfig and RouteConfig 2022-09-05 13:52:51 +00:00
Platform.h OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Platform.inf OvmfPkg: add PcdVideoResolutionSource 2022-01-29 17:04:21 +00:00
Platform.uni OvmfPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:19 -07:00
PlatformConfig.c OvmfPkg/PlatformDxe: Handle all requests in ExtractConfig and RouteConfig 2022-09-05 13:52:51 +00:00
PlatformConfig.h OvmfPkg/PlatformDxe: Handle all requests in ExtractConfig and RouteConfig 2022-09-05 13:52:51 +00:00
PlatformForms.vfr OvmfPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:19 -07:00