diff options
author | Thejaswani Putta <tputta@nvidia.com> | 2025-04-01 17:44:40 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-04-02 03:32:19 +0000 |
commit | 213973e9e5ab361f77fe136a810053244a97f018 (patch) | |
tree | a8ccf2e3d24ff38f5eb04357985b6b6f3f6a116d /EmulatorPkg | |
parent | 4a055eb4863cee8fa0cba830b2865a826e45288f (diff) | |
download | edk2-master.zip edk2-master.tar.gz edk2-master.tar.bz2 |
Signed-off-by: Thejaswani Putta <tputta@nvidia.com>
Diffstat (limited to 'EmulatorPkg')
-rw-r--r-- | EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHostInterfaceLib.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHostInterfaceLib.c b/EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHostInterfaceLib.c index 71b3dfc..2fec935 100644 --- a/EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHostInterfaceLib.c +++ b/EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHostInterfaceLib.c @@ -4,6 +4,7 @@ Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
(C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>
Copyright (C) 2022 Advanced Micro Devices, Inc. All rights reserved.<BR>
+ Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
@@ -566,3 +567,20 @@ RedfishPlatformHostInterfaceNotification ( {
return EFI_UNSUPPORTED;
}
+
+/**
+ Get USB device serial number.
+
+ @param[out] SerialNumber Pointer to retrieve complete serial number.
+ It is the responsibility of the caller to free the allocated
+ memory for serial number.
+ @retval EFI_SUCCESS Serial number is returned.
+ @retval Others Failed to get the serial number
+**/
+EFI_STATUS
+RedfishPlatformHostInterfaceSerialNumber (
+ OUT CHAR8 **SerialNumber
+ )
+{
+ return EFI_UNSUPPORTED;
+}
|