]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHostInterfaceLib.c
EmulatorPkg/RedfishHostInterface: Add NULL function
[mirror_edk2.git] / 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