TianoCore EDK2 master
Loading...
Searching...
No Matches
InternalTraceHubApi.c File Reference
#include <Base.h>
#include <Guid/TraceHubDebugInfoHob.h>
#include <Library/BaseMemoryLib.h>
#include <Library/HobLib.h>
#include "InternalTraceHubApi.h"

Go to the source code of this file.

Functions

UINT32 EFIAPI CountThDebugInstance (VOID)
 
VOID EFIAPI PackThDebugInstance (IN OUT TRACEHUB_DEBUG_INFO_HOB *ThPtr, IN UINT32 Count)
 

Detailed Description

Functions implementation in this file are not common for all type of TraceHubDebugSysTLib.

Copyright (c) 2023, Intel Corporation. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file InternalTraceHubApi.c.

Function Documentation

◆ CountThDebugInstance()

UINT32 EFIAPI CountThDebugInstance ( VOID  )

Count the total number of Trace Hub debug instance in the system.

Return values
UINT32The total number of Trace Hub debug instance in the system.

Definition at line 23 of file InternalTraceHubApi.c.

◆ PackThDebugInstance()

VOID EFIAPI PackThDebugInstance ( IN OUT TRACEHUB_DEBUG_INFO_HOB ThPtr,
IN UINT32  Count 
)

Pack Trace Hub debug instances in the system.

Parameters
[in,out]ThPtrA pointer to TRACEHUB_DEBUG_INFO_HOB structure.
[in]CountNumber of Trace Hub HOBs.

Definition at line 53 of file InternalTraceHubApi.c.