RedfishPkg: add Component Name protocols to RedfishConfigHandler driver

Currently there is no description for RedfishConfigHandler driver.
This leads to <null string> in the "DRIVER NAME" column of a `drivers`
command for example.

Cc: Nickle Wang <nicklew@nvidia.com>
Cc: Igor Kulchytskyy <igork@ami.com>
Signed-off-by: Mike Maslenkin <mike.maslenkin@gmail.com>
Reviewed-by: Abner Chang <abner.chang@amd.com>
This commit is contained in:
Mike Maslenkin
2023-11-27 02:46:38 +03:00
committed by mergify[bot]
parent a87e8505b1
commit 8b59cb79fa
4 changed files with 230 additions and 3 deletions

View File

@@ -601,11 +601,17 @@ RedfishConfigHandlerDriverEntryPoint (
//
// Install UEFI Driver Model protocol(s).
//
Status = EfiLibInstallDriverBinding (
Status = EfiLibInstallAllDriverProtocols2 (
ImageHandle,
SystemTable,
&gRedfishConfigDriverBinding,
ImageHandle
ImageHandle,
&gRedfishConfigHandlerComponentName,
&gRedfishConfigHandlerComponentName2,
NULL,
NULL,
NULL,
NULL
);
if (EFI_ERROR (Status)) {
gBS->CloseEvent (gEndOfDxeEvent);