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
12#ifndef __SOC_DEBUG_STREAM_TEXT_MSG_H__
13#define __SOC_DEBUG_STREAM_TEXT_MSG_H__
14
16#include <stdarg.h>
17
30 char msg[];
31} __packed;
32
39void ds_msg(const char *format, ...);
40
47void ds_vamsg(const char *format, va_list ap);
48
49#endif /* __SOC_DEBUG_STREAM_TEXT_MSG_H__ */
SRAM Memory Window 2 Debug Slot mapping and per-core circular buffers.
void ds_msg(const char *format,...)
Format and transmit a text message record over the active debug stream slot.
void ds_vamsg(const char *format, va_list ap)
Transmit a text message record over debug stream using va_list arguments.
Abstract debug record envelope carrying application-specific payloads.
Definition debug_stream.h:31
Formatted text message record within a debug stream.
Definition debug_stream_text_msg.h:28
struct debug_stream_record hdr
Stream record header specifying size_words.
Definition debug_stream_text_msg.h:29
char msg[]
Length-delimited text message, padded to 32-bit boundary.
Definition debug_stream_text_msg.h:30