1 | /** @file
|
---|
2 | Null library of TraceHubDebugSysTLib.
|
---|
3 |
|
---|
4 | Copyright (c) 2023, Intel Corporation. All rights reserved.<BR>
|
---|
5 |
|
---|
6 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
7 |
|
---|
8 | **/
|
---|
9 |
|
---|
10 | #include <Base.h>
|
---|
11 | #include <Library/TraceHubDebugSysTLib.h>
|
---|
12 |
|
---|
13 | /**
|
---|
14 | Write debug string to specified Trace Hub MMIO address.
|
---|
15 |
|
---|
16 | @param[in] SeverityType Severity type of input message.
|
---|
17 | @param[in] Buffer A pointer to the data buffer.
|
---|
18 | @param[in] NumberOfBytes The size of data buffer.
|
---|
19 |
|
---|
20 | @retval RETURN_SUCCESS Data was written to Trace Hub.
|
---|
21 | @retval Other Failed to output Trace Hub message.
|
---|
22 | **/
|
---|
23 | RETURN_STATUS
|
---|
24 | EFIAPI
|
---|
25 | TraceHubSysTDebugWrite (
|
---|
26 | IN TRACE_HUB_SEVERITY_TYPE SeverityType,
|
---|
27 | IN UINT8 *Buffer,
|
---|
28 | IN UINTN NumberOfBytes
|
---|
29 | )
|
---|
30 | {
|
---|
31 | return RETURN_UNSUPPORTED;
|
---|
32 | }
|
---|
33 |
|
---|
34 | /**
|
---|
35 | Write catalog status code message to specified Trace Hub MMIO address.
|
---|
36 |
|
---|
37 | @param[in] SeverityType Severity type of input message.
|
---|
38 | @param[in] Id Catalog ID.
|
---|
39 | @param[in] Guid Driver Guid.
|
---|
40 |
|
---|
41 | @retval RETURN_SUCCESS Data was written to Trace Hub.
|
---|
42 | @retval Other Failed to output Trace Hub message.
|
---|
43 | **/
|
---|
44 | RETURN_STATUS
|
---|
45 | EFIAPI
|
---|
46 | TraceHubSysTWriteCataLog64StatusCode (
|
---|
47 | IN TRACE_HUB_SEVERITY_TYPE SeverityType,
|
---|
48 | IN UINT64 Id,
|
---|
49 | IN GUID *Guid
|
---|
50 | )
|
---|
51 | {
|
---|
52 | return RETURN_UNSUPPORTED;
|
---|
53 | }
|
---|
54 |
|
---|
55 | /**
|
---|
56 | Write catalog message to specified Trace Hub MMIO address.
|
---|
57 |
|
---|
58 | @param[in] SeverityType Severity type of input message.
|
---|
59 | @param[in] Id Catalog ID.
|
---|
60 | @param[in] NumberOfParams Number of entries in argument list.
|
---|
61 | @param[in] ... Catalog message parameters.
|
---|
62 |
|
---|
63 | @retval RETURN_SUCCESS Data was written to Trace Hub.
|
---|
64 | @retval Other Failed to output Trace Hub message.
|
---|
65 | **/
|
---|
66 | RETURN_STATUS
|
---|
67 | EFIAPI
|
---|
68 | TraceHubSysTWriteCataLog64 (
|
---|
69 | IN TRACE_HUB_SEVERITY_TYPE SeverityType,
|
---|
70 | IN UINT64 Id,
|
---|
71 | IN UINTN NumberOfParams,
|
---|
72 | ...
|
---|
73 | )
|
---|
74 | {
|
---|
75 | return RETURN_UNSUPPORTED;
|
---|
76 | }
|
---|