Sound Open Firmware
Loading...
Searching...
No Matches
debug_stream_text_msg.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
*
3
* Copyright(c) 2024 Intel Corporation.
4
*/
5
6
#ifndef __SOC_DEBUG_STREAM_TEXT_MSG_H__
7
#define __SOC_DEBUG_STREAM_TEXT_MSG_H__
8
9
#include <
user/debug_stream_slot.h
>
10
#include <stdarg.h>
11
12
/*
13
* Debug Stream text message.
14
*/
15
struct
debug_stream_text_msg
{
16
struct
debug_stream_record
hdr
;
17
char
msg
[];
18
}
__packed
;
19
20
/*
21
* To send debug messages over debug stream. Enable
22
* CONFIG_SOF_DEBUG_STREAM_TEXT_MSG to enable this function.
23
*/
24
void
ds_msg
(
const
char
*format, ...);
25
void
ds_vamsg
(
const
char
*format, va_list ap);
26
27
#endif
/* __SOC_DEBUG_STREAM_TEXT_MSG_H__ */
debug_stream_slot.h
ds_msg
void ds_msg(const char *format,...)
ds_vamsg
void ds_vamsg(const char *format, va_list ap)
__packed
#define __packed
Definition
ext_manifest.h:43
debug_stream_record
Definition
debug_stream.h:41
debug_stream_text_msg
Definition
debug_stream_text_msg.h:15
debug_stream_text_msg::hdr
struct debug_stream_record hdr
Definition
debug_stream_text_msg.h:16
debug_stream_text_msg::msg
char msg[]
Definition
debug_stream_text_msg.h:17
src
include
user
debug_stream_text_msg.h
Generated by
1.15.0