mirror of
https://github.com/acidanthera/audk.git
synced 2025-08-20 17:18:11 +02:00
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4144 This Library is NULL library of TraceHubDebugSysTLib. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Cc: Guo Gua <gua.guo@intel.com> Cc: Chan Laura <laura.chan@intel.com> Cc: Prakashan Krishnadas Veliyathuparambil <krishnadas.veliyathuparambil.prakashan@intel.com> Cc: K N Karthik <karthik.k.n@intel.com> Signed-off-by: Guo Gua <gua.guo@intel.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: K N Karthik <karthik.k.n@intel.com> Reviewed-by: Chan Laura <laura.chan@intel.com> Acked-by: Liming Gao <gaoliming@byosoft.com.cn>
77 lines
2.0 KiB
C
77 lines
2.0 KiB
C
/** @file
|
|
Null library of TraceHubDebugSysTLib.
|
|
|
|
Copyright (c) 2023, Intel Corporation. All rights reserved.<BR>
|
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
**/
|
|
|
|
#include <Base.h>
|
|
#include <Library/TraceHubDebugSysTLib.h>
|
|
|
|
/**
|
|
Write debug string to specified Trace Hub MMIO address.
|
|
|
|
@param[in] SeverityType Severity type of input message.
|
|
@param[in] Buffer A pointer to the data buffer.
|
|
@param[in] NumberOfBytes The size of data buffer.
|
|
|
|
@retval RETURN_SUCCESS Data was written to Trace Hub.
|
|
@retval Other Failed to output Trace Hub message.
|
|
**/
|
|
RETURN_STATUS
|
|
EFIAPI
|
|
TraceHubSysTDebugWrite (
|
|
IN TRACE_HUB_SEVERITY_TYPE SeverityType,
|
|
IN UINT8 *Buffer,
|
|
IN UINTN NumberOfBytes
|
|
)
|
|
{
|
|
return RETURN_UNSUPPORTED;
|
|
}
|
|
|
|
/**
|
|
Write catalog status code message to specified Trace Hub MMIO address.
|
|
|
|
@param[in] SeverityType Severity type of input message.
|
|
@param[in] Id Catalog ID.
|
|
@param[in] Guid Driver Guid.
|
|
|
|
@retval RETURN_SUCCESS Data was written to Trace Hub.
|
|
@retval Other Failed to output Trace Hub message.
|
|
**/
|
|
RETURN_STATUS
|
|
EFIAPI
|
|
TraceHubSysTWriteCataLog64StatusCode (
|
|
IN TRACE_HUB_SEVERITY_TYPE SeverityType,
|
|
IN UINT64 Id,
|
|
IN GUID *Guid
|
|
)
|
|
{
|
|
return RETURN_UNSUPPORTED;
|
|
}
|
|
|
|
/**
|
|
Write catalog message to specified Trace Hub MMIO address.
|
|
|
|
@param[in] SeverityType Severity type of input message.
|
|
@param[in] Id Catalog ID.
|
|
@param[in] NumberOfParams Number of entries in argument list.
|
|
@param[in] ... Catalog message parameters.
|
|
|
|
@retval RETURN_SUCCESS Data was written to Trace Hub.
|
|
@retval Other Failed to output Trace Hub message.
|
|
**/
|
|
RETURN_STATUS
|
|
EFIAPI
|
|
TraceHubSysTWriteCataLog64 (
|
|
IN TRACE_HUB_SEVERITY_TYPE SeverityType,
|
|
IN UINT64 Id,
|
|
IN UINTN NumberOfParams,
|
|
...
|
|
)
|
|
{
|
|
return RETURN_UNSUPPORTED;
|
|
}
|