The common code of EDKII Redfish Configuration Handler driver.\r
\r
(C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR>\r
+ Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.\r
\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
\r
#include "RedfishConfigHandlerCommon.h"\r
\r
-REDFISH_CONFIG_DRIVER_DATA gRedfishConfigData; // Only one Redfish service supproted\r
+REDFISH_CONFIG_DRIVER_DATA gRedfishConfigData; // Only one Redfish service supported\r
// on platform for the BIOS\r
// Redfish configuration.\r
EFI_EVENT gEndOfDxeEvent = NULL;\r
\r
Status = gCredential->StopService (gCredential, ServiceStopTypeSecureBootDisabled);\r
if (EFI_ERROR (Status) && (Status != EFI_UNSUPPORTED)) {\r
- DEBUG ((DEBUG_ERROR, "Redfish credential protocol faied to stop service on EndOfDxe: %r", Status));\r
+ DEBUG ((DEBUG_ERROR, "Redfish credential protocol failed to stop service on EndOfDxe: %r", Status));\r
}\r
\r
//\r
\r
Status = gCredential->StopService (gCredential, ServiceStopTypeExitBootService);\r
if (EFI_ERROR (Status) && (Status != EFI_UNSUPPORTED)) {\r
- DEBUG ((DEBUG_ERROR, "Redfish credential protocol faied to stop service on ExitBootService: %r", Status));\r
+ DEBUG ((DEBUG_ERROR, "Redfish credential protocol failed to stop service on ExitBootService: %r", Status));\r
}\r
}\r
\r
UINTN NumberOfHandles;\r
EDKII_REDFISH_CONFIG_HANDLER_PROTOCOL *ConfigHandler;\r
UINTN Index;\r
- UINT32 Id;\r
+ UINT32 *Id;\r
\r
Status = gBS->LocateHandleBuffer (\r
ByProtocol,\r
Status = ConfigHandler->Init (ConfigHandler, &gRedfishConfigData.RedfishServiceInfo);\r
if (EFI_ERROR (Status) && (Status != EFI_ALREADY_STARTED)) {\r
DEBUG ((DEBUG_ERROR, "ERROR: Failed to init Redfish config handler %p.\n", ConfigHandler));\r
+ continue;\r
}\r
\r
//\r
#\r
# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>\r
# (C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR>\r
+# Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.\r
#\r
# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
gEfiEndOfDxeEventGroupGuid ## CONSUMES ## Event\r
\r
[Depex]\r
- TRUE\r
-\r
+ gEdkIIRedfishCredentialProtocolGuid\r