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:
24
MdeModulePkg/Include/Guid/TraceHubDebugInfoHob.h
Normal file
24
MdeModulePkg/Include/Guid/TraceHubDebugInfoHob.h
Normal file
@@ -0,0 +1,24 @@
|
||||
/** @file
|
||||
This header file declares Trace Hub related structure.
|
||||
|
||||
Copyright (c) 2023, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
**/
|
||||
|
||||
#ifndef TRACE_HUB_DEBUG_INFO_HOB_H_
|
||||
#define TRACE_HUB_DEBUG_INFO_HOB_H_
|
||||
|
||||
#define TRACEHUB_DEBUG_INFO_HOB_REVISION 1
|
||||
|
||||
typedef struct {
|
||||
UINT16 Revision; // Structure revision
|
||||
BOOLEAN Flag; // Flag to enable or disable Trace Hub debug message.
|
||||
UINT8 DebugLevel; // Debug level for Trace Hub.
|
||||
UINT8 Rvsd[4]; // Reserved for future use
|
||||
UINT64 TraceHubMmioAddress; // MMIO address where Trace Hub debug message output to.
|
||||
} TRACEHUB_DEBUG_INFO_HOB;
|
||||
|
||||
extern GUID gTraceHubDebugInfoHobGuid;
|
||||
|
||||
#endif // TRACE_HUB_DEBUG_INFO_HOB_H_
|
Reference in New Issue
Block a user