VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Library/MipiSysTLib.h@ 107935

Last change on this file since 107935 was 101291, checked in by vboxsync, 16 months ago

EFI/FirmwareNew: Make edk2-stable202308 build on all supported platforms (using gcc at least, msvc not tested yet), bugref:4643

  • Property svn:eol-style set to native
File size: 1.9 KB
Line 
1/** @file
2This header file declares functions consuming MIPI Sys-T submodule.
3
4Copyright (c) 2023, Intel Corporation. All rights reserved.<BR>
5
6SPDX-License-Identifier: BSD-2-Clause-Patent
7
8**/
9
10#ifndef MIPI_SYST_LIB_H_
11#define MIPI_SYST_LIB_H_
12
13/**
14 Invoke initialization function in Mipi Sys-T module to initialize Mipi Sys-T handle.
15
16 @param[in, out] MipiSystHandle A pointer to MIPI_SYST_HANDLE structure.
17
18 @retval RETURN_SUCCESS MIPI_SYST_HANDLE instance was initialized.
19 @retval Other MIPI_SYST_HANDLE instance was not initialized.
20**/
21RETURN_STATUS
22EFIAPI
23InitMipiSystHandle (
24 IN OUT VOID *MipiSystHandle
25 );
26
27/**
28 Invoke write_debug_string function in Mipi Sys-T module.
29
30 @param[in] MipiSystHandle A pointer to MIPI_SYST_HANDLE structure.
31 @param[in] Severity Severity type of input message.
32 @param[in] Len Length of data buffer.
33 @param[in] Str A pointer to data buffer.
34
35 @retval RETURN_SUCCESS Data in buffer was processed.
36 @retval RETURN_ABORTED No data need to be written to Trace Hub.
37 @retval RETURN_INVALID_PARAMETER On entry, MipiSystHandle or Str is a NULL pointer.
38**/
39RETURN_STATUS
40EFIAPI
41MipiSystWriteDebug (
42 IN VOID *MipiSystHandle,
43 IN UINT32 Severity,
44 IN UINT16 Len,
45 IN CONST CHAR8 *Str
46 );
47
48/**
49 Invoke catalog_write_message function in Mipi Sys-T module.
50
51 @param[in] MipiSystHandle A pointer to MIPI_SYST_HANDLE structure.
52 @param[in] Severity Severity type of input message.
53 @param[in] CatId Catalog Id.
54
55 @retval RETURN_SUCCESS Data in buffer was processed.
56 @retval RETURN_INVALID_PARAMETER On entry, MipiSystHandle is a NULL pointer.
57**/
58RETURN_STATUS
59EFIAPI
60MipiSystWriteCatalog (
61 IN VOID *MipiSystHandle,
62 IN UINT32 Severity,
63 IN UINT64 CatId
64 );
65
66#endif // MIPI_SYST_LIB_H_
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette