EmulatorPkg: Add stub to read redfish host interface serial number

Signed-off-by: Thejaswani Putta <tputta@nvidia.com>
This commit is contained in:
Thejaswani Putta 2025-04-01 17:44:40 -07:00 committed by mergify[bot]
parent 4a055eb486
commit 213973e9e5

View file

@ -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;
}