]> git.proxmox.com Git - mirror_edk2.git/commitdiff
EmulatorPkg/RedfishHostInterface: Add NULL function
authorAbner Chang <abner.chang@amd.com>
Mon, 19 Dec 2022 13:18:20 +0000 (21:18 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 20 Dec 2022 06:54:06 +0000 (06:54 +0000)
Add NULL function
RedfishPlatformHostInterfaceNotification that returns
EFI_UNSUPPORTED.

Signed-off-by: Abner Chang <abner.chang@amd.com>
Cc: Nickle Wang <nicklew@nvidia.com>
Cc: Igor Kulchytskyy <igork@ami.com>
Reviewed-by: Nickle Wang <nicklew@nvidia.com>
EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHostInterfaceLib.c

index 3f053307a6236739a04b07443944a8aa068ab430..4361bd4170e38dbc77b34dbd661fc34f0eba20ca 100644 (file)
@@ -3,6 +3,7 @@
 \r
   Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>\r
   (C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>\r
+  Copyright (C) 2022 Advanced Micro Devices, Inc. All rights reserved.<BR>\r
 \r
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
@@ -544,3 +545,26 @@ RedfishPlatformHostInterfaceConstructor (
 \r
   return EFI_SUCCESS;\r
 }\r
+\r
+/**\r
+  Get the EFI protocol GUID installed by platform library which\r
+  indicates the necessary information is ready for building\r
+  SMBIOS 42h record.\r
+\r
+  @param[out] InformationReadinessGuid  Pointer to retrive the protocol\r
+                                        GUID.\r
+\r
+  @retval EFI_SUCCESS          Notification is required for building up\r
+                               SMBIOS type 42h record.\r
+  @retval EFI_UNSUPPORTED      Notification is not required for building up\r
+                               SMBIOS type 42h record.\r
+  @retval EFI_ALREADY_STARTED  Platform host information is already ready.\r
+  @retval Others               Other errors.\r
+**/\r
+EFI_STATUS\r
+RedfishPlatformHostInterfaceNotification (\r
+  OUT EFI_GUID  **InformationReadinessGuid\r
+  )\r
+{\r
+  return EFI_UNSUPPORTED;\r
+}\r