MdeModulePkg: Add TraceHubDebugSysTLib library
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4144 This Library provides API to dump Trace Hub message. Cc: Michael D Kinney <michael.d.kinney@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> Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> 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>
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
/** @file
|
||||
This header file declares functions that are not for common use.
|
||||
|
||||
Copyright (c) 2023, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
|
||||
#ifndef INTERNAL_TRACE_HUB_API_H_
|
||||
#define INTERNAL_TRACE_HUB_API_H_
|
||||
|
||||
/**
|
||||
Count the total number of Trace Hub debug instance in the system.
|
||||
|
||||
@retval UINT32 The total number of Trace Hub debug instance in the system.
|
||||
**/
|
||||
UINT32
|
||||
EFIAPI
|
||||
CountThDebugInstance (
|
||||
VOID
|
||||
);
|
||||
|
||||
/**
|
||||
Pack Trace Hub debug instances in the system.
|
||||
|
||||
@param[in, out] ThPtr A pointer to TRACEHUB_DEBUG_INFO_HOB structure.
|
||||
@param[in] Count Number of Trace Hub HOBs.
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
PackThDebugInstance (
|
||||
IN OUT TRACEHUB_DEBUG_INFO_HOB *ThPtr,
|
||||
IN UINT32 Count
|
||||
);
|
||||
|
||||
#endif // INTERNAL_TRACE_HUB_API_H_
|
Reference in New Issue
Block a user